ImportError: No module named MySQLdb
smmehadi at gmail.com
Tue Apr 8 07:35:12 CEST 2008
Thanks Gabriel, it worked after installing MySQL (database engine).
On Tue, Apr 8, 2008 at 10:23 AM, Gabriel Genellina <gagsl-py2 at yahoo.com.ar>
> En Tue, 08 Apr 2008 00:35:29 -0300, syed mehdi <smmehadi at gmail.com>
> > I have been working in python from some time now,
> > while writing a python script i used: import MySQLdb in my script to do
> > some
> > database related operations.
> > When i tried to execute the same script on another system it gave me an
> > error as:
> > "ImportError: No module named MySQLdb"
> > though mysqldb was already installed on that system, and python 2.5.2
> > present on that machine.
> > i have tried uninstalling and installing of mysql again and again but to
> > no
> > avail.
> MySQL (the database engine) is not the same as MySQLdb (the Python
> package). You have to download and install it:
> Gabriel Genellina
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list