我是 Python 新手,一直在尝试使用 pip
安装一些软件包。
但是 pip install unroll
给了我
Command "python setup.py egg_info" failed with error code 1 in C:\Users\MARKAN~1\AppData\Local\Temp\pip-build-wa7uco0k\unroll\
我该如何解决这个问题?
最佳答案
关于错误代码
This module makes available standard errno system symbols. The value of each symbol is the corresponding integer value. The names and descriptions are borrowed from linux/include/errno.h, which should be pretty all-inclusive.
错误代码1在errno.h
中定义,表示Operation not allowed
。
关于您的错误
您的setuptools似乎没有安装。只需关注 Installation Instructions
来自 PyPI 网站。
如果已经安装,请尝试
pip install --upgrade setuptools
如果它已经是最新的,请检查模块 ez_setup 是否缺失。如果是,那么
pip install ez_setup
然后再试一次
pip install unroll
如果仍然无法正常工作,可能是 pip 没有正确安装/升级 setup_tools,所以您可能想尝试一下
easy_install -U setuptools
再来一次
pip install unroll
关于python - "pip install unroll": "python setup.py egg_info" failed with error code 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35991403/