[New-bugs-announce] [issue20622] Python3.3 venv pip fails to run if path contains spaces
report at bugs.python.org
Fri Feb 14 02:53:15 CET 2014
New submission from FeralBytes:
Well trying to test out venv on Python 3.3.2 on Linux Mint 16 x64 I was not able to get pip to execute correctly after it had been installed. The error from bash is:
(venv) wolfrage at wolfrage-KGP-M-E-D16 /media/ShareDrives/HomePlus/Jordan/Projects/The Strategist $ pip install pysdl2
bash: /home/wolfrage/Projects/The Strategist/venv/bin/pip: /home/wolfrage/Projects/The: bad interpreter: No such file or directory
Same exact setup procedures in a path with out any spaces works as expected:
(venv) wolfrage at wolfrage-KGP-M-E-D16 /media/ShareDrives/HomePlus/Jordan/Projects $ pip install pysdl2 --allow-external pysdl2 --allow-unverified pysdl2
pysdl2 is potentially insecure and unverifiable.
Downloading PySDL2-0.8.0.zip (1.1MB): 1.1MB downloaded
Running setup.py (path:/media/ShareDrives/HomePlus/Jordan/Projects/venv/build/pysdl2/setup.py) egg_info for package pysdl2
Installing collected packages: pysdl2
Running setup.py install for pysdl2
Successfully installed pysdl2
(venv) wolfrage at wolfrage-KGP-M-E-D16 /media/ShareDrives/HomePlus/Jordan/Projects $ python3
Python 3.3.2+ (default, Oct 9 2013, 14:50:09)
[GCC 4.8.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sdl2
I hope that this can be fixed prior to 3.4 being released.
This not only affected pip but easy_install too.
components: Library (Lib)
title: Python3.3 venv pip fails to run if path contains spaces
versions: Python 3.3
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce