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 alexreg
Recipients alexreg
Date 2016-10-15.00:53:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476492788.48.0.267846160291.issue28446@psf.upfronthosting.co.za>
In-reply-to
Content
Quotes around hashbangs are not recognised and are considered invalid syntax, at least on Bash on OS X 10.12. There's really no workaround (that I'm aware of) for paths containing spaces, except maybe symlinking the directory in the path the contains the space. Maybe a warning message about this would be best.

To reproduce this issue, simply run the following from an empty directory that has a space in its path:

```
pyenv venv/
source ./venv/bin/activate
pip
```

The result should be something like:
```
-bash: /Users/me/dir with space/foo/venv/bin/pip: "/Users/me/dir: bad interpreter: No such file or directory
```
History
Date User Action Args
2016-10-15 00:53:08alexregsetrecipients: + alexreg
2016-10-15 00:53:08alexregsetmessageid: <1476492788.48.0.267846160291.issue28446@psf.upfronthosting.co.za>
2016-10-15 00:53:08alexreglinkissue28446 messages
2016-10-15 00:53:05alexregcreate