Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pip.exe from Python on Windows 10

I installed the latest version of Python from www.python.org. Python 3.4.3. I then go to run pip and I get

"Fatal error in launcher: Job information querying failed"

Searching for this error message points me to similar issues running Python under wine. If you grab a pre-compiled pip.exe it will work but it seems that when you install, the pip.exe is generated as part of the installer and this pip.exe does not work.

Further I am dealing with a build script that creates a virtual python environment that uses pip.exe and results in the same error. Not sure how to fix this. Also not sure how pip.exe is generated.

like image 870
user3241992 Avatar asked May 19 '15 20:05

user3241992


2 Answers

You can use python -m pip install package

like image 93
Jin Avatar answered Sep 20 '22 02:09

Jin


Worked for me in windows 10, make sure that you have added python in path of system environment variable. If you are able to run python from powershell then it means python is added to your path. After that you may try using following to upgrade pip

python -m pip install -U pip
like image 25
user3010443 Avatar answered Sep 21 '22 02:09

user3010443