pip/easy_install failure: failed to create process

后端 未结 13 1879
感动是毒
感动是毒 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: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).

提交回复
热议问题