ubuntu 11.04 has native python2.7 i build python2.5 from source to /usr/local/python2.5/bin, and try to install mysqldb for my custom python2.5 install. Also i use virtualenv. I switch to my env with python2.5
And do:
pip install MySQL-python
this raise error:
pymemcompat.h:10:20: error: Python.h: No such file or directory
for python2.7 pip install MySQL-python work fine, but for python2.5 not.
Also i install:
sudo apt-get install python-dev libmysqlclient15-dev
but this don't help.
How can i fix this error?