| | |
py2app chokes on MySQLdb
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2008
Posts: 2
Reputation:
Solved Threads: 0
I am currently trying to convert a program I just wrote to application form, on the Mac. I'm using py2app to accomplish this, and everything works fine up until the last stage; when I try to complete the conversion with:
and then run the resulting executable, I get the error:
The really strange thing is that when I was testing the application creation by making an app bundle, using
the resulting application bundle worked perfectly. So something is going wrong between making the app bundle and creating the actual app itself. The entire purpose of my program is database connection, so commenting out that portion of its capabilities is not an option.
Thanks ahead of time,
Adam
Python Syntax (Toggle Plain Text)
python setup.py py2app
Python Syntax (Toggle Plain Text)
ImportError: No module named MySQLdb
Python Syntax (Toggle Plain Text)
python setup.py py2app -A
Thanks ahead of time,
Adam
![]() |
Other Threads in the Python Forum
- Previous Thread: Python Error
- Next Thread: Question on List
| Thread Tools | Search this Thread |
alarm assignment avogadro beginner bluetooth character cmd code customdialog cx-freeze data decimals dictionary directory dynamic error examples exe file float format function generator getvalue gnu graphics gui halp homework http ideas import input ip itunes java leftmouse line linux list lists logging loop maintain maze millimeter module mouse number numbers output parsing path port prime programming projects push py2exe pygame pyglet pyqt python queue random recursion schedule screensaverloopinactive script scrolledtext slicenotation sqlite ssh stdout string strings sudokusolver table terminal text thread threading time tlapse tuple tutorial ubuntu unicode urllib urllib2 variable variables ventrilo verify vigenere web webservice wikipedia wxpython xlib





