I installed MySQLdb 1.2.2 on a Solaris 10 system today. When I tried importing
MySQLdb I got a warning message:
/home/titan/skipm/local/lib/python2.4/site-packages/MySQL_python-1.2.2-py2.4-solaris-2.10-i86pc.egg/_mysql.py:3: UserWarning: Module _mysql was already imported from /home/titan/skipm/local/lib/python2.4/site-packages/MySQL_python-1.2.2-py2.4-solaris-2.10-i86pc.egg/_mysql.pyc, but /home/tuba/skipm/src/MySQL-python-1.2.2 is being added to sys.path
Looking in the egg it installed I see _mysql.py[c] files:
I don't know how you ended up with _mysql.py and _mysql.pyc . There should only be the _mysql.so (native code) library, thus your conflict. How did you build this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed MySQLdb 1.2.2 on a Solaris 10 system today. When I tried importing
MySQLdb I got a warning message:
Looking in the egg it installed I see _mysql.py[c] files:
There is no _mysql.py file in the distribution. Where is that coming
from? Is it possible to install MySQLdb without a zip archive?
Thanks,
Skip Montanaro
I don't know how you ended up with _mysql.py and _mysql.pyc . There should only be the _mysql.so (native code) library, thus your conflict. How did you build this?