Remove Python 2-specific information, leaving a link to previous revision for accessibility
|Deletions are marked like this.||Additions are marked like this.|
|Line 1:||Line 1:|
|Error in MacPython 2.4.3 for Panther.||Please ask your FAQs for MacPython here!
== Questions ==
|Line 3:||Line 5:|
|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)
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 [[http://sourceforge.net/project/showfiles.php?group_id=22307&package_id=15775&release_id=491012|SourceForge.net]] 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?
- I had a problem similar to this one. Here are the steps that I followed: [[http://www.mangoorange.com/2008/08/01/installing-python-mysqldb-122-on-mac-os-x/]]
Here is a tutorial on using it: [[http://www.kitebird.com/articles/pydbapi.html]]
[[https://wiki.python.org/moin/MacPython/FAQ?action=recall&rev=14|Previous questions on this page]] referred to a previous version of Python and have been removed from the main page for clarity.