Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Leopard and MySQL

Reply
Thread Tools

Leopard and MySQL

 
 
arbo.newmedia@gmail.com
Guest
Posts: n/a
 
      03-05-2008
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... ;/
 
Reply With Quote
 
 
 
 
martin.laloux@gmail.com
Guest
Posts: n/a
 
      03-05-2008
There is a macpython list that you can consult at
http://www.nabble.com/Python---pythonmac-sig-f2970.html. When you
search for your problem
http://www.nabble.com/forum/Search.j...&query=mysqldb

you have the solution
http://www.nickshanny.com/2007/10/os...d-mysqldb.html
 
Reply With Quote
 
 
 
 
arbo.newmedia@gmail.com
Guest
Posts: n/a
 
      03-05-2008
On 5 Mar, 13:40, martin.lal...@gmail.com 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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Python and Connecting to MySQL remotely WITHOUT MySQL installedon local computer dave Python 4 11-18-2010 04:19 AM
Getting started with python on macintosh snow leopard with mysql -need help dk Python 2 07-14-2010 08:57 PM
Re: How to insert PDF file in to MySql and read it from MySql toJAVA App Jeffrey H. Coffield Java 1 07-24-2009 12:29 AM
Re: How to insert PDF file in to MySql and read it from MySql to JAVA App Roedy Green Java 0 07-23-2009 05:30 PM
Leopard + mysql X43 X43 Ruby 6 10-29-2007 10:41 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57