On 7/4/2010 6:36 PM, Philip Semanchuk wrote:
hi Tim,
This seems more likely to be a MySQLdb problem than a Python one. Have
you considered asking in the MySQLdb forums?

On Jul 4, 2010, at 7:46 PM, Tim Johnson wrote:

Using python 2.6.4 on slackware 13.1
I have MySQLdb 'by hand', that is: by
1)downloading MySQL-python-1.2.3c1.tar.gz
2)unzipping tarfile
3)running python setup.py build
4)running python setup.py install

The build and install seemed to proceded without error,
but upon invoking the interpreter and running
import MySQLdb
I get the following ImportError:
##############################################################
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-i686/egg/MySQLdb/__init__.py",
line 19, in <module>
File "build/bdist.linux-i686/egg/_mysql.py",
line 7, in <module>
File "build/bdist.linux-i686/egg/_mysql.py",
line 6, in __bootstrap__
ImportError: libmysqlclient_r.so.15:
cannot open shared object file: No such file or directory

   Did you install the development libraries for MySQL first?
Those are needed to build MySQLdb yourself.

                                John Nagle
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to