[re-posting since my earlier post seems unsuccessful to deliver]

The output is from both is--->

/usr/lib/python2.6/os.pyc

What does that suggest?
Andy Dustman has suggested to check & remove the traces of _mysql 1.2.2
I tried that, but the result is same.

Vineet



________________________________
From: Paul McNett <[email protected]>
To: Vineet Deodhar <[email protected]>; Dabo Users list <[email protected]>
Sent: Monday, 24 October 2011, 22:23
Subject: Re: [dabo-users] MySQLdb in Ubuntu

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

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
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]

Reply via email to