pip安装Mysql-python报错EnvironmentError: mysql_config not found

如下图,安装Mysql-python报错EnvironmentError: mysql_config not found

经过验证,可通过以下方式解决:

从官网下载mysql安装,成功之后输入PATH="$PATH":/usr/local/mysql/bin配置环境变量,再执行pip install MySQL-python,成功

 

posted on 2018-01-12 15:13  running_wolf  阅读(258)  评论(0编辑  收藏  举报

导航