[bug-notifications] [python27 0005005]: unable to install virtualenv: ImportError: No module named md5

Mantis Bug Tracker noreply at opencsw.org
Thu Sep 5 15:11:55 CEST 2013


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5005 
====================================================================== 
Reported By:                ghenry
Assigned To:                
====================================================================== 
Project:                    python27
Issue ID:                   5005
Category:                   regular use
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     closed
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-09-30 15:27 CEST
Last Modified:              2013-09-05 15:11 CEST
====================================================================== 
Summary:                    unable to install virtualenv: ImportError: No module
named md5
Description: 
on solaris 10 (sparc), i'm trying to install virtualenv according to:
http://www.pip-installer.org/en/latest/installing.html

it fails with the following messages:

t2000-root% /opt/csw/bin/python virtualenv.py my_new_env
New python executable in my_new_env/bin/python
Installing setuptools......
  Complete output from command /donnees/virtualenv/my_new_env/bin/python -c
"#!python
\"\"\"Bootstra...sys.argv[1:])






" --always-copy -U setuptools:
  Traceback (most recent call last):
  File "<string>", line 67, in <module>
ImportError: No module named md5
----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
  File "virtualenv.py", line 2471, in <module>
    main()
  File "virtualenv.py", line 942, in main
    never_download=options.never_download)
  File "virtualenv.py", line 1052, in create_environment
    search_dirs=search_dirs, never_download=never_download)
  File "virtualenv.py", line 599, in install_setuptools
    search_dirs=search_dirs, never_download=never_download)
  File "virtualenv.py", line 571, in _install_req
    cwd=cwd)
  File "virtualenv.py", line 1020, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /donnees/virtualenv/my_new_env/bin/python -c "#!python
\"\"\"Bootstra...sys.argv[1:])






" --always-copy -U setuptools failed with error code 1
 
====================================================================== 

---------------------------------------------------------------------- 
 (0010570) ghenry (developer) - 2013-09-05 15:11
 https://www.opencsw.org/mantis/view.php?id=5005#c10570 
---------------------------------------------------------------------- 
i am unable to install pip:
django at t2000:~$ /opt/csw/bin/python get-pip.py 
Traceback (most recent call last):
  File "get-pip.py", line 7269, in <module>
    do_exec(entry, locals())
  File "<string>", line 1, in do_exec
  File "<string>", line 9, in <module>
  File "/tmp/unpacker-rDnXZn-scratchdir/pip/__init__.py", line 11, in
<module>
  File "/tmp/unpacker-rDnXZn-scratchdir/pip/vcs/subversion.py", line 4, in
<module>
  File "/tmp/unpacker-rDnXZn-scratchdir/pip/index.py", line 32, in
<module>
  File "/tmp/unpacker-rDnXZn-scratchdir/pip/wheel.py", line 18, in
<module>
  File "/tmp/unpacker-rDnXZn-scratchdir/pip/pep425tags.py", line 98, in
<module>
  File "/tmp/unpacker-rDnXZn-scratchdir/pip/pep425tags.py", line 61, in
get_supported
  File "/opt/csw/lib/python2.6/distutils/sysconfig.py", line 610, in
get_config_var
    return get_config_vars().get(name)
  File "/opt/csw/lib/python2.6/distutils/sysconfig.py", line 526, in
get_config_vars
    func()
  File "/opt/csw/lib/python2.6/distutils/sysconfig.py", line 383, in
_init_posix
    raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: invalid Python installation:
unable to open /opt/csw/lib/python2.6/config/Makefile (No such file or
directory)



More information about the bug-notifications mailing list