pip/easy_install 失败:无法创建进程 [英] pip/easy_install failure: failed to create process

查看:51
本文介绍了pip/easy_install 失败:无法创建进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关注这篇文章后:如何在 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,以管理员身份运行 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆