This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients FeralBytes, eric.araujo
Date 2014-02-14.18:31:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392402684.56.0.752018384447.issue20622@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2014-02-14 18:31:24eric.araujosetrecipients: + eric.araujo, FeralBytes
2014-02-14 18:31:24eric.araujosetmessageid: <1392402684.56.0.752018384447.issue20622@psf.upfronthosting.co.za>
2014-02-14 18:31:24eric.araujolinkissue20622 messages
2014-02-14 18:31:24eric.araujocreate