error: Setup script exited with error: command 'gcc' failed with exit status 1
I get the following error when I try to install MySQL-python-1.2.3 under Python 2.6 in Fedora 14. Fedora 14 comes with Python 2.7 by default and I am working in a project which runs in Python 2.6, So I am not in a position to update Python from 2.6 to 2.7. _mysql.c:35:23: fatal error: my_config.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1 The complete error message is as below [root@localhost MySQL-python-1.2.2]# python setup.py build running build running build_py creating build creating build/lib.linux-i686-2.6 copying _mysql_exceptions