I tried to install MySQLdb with Python 2.5 so I can use it with web.py, but when I try to import it from iPython, I get the following error:
Python 2.5 (release25-maint, Jul 23 2008, 18:15:29)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "MySQLdb/__init__.py", line 19, in <module>
ImportError: ./_mysql.so: cannot open shared object file: No such file or directory
Any help would be much appreciated!