Closed
Description
I created a minimal bootstrap with virtualenv v1.11.6
A run results in this:
$ python2 test-bootstrap.py ~/test_py2
extend_parser called.
adjust_options args: ['/home/jens/test_py2']
New python executable in /home/jens/test_py2/bin/python2
Not overwriting existing python script /home/jens/test_py2/bin/python (you must use /home/jens/test_py2/bin/python2)
Cannot find a wheel for setuptools
Cannot find a wheel for pip
Installing setuptools, pip...
Complete output from command /home/jens/test_py2/bin/python2 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named pip
----------------------------------------
...Installing setuptools, pip...done.
Traceback (most recent call last):
File "test-bootstrap.py", line 2355, in <module>
main()
File "test-bootstrap.py", line 826, in main
symlink=options.symlink)
File "test-bootstrap.py", line 994, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File "test-bootstrap.py", line 962, in install_wheel
'PIP_NO_INDEX': '1'
File "test-bootstrap.py", line 904, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/jens/test_py2/bin/python2 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1
All files are here: https://gist.github.com/jedie/4bc671239b8959376d4b
more info:
$ python2 --version
Python 2.7.6
$ python2 -c "import pip;print pip.__version__"
1.5.4
$ /home/jens/test_py2/bin/python --version
Python 2.7.6
$ /home/jens/test_py2/bin/python -c "import pip;print pip.__version__"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named pip
Maybe it's related to pypa/pip#1918 ?
Metadata
Metadata
Assignees
Labels
No labels