如下图,安装Mysql-python报错EnvironmentError: mysql_config not found
经过验证,可通过以下方式解决:
从官网下载mysql安装,成功之后输入PATH="$PATH":/usr/local/mysql/bin配置环境变量,再执行pip install MySQL-python,成功