OSError: mysql_config not found
上次在部署阿里云安装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相关推荐
- python mysql_config not found_解决问题:OSError: mysql_config not found
通过pip install mysqlclient时报出了OSError: mysql_config not found错误,如下 Traceback (most recent call last): ...
- 解决pip3 install mysqlclinet 报错 OSError: mysql_config not found
作者:Bright Xu 这里用的服务器是Ubuntu18.04,CentOS服务器 请参考 CentOS 解决pip安装 mysqlclient 报错的问题 Django开发项目时使用MySQL数据 ...
- 【吭】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 ...
- 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 ...
- 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 ...
- django安装mysql驱动
django目前支持三种mysql驱动来进行mysql的链接 MySQLdb is a native driver that has been developed and supported for ...
- django安装mysql驱动_django安装mysql驱动
django目前支持三种mysql驱动来进行mysql的链接MySQLdb is a native driver that has been developed and supported for o ...
- 部署Django到云服务器(centos+nginx+mysql+uwsgi+python3)【操作篇(1)】
开篇 笛卡尔说:"你不能教会一个人任何东西,你只能帮助他发现他自己内心本来就有的东西!" jacky能教你的,只能是经验和建议,要逆袭还得通过自己对数据的不断领悟,数据领域的技能都 ...
- 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 ...
最新文章
- Paddington2
- Linker Tools Error LNK2001 报错
- python安装环境配置linux_linux下安装python环境
- uni-app动态绑定class和style
- mpu9250姿态融合算法_基于投票方式的机器人装配姿态估计
- 如何通过数据分析鉴别假微博大V?
- 【c语言】指针数组和数组指针-解释和用法
- 08-R包那么多,怎么才能快速找到自己需要的包呢?
- 新型APT组织正在攻击全球的政府实体
- LVM基础详细说明及动态扩容lvm逻辑卷的操作记录
- docker入门、docker基本命令
- 军用装备温湿度循环测试,温湿度环境可靠性实验室GJB150A
- excel常用函数及快捷键
- 考研公式大全-提问版-数学二
- 简单理解SpringMVC的三层结构顺序MCV以及ModelAndView的使用
- 改进的booth编码实例
- 【Linux】Linux 指令练习题 (一)
- POJ NO.1979 Red and Black(DPS,搬黑砖,,,)
- 没想到系列之YOLOv4:Optimal Speed and Accuracy of Object Detection
- Linux软件源更新地址