392
Comment:
|
1184
|
Deletions are marked like this. | Additions are marked like this. |
Line 13: | Line 13: |
==MySQLdb== I have searched and searched for a way to connect to MySQL using python without luck. I downloaded MySQLdb from [SourceForge.net http://sourceforge.net/project/showfiles.php?group_id=22307&package_id=15775&release_id=491012] but only got a different Traceback message: >>> from MySQLdb import * Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> from MySQLdb import * File "build/bdist.macosx-10.5-i386/egg/MySQLdb/__init__.py", line 19, in <module> File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 7, in <module> File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 6, in __bootstrap__ ImportError: dynamic module does not define init function (init_mysql) >>> How do I connect to MySQL using python on Leopard? |
Error in MacPython 2.4.3 for Panther.
When I attempted to run idle or python I received the following message
dyld: /Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python can't open library: /usr/lib/libstdc++.6.dylib (No such file or directory, errno = 2) Trace/BPT trap
Any sugggestions as to how to resolve this.
==MySQLdb== I have searched and searched for a way to connect to MySQL using python without luck. I downloaded MySQLdb from [SourceForge.net http://sourceforge.net/project/showfiles.php?group_id=22307&package_id=15775&release_id=491012] but only got a different Traceback message:
>>> from MySQLdb import *
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
- from MySQLdb import *
File "build/bdist.macosx-10.5-i386/egg/MySQLdb/init.py", line 19, in <module> File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 7, in <module> File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 6, in bootstrap
ImportError: dynamic module does not define init function (init_mysql) >>>
How do I connect to MySQL using python on Leopard?