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相关推荐

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

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

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

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

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

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

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

  8. 安装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 ...

  9. 安装kerberos报错 error: command 'gcc' failed with exit status 1

    pip install kerberos 报错:error: command 'gcc' failed with exit status 1 安装环境工具 yum install gcc libffi ...

最新文章

  1. 贝叶斯岭回归(BayesianRidge)、自动关联决策回归、高斯过程、核函数、及高斯回归、高斯过程分类
  2. 算法---------数组-----------两数相加
  3. 20155303 2016-2017-2 《Java程序设计》第二周学习总结
  4. 转--Oracle数据类型及存储方式【C】
  5. 交叉编译inetutils并配置telnet服务
  6. 全球地区资料json 含中英文 经纬度_[喵咪软件推荐(1)]全球国家信息库
  7. java js 正则区别_对比正则表达式在JavaScript与Java中的区别
  8. 弄懂goroutine调度原理
  9. Zephyr:compatible ‘micro,wm89xx‘ has unknown vendor prefix ‘micro‘
  10. Linux进程通信之信号量
  11. 黄杏元《地理信息系统概论》考研复习考点精讲(八)
  12. 风电变桨滑环工作原理
  13. 简洁明了的单例模式及其五种写法
  14. java模拟usb接口_Java练习:一个简单的USB接口程序设计
  15. 系统故障等级和故障报告规定
  16. 【Win10系统自带软件】文件系统错误(-2147219196)解决方法
  17. vue项目使用 Recorder.js 实现录音功能
  18. Ruby读excel写入mysql
  19. 手机拍照中的防抖功能
  20. 指数和对数总结【图形+公式】

热门文章

  1. 火山小视频伪原创怎么做
  2. IT服务公司经理专栏:小公司管理(4)
  3. 知识点滴 - 关于汉语学习的网络资源
  4. js实现一键换肤效果
  5. 使用计算机进行生产流水线控制属于,毕业设计(论文)-饮料罐装生产流水线的PLC控制精选.docx...
  6. arm平台ubuntu环境下telnet安装及启动
  7. MIPS指令集 指令的格式
  8. 改变DataGridView中的DataGridViewButtonCell单元格的背景色.
  9. PHP程序员的工作职责与薪酬待遇 -兄弟连IT教育
  10. 涉密计算机的等级分为,涉密人员的涉密等级分为 - 作业在线问答