ImportError: pwd module not supported on Windows

Hi all,

Any idea how to fix this error?
Full error message
Error occurred when installing packages.

The following command was executed:

packaging_tool.py install –build-dir C:\Users\.....\AppData\Local\Temp\pycharm-packaging3802172611875668741.tmp net

The error output of the command:

Error: Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 3.0.2\helpers\packaging_tool.py", line 54, in do_install
    import pip
  File "C:\jython2.5.3\Lib\site-packages\pip-1.4.1-py2.5.egg\pip\__init__.py", line 10, in <module>
    from pip.util import get_installed_distributions, get_prog
  File "C:\jython2.5.3\Lib\site-packages\pip-1.4.1-py2.5.egg\pip\util.py", line 15, in <module>
    from pip.locations import site_packages, running_under_virtualenv, virtualenv_no_global
  File "C:\jython2.5.3\Lib\site-packages\pip-1.4.1-py2.5.egg\pip\locations.py", line 92, in <module>
    build_prefix = _get_build_prefix()
  File "C:\jython2.5.3\Lib\site-packages\pip-1.4.1-py2.5.egg\pip\locations.py", line 60, in _get_build_prefix
    path = os.path.join(tempfile.gettempdir(), 'pip_build_%s' %
  File "C:\jython2.5.3\Lib\site-packages\pip-1.4.1-py2.5.egg\pip\locations.py", line 55, in __get_username
    import pwd
  File "C:\jython2.5.3\Lib\pwd.py", line 17, in <module>
    raise ImportError, 'pwd module not supported on Windows'
ImportError: pwd module not supported on Windows


I'm using Jython 2.5.3 for Windows (default installation) and PyCharm 3.0.2 community edition...

Kind regards,

Christian

Please sign in to leave a comment.