Mac上安装mysql-mython错误:mysql_config not found

1、正确安装MySQL

2、配置环境变量

export PATH="$PATH":/usr/local/mysql/bin

3、重启终端再进行安装

pip install mysql-python

 

posted @ 2018-11-26 16:20  EasonJim  阅读(594)  评论(0编辑  收藏  举报