[issue20622] Python3.3 venv pip fails to run if path contains spaces
Éric Araujo
report at bugs.python.org
Fri Feb 14 19:31:24 CET 2014
Éric Araujo added the comment:
Due to the way the shell or kernel parses the shebang, you can’t have spaces in the path to the interpreter:
http://lists.gnu.org/archive/html/bug-bash/2008-05/msg00053.html
The solution is to separate your virtualenv from the directory containing your code. (virtualenvwrapper works in that way for example.) virtualenv’s job is to have a copied Python with an isolated site-packages; it does not matter whether the Python is in your project directory (./bin/python) or anywhere else (~/venvs/strategist/bin/python).
----------
nosy: +eric.araujo
resolution: -> invalid
stage: -> committed/rejected
status: open -> pending
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20622>
_______________________________________
More information about the Python-bugs-list
mailing list