Which RPM did you use and what version of Python do you have? From the output, I am guessing you have python-1.5.2 but you downloaded MySQL-python-0.9.1py2 for python2-2.1.1. Although, you might have a version of Python-2.1 installed in /usr/local/lib. You'll probably have to copy the files to the right location for your setup.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I actually figured it out. I had two lib directories for Python 2.1 (/usr/lib/python2.1 and /usr/local/lib/python2.1). Once I got rid of the bad one, all works now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have installed the RPM for MySQLDa and python can't find the _mysql unless I am actually in the same directory: /usr/lib/python2.1/site-packages
Here is output from whereis python:
whereis python
python: /usr/bin/python1.5 /usr/bin/python /usr/bin/python2.1 /usr/lib/python1.5 /usr/lib/python2.1 /usr/local/bin/python2.1 /usr/local/bin/python /usr/local/lib/python2.1 /usr/include/python1.5 /usr/include/python2.1
Not sure if there is some sort of conflict?
Which RPM did you use and what version of Python do you have? From the output, I am guessing you have python-1.5.2 but you downloaded MySQL-python-0.9.1py2 for python2-2.1.1. Although, you might have a version of Python-2.1 installed in /usr/local/lib. You'll probably have to copy the files to the right location for your setup.
I actually figured it out. I had two lib directories for Python 2.1 (/usr/lib/python2.1 and /usr/local/lib/python2.1). Once I got rid of the bad one, all works now.