Skip to content

🏁 Windows: pwd not available #15

@Evan1578

Description

@Evan1578

Hi all,

I am currently trying to try to run the default C-PAC pipeline through a Docker container using C-PAC Python package. However, after installing C-PAC and Docker, I am running into the error - "ModuleNotFoundError: No module named 'pwd' " with stack trace:

(venv) C:\Users\Evan\PycharmProjects\DataScienceProject\venv\TDAfMRI>cpac run --help
Traceback (most recent call last):
File "C:\Users\Evan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\Evan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\Evan\PycharmProjects\DataScienceProject\venv\Scripts\cpac.exe_main
.py", line 7, in
File "c:\users\evan\pycharmprojects\datascienceproject\venv\lib\site-packages\cpac_main
.py", line 397, in run
main(parsed)
File "c:\users\evan\pycharmprojects\datascienceproject\venv\lib\site-packages\cpac_main
.py", line 307, in main
Backends(**arg_vars).run(
File "c:\users\evan\pycharmprojects\datascienceproject\venv\lib\site-packages\cpac\backends_init_.py", line 20, in Backends
from .docker import Docker
File "c:\users\evan\pycharmprojects\datascienceproject\venv\lib\site-packages\cpac\backends\docker.py", line 6, in
from cpac.backends.platform import Backend, Platform_Meta
File "c:\users\evan\pycharmprojects\datascienceproject\venv\lib\site-packages\cpac\backends\platform.py", line 3, in
import pwd
ModuleNotFoundError: No module named 'pwd'

Does anyone understand this error and how it can be avoided?

Version Details

  • Windows 10 x64 system
  • Python 3.8.8
  • Docker version 20.10.5, build 55c4c88

Metadata

Metadata

Assignees

No one assigned

    Labels

    Hacktoberfesthttps://hacktoberfest.digitalocean.com/WindowsMicrosoft WindowsbugSomething isn't workingdocumentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomerssupport

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions