上次在部署阿里云安装Centos7里 pip3 install mysqlclient 是 一直报

OSError: mysql_config not found

这个错,上网百度了半天终于找到了解决的办法

yum install mysql-devel gcc gcc-devel python-devel

安装这个在pip3 install mysqlclient 就可以了

转载于:https://www.cnblogs.com/sunzhiqi/p/10839113.html

OSError: mysql_config not found相关推荐

  1. python mysql_config not found_解决问题:OSError: mysql_config not found

    通过pip install mysqlclient时报出了OSError: mysql_config not found错误,如下 Traceback (most recent call last): ...

  2. 解决pip3 install mysqlclinet 报错 OSError: mysql_config not found

    作者:Bright Xu 这里用的服务器是Ubuntu18.04,CentOS服务器 请参考 CentOS 解决pip安装 mysqlclient 报错的问题 Django开发项目时使用MySQL数据 ...

  3. 【吭】centos安装mysql报错OSError: mysql_config not found/error: command ‘gcc‘ failed with exit status 1

    问题:    OSError: mysql_config not found 解决:yum install mysql-devel 问题:error: command 'gcc' failed wit ...

  4. pip install mysqlclient报错: error: command ‘gcc‘ failed with exit status 1 OSError: mysql_config no

    解决方式:yum install -y python3-devel mysql-devel gcc gcc-c++ kernel-devel python-devel libxslt-devel li ...

  5. sh mysql config_解决python安装mysqlclient出现“/bin/sh:1:mysql_config:not found”错误...

    在安装mysqlcient的时候出现这个错误 Collecting mysqlclient==1.3.12 (from -r requirements.txt (line 10)) Downloadi ...

  6. django安装mysql驱动

    django目前支持三种mysql驱动来进行mysql的链接 MySQLdb is a native driver that has been developed and supported for ...

  7. django安装mysql驱动_django安装mysql驱动

    django目前支持三种mysql驱动来进行mysql的链接MySQLdb is a native driver that has been developed and supported for o ...

  8. 部署Django到云服务器(centos+nginx+mysql+uwsgi+python3)【操作篇(1)】

    开篇 笛卡尔说:"你不能教会一个人任何东西,你只能帮助他发现他自己内心本来就有的东西!" jacky能教你的,只能是经验和建议,要逆袭还得通过自己对数据的不断领悟,数据领域的技能都 ...

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

最新文章

  1. Paddington2
  2. Linker Tools Error LNK2001 报错
  3. python安装环境配置linux_linux下安装python环境
  4. uni-app动态绑定class和style
  5. mpu9250姿态融合算法_基于投票方式的机器人装配姿态估计
  6. 如何通过数据分析鉴别假微博大V?
  7. 【c语言】指针数组和数组指针-解释和用法
  8. 08-R包那么多,怎么才能快速找到自己需要的包呢?
  9. 新型APT组织正在攻击全球的政府实体
  10. LVM基础详细说明及动态扩容lvm逻辑卷的操作记录
  11. docker入门、docker基本命令
  12. 军用装备温湿度循环测试,温湿度环境可靠性实验室GJB150A
  13. excel常用函数及快捷键
  14. 考研公式大全-提问版-数学二
  15. 简单理解SpringMVC的三层结构顺序MCV以及ModelAndView的使用
  16. 改进的booth编码实例
  17. 【Linux】Linux 指令练习题 (一)
  18. POJ NO.1979 Red and Black(DPS,搬黑砖,,,)
  19. 没想到系列之YOLOv4:Optimal Speed and Accuracy of Object Detection
  20. Linux软件源更新地址

热门文章

  1. Ext.grid.Panel表格分页
  2. apache+php为什么不报错
  3. Firefox 增强版 仅仅5.7 MB
  4. html css常用样式
  5. java重量级框架_框架之轻量级和重量级
  6. mysql 西安_MySQL分区维护
  7. Pinnacle Studio Ultimate中文版
  8. 删除唯一性约束unique
  9. 结对-贪吃蛇-项目进度
  10. android,项目,一些教程