python下载第三方库的时候报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check the
python下载第三方库的时候报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
报错 的全部信息
ERROR: Command errored out with exit status 1:command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/t1/tt6kbsj11wv29p0v142n8c2h0000gn/T/pip-install-rclg4cgk/turtle/setup.py'"'"'; __file__='"'"'/private/var/folders/t1/tt6kbsj11wv29p0v142n8c2h0000gn/T/pip-install-rclg4cgk/turtle/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/t1/tt6kbsj11wv29p0v142n8c2h0000gn/T/pip-pip-egg-info-s4b4btfzcwd: /private/var/folders/t1/tt6kbsj11wv29p0v142n8c2h0000gn/T/pip-install-rclg4cgk/turtle/Complete output (6 lines):Traceback (most recent call last):File "<string>", line 1, in <module>File "/private/var/folders/t1/tt6kbsj11wv29p0v142n8c2h0000gn/T/pip-install-rclg4cgk/turtle/setup.py", line 40except ValueError, ve:^SyntaxError: invalid syntax----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
然后再网上搜索了非常多的方法,试过了所有的方法
第一种是pip版本过低的原因,报错提到version:pip install—upgrade pip
第二中网上是说setuptools版本过低:pip install --upgrade setuptools
但注意以上两种方法都没有解决我的问题
因为是mac的原因,内带python,所以甚至考虑了版本冲突的问题,但最后还是没有解决,但今天突然想到一个问题,就是我要安装的包是turtle,因为之前没有接触这个包,会不会这个包压根儿就不是第三方包,我直接在程序使用了,发现代码没有问题,也没报错。至此,该问题解决。这个错误离谱就在于这个报错非常迷惑,并不是直接报错说明该包是内置的。另外一定要测试一哈,可以选择将以前存在的包删除一哈,再使用pip来下载尝试。如果没报错,就要去寻找其他的思路了。当然如果急需某些包,尝试直接去网上下载这些轮子,而不是pip那种方式进行下载。
python下载第三方库的时候报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check the相关推荐
- ubuntu18.04安装python的mysqlclient==1.4.6报错ERROR Command errored out with exit status 1python setup
安装python的mysqlclient==1.4.6报错 环境: ubuntu18.04 python 3.7.2 Django 2.2 想要使用Django来操作MySQL,报错: LookupE ...
- Python PIP Mysql-python 报错 ERROR: Command errored out with exit status 1: python setup.py egg_info C
pip install mysql-python 安装Mysql-python时,报错,先看下错误内容: ERROR: Command errored out with exit status 1:c ...
- django2.0 在安装mysqlclient 报错ERROR: Command errored out with exit status 1: python setup.py egg_info
环境:centos7 + Django2.0 + python3.6 django2.0连接mysql需要安装PyMySQL和mysqlclient pip3 install PyMySQL pip ...
- PIP scrapydo时报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check the log
今天PIP安装scrapydo 包时,报错,图如下 ERROR: Command errored out with exit status 1: python setup.py egg_info Ch ...
- ModuleNotFoundError: No module named '_ctypes' ERROR:Command errored out with exit status 1: python
Ubuntu下载 nginx 时报错: ERROR: Command errored out with exit status 1:command: /usr/local/bin/python3.7 ...
- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full comm
目录 问题 解决方法 问题 Python3.7环境下安装PySide pip install PySide Collecting PySideUsing cached PySide-1.2.4.tar ...
- Mac os更新系统后安装scrapy报错error: command ‘xcrun‘ failed with exit status 1
查看报错信息: In file included from src/twisted/test/raiser.c:4: In file included from /Library/Developer/ ...
- 安装MySQL-python报错 error: command 'gcc' failed with exit status 1解决方法
错误如: _mysql.c:2331: error: '_mysql_ConnectionObject' has no member named 'open' _mysql.c:2338: error ...
- 安装kerberos报错 error: command 'gcc' failed with exit status 1
pip install kerberos 报错:error: command 'gcc' failed with exit status 1 安装环境工具 yum install gcc libffi ...
最新文章
- 贝叶斯岭回归(BayesianRidge)、自动关联决策回归、高斯过程、核函数、及高斯回归、高斯过程分类
- 算法---------数组-----------两数相加
- 20155303 2016-2017-2 《Java程序设计》第二周学习总结
- 转--Oracle数据类型及存储方式【C】
- 交叉编译inetutils并配置telnet服务
- 全球地区资料json 含中英文 经纬度_[喵咪软件推荐(1)]全球国家信息库
- java js 正则区别_对比正则表达式在JavaScript与Java中的区别
- 弄懂goroutine调度原理
- Zephyr:compatible ‘micro,wm89xx‘ has unknown vendor prefix ‘micro‘
- Linux进程通信之信号量
- 黄杏元《地理信息系统概论》考研复习考点精讲(八)
- 风电变桨滑环工作原理
- 简洁明了的单例模式及其五种写法
- java模拟usb接口_Java练习:一个简单的USB接口程序设计
- 系统故障等级和故障报告规定
- 【Win10系统自带软件】文件系统错误(-2147219196)解决方法
- vue项目使用 Recorder.js 实现录音功能
- Ruby读excel写入mysql
- 手机拍照中的防抖功能
- 指数和对数总结【图形+公式】
热门文章
- 火山小视频伪原创怎么做
- IT服务公司经理专栏:小公司管理(4)
- 知识点滴 - 关于汉语学习的网络资源
- js实现一键换肤效果
- 使用计算机进行生产流水线控制属于,毕业设计(论文)-饮料罐装生产流水线的PLC控制精选.docx...
- arm平台ubuntu环境下telnet安装及启动
- MIPS指令集 指令的格式
- 改变DataGridView中的DataGridViewButtonCell单元格的背景色.
- PHP程序员的工作职责与薪酬待遇 -兄弟连IT教育
- 涉密计算机的等级分为,涉密人员的涉密等级分为 - 作业在线问答