Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'pwd' #428

Closed
Pandapip1 opened this issue Aug 29, 2023 · 1 comment
Closed

ModuleNotFoundError: No module named 'pwd' #428

Pandapip1 opened this issue Aug 29, 2023 · 1 comment

Comments

@Pandapip1
Copy link

Related to #427

Since I'm using conda, I installed trezor-agent using the following:

conda create -n trezoragent
conda install python=3.9
pip3 install trezor-agent

The pip3 install gave the following error, but trezor-agent was installed:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
trio 0.22.0 requires attrs>=19.2.0, which is not installed.
trio 0.22.0 requires sniffio, which is not installed.
trio 0.22.0 requires sortedcontainers, which is not installed.
selenium 4.7.2 requires urllib3[socks]~=1.26, but you have urllib3 2.0.4 which is incompatible.

However, when I run trezor-agent, I get the following error:

Traceback (most recent call last):
  File "C:\ProgramData\miniconda3\envs\trezoragent\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\ProgramData\miniconda3\envs\trezoragent\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\ProgramData\miniconda3\envs\trezoragent\Scripts\trezor-agent.exe\__main__.py", line 4, in <module>
  File "C:\ProgramData\miniconda3\envs\trezoragent\lib\site-packages\trezor_agent.py", line 1, in <module>
    from libagent import age, signify, gpg, ssh
  File "C:\ProgramData\miniconda3\envs\trezoragent\lib\site-packages\libagent\gpg\__init__.py", line 21, in <module>
    import daemon
  File "C:\ProgramData\miniconda3\envs\trezoragent\lib\site-packages\daemon\__init__.py", line 33, in <module>
    from .daemon import DaemonContext
  File "C:\ProgramData\miniconda3\envs\trezoragent\lib\site-packages\daemon\daemon.py", line 13, in <module>
    import pwd
ModuleNotFoundError: No module named 'pwd'
@Pandapip1
Copy link
Author

Never mind. Duplicate of #377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant