dev-python/virtualenv-1.4 doesn't work with Python 2.7. $ virtualenv /tmp/virtualenv_test 'import site' failed; use -v for traceback New python executable in /tmp/virtualenv_test/bin/python2.7 Also creating executable in /tmp/virtualenv_test/bin/python Installing setuptools........... Complete output from command /tmp/virtualenv_test/bin/python2.7 -c "#!python \"\"\"Bootstrap setuptoo... " --always-copy -U setuptools: 'import site' failed; use -v for traceback Traceback (most recent call last): File "<string>", line 65, in <module> File "/tmp/virtualenv_test/lib64/python2.7/os.py", line 49, in <module> import posixpath as path File "/tmp/virtualenv_test/lib64/python2.7/posixpath.py", line 16, in <module> import warnings ImportError: No module named warnings ---------------------------------------- ...Installing setuptools...done. Traceback (most recent call last): File "/usr/bin/virtualenv", line 9, in <module> load_entry_point('virtualenv==1.4', 'console_scripts', 'virtualenv')() File "/usr/lib64/python2.7/site-packages/virtualenv.py", line 491, in main use_distribute=options.use_distribute) File "/usr/lib64/python2.7/site-packages/virtualenv.py", line 581, in create_environment install_setuptools(py_executable, unzip=unzip_setuptools) File "/usr/lib64/python2.7/site-packages/virtualenv.py", line 352, in install_setuptools _install_req(py_executable, unzip) File "/usr/lib64/python2.7/site-packages/virtualenv.py", line 342, in _install_req cwd=cwd) File "/usr/lib64/python2.7/site-packages/virtualenv.py", line 552, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /tmp/virtualenv_test/bin/python2.7 -c "#!python \"\"\"Bootstrap setuptoo... " --always-copy -U setuptools failed with error code 1
Last time I checked, python 2.7 was yet to be released.
I have temporarily restricted Python 2.7.
1.4.6 and up support Python 2.7 http://bitbucket.org/ianb/virtualenv/changeset/1ce13f07261d
I unrestricted Python ABI 2.7 in dev-python/virtualenv-1.4.9.