pip/easy_install failure: failed to create process

后端 未结 13 1856
感动是毒
感动是毒 2020-11-30 09:47

After following this article: How do I install pip on Windows? on my Windows system using Enthought Canopy 64 Bit system, I cannot get pip or easy_install to work due to err

相关标签:
13条回答
  • 2020-11-30 10:09

    When I came across this problem, I found that my path contained multiple entries for Python. After tidying up my path so that it had an entry for the python installation folder and the scripts folder (in my case C:\Python27 and C:\Python27\Scripts), pip worked properly.

    0 讨论(0)
  • 2020-11-30 10:09

    Check whether the pip-script points out the exact location of python.exe, because pip always points (C:\python3.3\python.exe). In my system i've installed 2 versions of python i.e python2 & python3. I ve modified the home application of python.exe into python2.exe and python3.exe.

    When i installed pip windows installer. it results me out with the error " failed to create process"

    0 讨论(0)
  • 2020-11-30 10:15

    It will help after changing the PATH to python in environment variables:

    python -m pip install --upgrade pip --force-reinstall

    0 讨论(0)
  • 2020-11-30 10:17

    When I encountered this, it was because I'd manually renamed the directory python was in. This meant that both setuptools and pip had to be reinstalled. Or, I had to manually rename the python directory to what it had been previously.

    0 讨论(0)
  • 2020-11-30 10:21

    I had installed Anaconda and so I still had C:\Python27 along with C:\Anaconda in my path. When I removed C:\Python27 and all subfolders I was able to use pip again.

    0 讨论(0)
  • 2020-11-30 10:22

    If you intentionally want to rename the folder where python.exe resides, you should also modify all python files in the Scripts folder. So a third solution would be to modify the python files as well: the first line in pip-2.7-script.py originally contain:

    #!C:\OriginalPythonDir\python.exe
    

    Modifying this path to the new Python folder fixes the problem.

    (P.S. Unfortunately I cannot yet reply to answers, so I'll reply as a new answer because I thought it could be useful for other people as well).

    0 讨论(0)
提交回复
热议问题