How To Install Mysql-python-1.2.3 On Mac Os 10.8
I've downloaded http://sourceforge.net/projects/mysql-python/ and also downloaded Xcode and command line tools. When I used this command 'sudo python setup.py build' I see this: ru
Solution 1:
MAMP's version of MySQL doesn't come with the dev headers. You have to either download and install an official MySQL release, or integrate the headers into MAMP according to: http://dreamconception.com/tech/how-to-install-mysqldb-mysql-python-on-mamp/
Solution 2:
Read this answer before trying this solution. Anyway, had the same problem, this worked for me -
brew install mysql-connector-c
brew install mysql
brew link --overwrite mysql
pip install MySQL-python
Post a Comment for "How To Install Mysql-python-1.2.3 On Mac Os 10.8"