Newbie : desperately need help on "import MySQLdb"

John Hunter jdhunter at ace.bsd.uchicago.edu
Sat Nov 23 14:16:58 EST 2002


>>>>> "Michel" == Michel COMBE <michel.l.combe at free.fr> writes:

    Michel> I downloaded the tar version of MySQLdb and made the build
    Michel> (not the install as I feared a version problem). I copied
    Michel> _mysql.so in /usr/lib/python2.2/site-packages et Voila !

    Michel> Now I can start working :-)

Congrats!  My advice is that you are more likely to get into
versioning problems by using the rpm for part of the package and the
src for another.  Take the plunge (back up site-packages first if you
like)

  /usr/bin/python2.2 setup.py install

You'll never go back to rpm.

JDH




More information about the Python-list mailing list