Revision 14 as of 2009-01-24 04:42:45

Clear message

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/ 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.




I have searched and searched for a way to connect to MySQL using python without luck. I downloaded MySQLdb from 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/", line 19, in <module>
  File "build/bdist.macosx-10.5-i386/egg/", line 7, in <module>
  File "build/bdist.macosx-10.5-i386/egg/", line 6, in __bootstrap__
ImportError: dynamic module does not define init function (init_mysql)

How do I connect to MySQL using python on Leopard?


- I had a problem similar to this one. Here are the steps that I followed:

Here is a tutorial on using it:

Unable to edit the page? See the FrontPage for instructions.