环境:centos7 +  Django2.0 + python3.6

django2.0连接mysql需要安装PyMySQLmysqlclient

pip3 install PyMySQL

pip3  install  mysqlclient

在安装mysqlclient  报错

之后安装相关依赖

yum install  mysql-devel

yum install python-devel

再次安装 pip3  install  mysqlclient           ok!!!!!!!

django2.0 在安装mysqlclient 报错ERROR: Command errored out with exit status 1: python setup.py egg_info相关推荐

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

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

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

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

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

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

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

最新文章

  1. 深度学习pytorch--softmax回归(三)
  2. android 机顶盒 view 焦点,AndroidTV/机顶盒 ListView获取焦点与点击事件问题处理方案...
  3. Qt简单的解析Json数据例子(一)
  4. 电脑显示没有被指定在上运行_电脑出现“**.dll没有被指定在Windows上运行”提示怎么解决...
  5. 戴尔修复已存在12年之久的驱动漏洞,影响数百万个人电脑
  6. 阶段1 语言基础+高级_1-3-Java语言高级_05-异常与多线程_第3节 线程同步机制_7_静态同步方法...
  7. 方舟服务器修改错误,求解,方舟正在进服务器出现错误
  8. webview加载百度失败_独家|神秘SDK暗刷百度广告 植入数千款APP
  9. 太实用了!这几个Python数据可视化案例!(文末送书)
  10. vue省市区三级地址文档
  11. 分享下我 Github 被封的经历
  12. 从零开始变成一个脚本小子002-初窥密码2
  13. 【MySQL】34道SQL综合练习详解(员工表、部门表、工资等级表)
  14. codeforces 869 E. The Untended Antiquity(树状数组)
  15. 同步与异步通信的区别
  16. 读写文件时缓冲区多大好呢?我来告诉大家哈
  17. 硬件加油站 | 传感器 - PIR 人体红外传感器
  18. 【重大突破】——移动端——如何手机端屏蔽掉网站,【小技巧】戒应用AppDetox,一个可以屏蔽管理APP的自律软件,马克保存
  19. Codeforces 786A Berzerk(博弈论)
  20. Python中英文翻译工具

热门文章

  1. DB9串及交叉与直通线
  2. java毕业设计在线文档管理系统Mybatis+系统+数据库+调试部署
  3. Linux系统文件夹名称如何更改为英文中文
  4. 技术群闯进了一个幼儿园设计girl
  5. 软件的接口设计图_App软件开发的完整在线流程(一看就懂)
  6. 模型ensemble
  7. C# 运用 log4net.dll 记录日志文件
  8. 关于web语义化的一些感悟
  9. ECA 注意力模块 原理分析与代码实现
  10. [ubuntu 14.04] android 编译环境搭建