MySQL Forums
Forum List  »  Connector/Python

Mysql and python interface problem
Posted by: Garoto Noite
Date: June 16, 2009 02:16PM

Hello all

I am newbie to mysql.
I am having problem on installing mysql and python interface.
The below is the error i found.
So, please respond to this topic.



Python 2.5.1 (r251:54869, Apr 18 2009, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "copyright", "credits" or "license()" for more information.



IDLE 1.2.1
>>> import MySQLdb

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: dynamic module does not define init function (init_mysql)
>>>

Thanks & Regards


Felipe Medeiros
-------------------------
Name: Felipe Medeiros
Status: Analyst JR
E-mail: felipe.medeiros@weblocal.com.br
Company: Weblocal Hospedagem

Options: ReplyQuote


Subject
Written By
Posted
Mysql and python interface problem
June 16, 2009 02:16PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.