On Sat, Jul 18, 2009 at 3:14 AM, Kalyan Chakravarthy<kalyanchakravar...@hyit.com> wrote: > Hi All, > I am using Python 2.6, MySQL 4.0 , I have successfully > Instaled MySQLdb (MySQL-python-1.2.3c1.win32-py2.6) in my system. I tested > through command prompt with "import MySQLdb ", its not shwing any errors > (means its instaled successfully), I set Eneceranment variable for Python > > I am running simple application with import "MySQLdb" to get the connection > to MySQL, But its throwing "No module named MySQLdb", Please any one tell me > what couled be the reasion > > is there any version miss match with python and MySQL ? > > Since last 3days I am strugling on this >
Off the top of my head I would say that maybe you are using one python binary from the command-line and another in your script or possibly your python path is foobar. -- David blog: http://www.traceback.org twitter: http://twitter.com/dstanek -- http://mail.python.org/mailman/listinfo/python-list