"pip install unroll":"python setup.py egg_info";失败,错误代码为1 [英] "pip install unroll": "python setup.py egg_info" failed with error code 1

查看:75
本文介绍了"pip install unroll":"python setup.py egg_info";失败,错误代码为1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Python的新手,一直在尝试使用pip安装一些软件包.

I'm new to Python and have been trying to install some packages with pip.

但是pip install unroll给了我

命令"python setup.py egg_info"失败,错误代码为1 C:\ Users \ MARKAN〜1 \ AppData \ Local \ Temp \ pip-build-wa7uco0k \ unroll \

Command "python setup.py egg_info" failed with error code 1 in C:\Users\MARKAN~1\AppData\Local\Temp\pip-build-wa7uco0k\unroll\

我该如何解决?

推荐答案

关于错误代码

根据 Python文档:

此模块提供了可用的标准errno系统符号.每个符号的值是相应的整数值. 名称和描述是从linux/include/errno.h 借来的,应该包含所有内容.

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 permitted.

Error code 1 is defined in errno.h and means Operation not permitted.

关于您的错误

您的 setuptools 似乎未安装.只需遵循PyPI网站上的 Installation Instructions .

Your setuptools do not appear to be installed. Just follow the Installation Instructions from the PyPI website.

如果已经安装,请尝试

pip install --upgrade setuptools

如果它已经是最新的,请检查模块ez_setup是否不丢失.如果是,那么

If it's already up to date, check that the module ez_setup is not missing. If it is, then

pip install ez_setup

然后重试

pip install unroll

如果仍然无法正常运行,则可能是pip没有正确安装/升级setup_tools,因此您可能要尝试

If it's still not working, maybe pip didn't install/upgrade setup_tools properly so you might want to try

easy_install -U setuptools

再来一次

pip install unroll

这篇关于"pip install unroll":"python setup.py egg_info";失败,错误代码为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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