> The output is from both is---> > > /usr/lib/python2.6/os.pyc > > What does that suggest? > It suggests that there's some sort of mismatch because look at your original > traceback: > >>> File "/media/pyth/python26/Lib/site-packages/MySQLdb/__init__.py", >>> line 23, >> in<module> > That path there should have been /usr/lib/python2.6/os.pyc. > > I don't know the answer because I don't know how you have things set up, but > it looks > like you have your python stuff in 2 distinct paths, /usr/lib/python2.6 and > /media/pyth/python26. The latter is the one with the mismatch. The error > happened > upon importing MySQLdb, not upon connecting to a database. > > Paul >
I have Ubuntu & Win7 (dual boot) on my laptop. Both the OS's have python 2.6 (you correctly indicated their home directory). Maybe that is the root of this mismatch? (But I wonder how a package on Win7 is affecting the same package on another OS !) =-O In Win7, I will install version 1.2.3 & check in Ubuntu. --- Vineet _______________________________________________ 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]
