mysql egg import

Amit
2007-04-25
2013-03-15
  • Amit

    Amit - 2007-04-25

    Hi Fabio,

    Just started using your product on Mac Os X.  Have done a couple of test programs they work fine, but when I started to try something real i ran in to problems. 
    I am using the following:
    - Mac OS 10.4.8
    - pydev extensions 1.3.2

    I am trying to use MySQL egg and trying to connect to a MySQL database locally.  In my PythonPath I have inserted the location of the egg:
    /Library/Frameworks/Python.framework/Versions/25/lib/python2.5/site-packages/MySQL_Python-1.2.2-py2.5-macosx-10.3-fat.egg

    Even though this is in the pythonpath for the project I still get an: Unresolved import: MySQLdb

    I wrote a import MySQLdb in the __init__.py

    Nothing else.

    Look forward to your response.

    Regards,

    Amit

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2007-04-25

      A current limitation is that pydev won't work with compressed eggs (this might be your case, so, if that's your case, try uncompressing it).

      Cheers,

      Fabio

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks