On 10/23/11 7:11 AM, Vineet Deodhar wrote: >>> import MySQLdb > works OK. No error.
Please open your python interpreter and give us the output of: > import os > print os.__file__ And now in this file: > File "dabovmd/hotel.py", line 4, in <module> At the top put those same lines: > import os > print os.__file__ And give us the output. I'm betting it doesn't equal the python path of: > File "/media/pyth/python26/Lib/site-packages/MySQLdb/__init__.py", line > 23, in<module> But regardless, this information may have other clues for resolving the mismatch. > ImportError: this is MySQLdb version (1, 2, 3, 'gamma', 1), but _mysql is > version (1, 2, 2, 'final', 0) Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
