Searching the net this seems to be a problem caused by spaces in the Python installation path.
How do I get pip
to work without having to reinstall everything in a path without spaces ?
Searching the net this seems to be a problem caused by spaces in the Python installation path.
How do I get pip
to work without having to reinstall everything in a path without spaces ?
it seems that
will work anyway (worked for me) (see link by user474491)
I had this issue and the other fixes on this page didn't fully solve the problem.
What did solve the problem was going in to my system environment variables and looking at the PATH - I had uninstalled Python 3 but the old path to the Python 3 folder was still there. I'm running only Python 2 on my PC and used Python 2 to install pip.
Deleting the references to the nonexistent Python 3 folders from PATH in addition to upgrading to the latest version of
pip
fixed the issue.This is a known Bug when there is a space in the
virtualenv
path. Correction has been made, and will be available in the next version.i solve my problem in Window if u install both python2 and python3
u need enter someone \Scripts change all file.exe to file27.exe,then it solve
my D:\Python27\Scripts edit django-admin.exe to django-admin27.exe so it done
Here's how I solved it:
open
pip.exe
in 7zip and extract__main__.py
to Python\Scripts folder.In my case it was
C:\Program Files (x86)\Python27\Scripts
Rename
__main__.py
topip.py
Run it!
python pip.py install something
EDIT:
If you want to be able to do
pip install something
from anywhere, do this too:rename pip.py to pip2.py (to avoid import pip errors)
make
C:\Program Files (x86)\Python27\pip.bat
with the following contents:add
C:\Program Files (x86)\Python27
to your PATH (if is not already)Run it!
pip install something
really works for the problem
Fatal error in launcher: Unable to create process using '"'
.Worked on Windows 10