Leopard and MySQL

Discussion in 'Python' started by arbo.newmedia@gmail.com, Mar 5, 2008.

  1. Guest

    Hi,

    can anyone help me with MySQL.
    I've got Mac OSX Leopard and I'm trying to install MySQLdb for
    Python.

    I'm running build and it goes withous any errors and install.

    But when I'm typing : import MySQLdb in IDLE I've got this:

    Traceback (most recent call last):
    File "<pyshell#0>", line 1, in <module>
    import MySQLdb
    File "build/bdist.macosx-10.3-fat/egg/MySQLdb/__init__.py", line 19,
    in <module>
    File "build/bdist.macosx-10.3-fat/egg/_mysql.py", line 7, in
    <module>
    File "build/bdist.macosx-10.3-fat/egg/_mysql.py", line 6, in
    __bootstrap__
    ImportError: dlopen(/Users/lisek/.python-eggs/MySQL_python-1.2.2-py2.5-
    macosx-10.3-fat.egg-tmp/_mysql.so, 2): Symbol not found:
    _mysql_affected_rows
    Referenced from: /Users/lisek/.python-eggs/MySQL_python-1.2.2-py2.5-
    macosx-10.3-fat.egg-tmp/_mysql.so
    Expected in: dynamic lookup

    And I don't know what is wrong... ;/
     
    , Mar 5, 2008
    #1
    1. Advertising

  2. Guest

    1. Advertising

  3. Guest

    On 5 Mar, 13:40, wrote:
    > There is a macpython list that you can consult athttp://www.nabble.com/Python---pythonmac-sig-f2970.html. When you
    > search for your problemhttp://www.nabble.com/forum/Search.jtp?forum=2970&local=y&query=mysqldb
    >
    > you have the solutionhttp://www.nickshanny.com/2007/10/os-x-105-python-and-mysqldb.html


    Thanks a lot.
     
    , Mar 5, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. chewie54
    Replies:
    1
    Views:
    284
    Horace Enea
    Oct 20, 2007
  2. chewie54
    Replies:
    0
    Views:
    274
    chewie54
    Oct 29, 2007
  3. brianrpsgt1

    pythonweb and Leopard

    brianrpsgt1, Mar 24, 2008, in forum: Python
    Replies:
    0
    Views:
    240
    brianrpsgt1
    Mar 24, 2008
  4. dk
    Replies:
    2
    Views:
    441
    Ned Deily
    Jul 14, 2010
  5. X43 X43

    Leopard + mysql

    X43 X43, Oct 29, 2007, in forum: Ruby
    Replies:
    6
    Views:
    103
    X43 X43
    Oct 29, 2007
Loading...

Share This Page