Pip 安装匀称的“python setup.py egg_info";失败,错误代码 1 错误 [英] Pip install of shapely giving "python setup.py egg_info" failed with error code 1 error
问题描述
我正在尝试在 Windows 10 (python 3) 中安装匀称的 1.5.6.我收到了这个奇怪的错误.
I am trying to install shapely 1.5.6 in Windows 10 (python 3). I am getting this strange error.
python setup.py egg_info" failed with error code 1 in c:\users\user1\appdata\local\temp\pip-build-g1iztcx1\shapely
我尝试更新 pip 但没有成功.可能是什么问题?
I have tried updating pip but no luck. What could be the problem?
推荐答案
错误代码 1 表示不允许操作".通常在 Linux 中发生这种情况时,您可以使用 sudo
来解决它.但是在 Windows 上,您可能必须右键单击 cmd 并以管理员身份运行才能解决它.
Error code 1 means the "Operation is not permitted". Usually when that happens in Linux, you can just use sudo
to resolve it. But on windows, you probably have to right-click on cmd and run as administrator to resolve it.
如果无法解决,请尝试使用 easy_install
安装模块.然后如果仍然不能,请尝试更新 setuptools 和 pip.pip install --upgrade setuptools
, pip install --upgrade pip
.
If unable to resolve it then try using easy_install
to install the module. Then if still cannot, try updating the setuptools and pip. pip install --upgrade setuptools
, pip install --upgrade pip
.
这篇关于Pip 安装匀称的“python setup.py egg_info";失败,错误代码 1 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!