2012/10/1 Gerard Henry <span dir="ltr"><<a href="mailto:ghenry@cmi.univ-mrs.fr" target="_blank">ghenry@cmi.univ-mrs.fr</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hello all,<br>
<br>
i have problems with python, failing to install virtualenv (<a href="http://pypi.python.org/pypi/virtualenv" target="_blank">http://pypi.python.org/pypi/<u></u>virtualenv</a>).<br>
I've tried with easy_install and other methods, and it always fails, claiming about md5 module (not _md5)<br></blockquote><div><br></div><div>Not sure why it complains about the md5 module, since has been deprecated. But normally you only get a deprecation notice and the module loads.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
t2000-root% /opt/csw/bin/python virtualenv.py my_new_env<br>
New python executable in my_new_env/bin/python<br>
Installing setuptools......<br>
Complete output from command /donnees/virtualenv/my_new_<u></u>env/bin/python -c "#!python<br>
\"\"\"Bootstra...sys.argv[1:])<br>
<br>
" --always-copy -U setuptools:<br>
Traceback (most recent call last):<br>
File "<string>", line 67, in <module><br>
ImportError: No module named md5<br>
------------------------------<u></u>----------<br>
...Installing setuptools...done.<br>
Traceback (most recent call last):<br>
File "virtualenv.py", line 2471, in <module><br>
main()<br>
File "virtualenv.py", line 942, in main<br>
never_download=options.never_<u></u>download)<br>
File "virtualenv.py", line 1052, in create_environment<br>
search_dirs=search_dirs, never_download=never_download)<br>
File "virtualenv.py", line 599, in install_setuptools<br>
search_dirs=search_dirs, never_download=never_download)<br>
File "virtualenv.py", line 571, in _install_req<br>
cwd=cwd)<br>
File "virtualenv.py", line 1020, in call_subprocess<br>
% (cmd_desc, proc.returncode))<br>
OSError: Command /donnees/virtualenv/my_new_<u></u>env/bin/python -c "#!python<br>
\"\"\"Bootstra...sys.argv[1:])<br>
<br>
" --always-copy -U setuptools failed with error code 1<br>
<br>
<br>
any idea?<br></blockquote><div></div></div><br><div>I've seen the same error. Did you dig down to the root cause? For example, did you try replacing the md5 (obsolete module) import with an import of the hashlib module?</div>