原文:Mac上安装mysqlclient报错:OSError: mysql_config not found

pip安装mysqlclient时报错如下 解决方法如下: 安装 mysql connector c: 查找mysql config的位置: 输出: 将 usr local Cellar mysql connector c . . bin mysql config配置到环境变量中: 配置: 其中usr local Cellar mysql connector c . . bin 为新配置的环境变量 ...

2020-12-31 14:02 0 775 推荐指数:

查看详情

OSError: mysql_config not found

上次在部署阿里云安装Centos7里 pip3 install mysqlclient 是 一直报 OSError: mysql_config not found 这个错,上网百度了半天终于找到了解决的办法 yum install mysql-devel gcc gcc-devel ...

Fri May 10 00:13:00 CST 2019 0 2294
Mac OS 下安装mysqlclient报“mysql_config not found”的解决

如问题所示,应该是你没有将mysql_config所在文件夹加入系统的PATH路径,解决方案下: 1、第一步找到你的mysql_config所在位置 1.1. 如果是直接安装mysql,所在位置应该是/usr/local/mysql/bin,但是最好还是去该文件夹下看一下。 1.2 ...

Mon Oct 16 19:19:00 CST 2017 0 3295
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM