python pip安装 mysqlclient 报错 raise EnvironmentError("%s not found" % (_mysql_config_path,))

Posted AngDH

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python pip安装 mysqlclient 报错 raise EnvironmentError("%s not found" % (_mysql_config_path,))相关的知识,希望对你有一定的参考价值。

 

raise EnvironmentError("%s not found" % (_mysql_config_path,))
OSError: mysql_config not found

 


 

解决办法

 

yum install mysql-devel

 

以上是关于python pip安装 mysqlclient 报错 raise EnvironmentError("%s not found" % (_mysql_config_path,))的主要内容,如果未能解决你的问题,请参考以下文章

windows10 pip install MySQL-python mysqlclient

Linux上使用pip 安装mysqlclient,pip install mysqlclient==2.0.1遇到的问题:OSError: mysql_config not found

python pip安装 mysqlclient 报错 raise EnvironmentError("%s not found" % (_mysql_config_path,))

如何在python中安装mysqlclient?

Windows下python2.7安装64位mysqlclient

mac下python3.6安装mysqlclient报错mysql_config: command