[python] MySQL-Python 설치오류, mysql_config not found

2016-06-03

스크린샷 2016-06-04 오전 1.54.55

위의 스샷은 mac상에서 pycharm 이나 터미널에서 mysql 연동을 위한 파이썬 MySQL-Python을 설치 시 발생하는 오류로, mac 에 mysql을 설치해준 후 다시 설치하면 된다.


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

pip install MySQL-Python
#Python  #MySQL  #mysql_config not found