Message10266

Author pekka.klarck
Recipients pekka.klarck
Date 2015-09-20.09:11:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442740279.23.0.984840064951.issue2400@psf.upfronthosting.co.za>
In-reply-to
Content
I'm installing Jython 2.7 to a fresh Linux machine with Oracle Java 8. Installation went fine otherwise, but installing pip failed. I got the following traceback on the console where I started the installer:

Traceback (most recent call last):
  File "/home/peke/Prog/jython2.7.0/Lib/runpy.py", line 161, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/peke/Prog/jython2.7.0/Lib/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/peke/Prog/jython2.7.0/Lib/ensurepip/__main__.py", line 4, in <module>
    ensurepip._main()
  File "/home/peke/Prog/jython2.7.0/Lib/ensurepip/__init__.py", line 220, in _main
    bootstrap(
  File "/home/peke/Prog/jython2.7.0/Lib/ensurepip/__init__.py", line 123, in bootstrap
    _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/home/peke/Prog/jython2.7.0/Lib/ensurepip/__init__.py", line 45, in _run_pip
    import pip
  File "/tmp/tmpqRQNxw/pip-1.6-py2.py3-none-any.whl/pip/__init__.py", line 10, in <module>
  File "/tmp/tmpqRQNxw/pip-1.6-py2.py3-none-any.whl/pip/util.py", line 17, in <module>
  File "/tmp/tmpqRQNxw/pip-1.6-py2.py3-none-any.whl/pip/locations.py", line 109, in <module>
  File "/tmp/tmpqRQNxw/pip-1.6-py2.py3-none-any.whl/pip/locations.py", line 71, in _get_build_prefix
  File "/tmp/tmpqRQNxw/pip-1.6-py2.py3-none-any.whl/pip/locations.py", line 66, in __get_username
  File "/home/peke/Prog/jython2.7.0/Lib/pwd.py", line 60, in getpwuid
    return struct_passwd(entry)
  File "/home/peke/Prog/jython2.7.0/Lib/pwd.py", line 36, in __new__
    pwd = (newStringOrUnicode(pwd.loginName), newStringOrUnicode(pwd.password), int(pwd.UID),
NotImplementedError: passwd.pw_passwd unimplemented
History
Date User Action Args
2015-09-20 09:11:19pekka.klarcksetrecipients: + pekka.klarck
2015-09-20 09:11:19pekka.klarcksetmessageid: <1442740279.23.0.984840064951.issue2400@psf.upfronthosting.co.za>
2015-09-20 09:11:19pekka.klarcklinkissue2400 messages
2015-09-20 09:11:17pekka.klarckcreate