pip/easy_install失败:创建过程失败 [英] pip/easy_install failure: failed to create process
问题描述
遵循本文后:如何在Windows上安装pip?在使用Enthought Canopy 64位系统的Windows系统上,由于出现错误,我无法运行pip或easy_install:
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 error:
pip install requests
failed to create process
我尝试重新安装setuptools,以admin身份运行cmd提示符,没有任何效果.
I tried re-installing setuptools, running cmd prompt as admin without any effect.
推荐答案
遇到此问题时,是因为我手动重命名了python所在的目录.这意味着必须重新安装setuptools和pip.或者,我必须手动将python目录重命名为以前的目录.
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.
这篇关于pip/easy_install失败:创建过程失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!