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

查看:25
本文介绍了“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"失败,错误代码为 1C:UsersMARKAN~1AppDataLocalTemppip-build-wa7uco0kunroll

Command "python setup.py egg_info" failed with error code 1 in C:UsersMARKAN~1AppDataLocalTemppip-build-wa7uco0kunroll

我该如何解决这个问题?

How can I solve this?

推荐答案

关于错误代码

根据 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中,表示不允许操作.

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

关于您的错误

您的 setuptools 似乎没有安装.只需按照 PyPI 网站上的安装说明操作即可.

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天全站免登陆