EnvironmentError: mysql_config not found pip install

Mac:

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

 Ubuntu:

sudo apt-get install libmysqlclient-dev

参考:https://stackoverflow.com/questions/5178292/pip-install-mysql-python-fails-with-environmenterror-mysql-config-not-found

猜你喜欢

转载自sech.iteye.com/blog/2397339