MySQLdb / Python 2.5 / web.py

software development

#1

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:

[code]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.

[/quote]

Traceback (most recent call last):
File “”, line 1, in
File “MySQLdb/init.py”, line 19, in
import _mysql
ImportError: ./_mysql.so: cannot open shared object file: No such file or directory
[/code]Any help would be much appreciated!


#2

Reverted to v1.2.2 and it works like a charm. I guess it just didn’t like the latest release.