Python Django MySQLdb setup problem:: setup.py dosen't build due to incorrect location of mysql

Posted by 108860375137931889948 on Stack Overflow See other posts from Stack Overflow or by 108860375137931889948
Published on 2010-06-12T20:05:53Z Indexed on 2010/06/12 20:12 UTC
Read the original article Hit count: 675

Filed under:
|
|

I'm trying to install MySQLdb for python. but when I run the setup, this is the error I get.

well I know why its giving all the missing file statements, but dont know where to change the bold marked location from.

Please help

gaurav-toshniwals-macbook-7:MySQL-python-1.2.3c1 gauravtoshniwal$ python setup.py build running build running build_py copying MySQLdb/release.py -> build/lib.macosx-10.3-fat-2.6/MySQLdb running build_ext building '_mysql' extension gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -Dversion_info=(1,2,3,'gamma',1) -D_version_=1.2.3c1 -I/Applications/MAMP/Library/include/mysql -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c _mysql.c -o build/temp.macosx-10.3-fat-2.6/_mysql.o _mysql.c:36:23: error: my_config.h: No such file or directory _mysql.c:36:23: error: my_config.h: No such file or directory _mysql.c:38:19: error: mysql.h: No such file or directory _mysql.c:38:19:_mysql.c:39:26: error: mysqld_error.h: No such file or directory error: _mysql.c:40:20:mysql.h: No such file or directory

© Stack Overflow or respective owner

Related posts about python

Related posts about django