py2app chokes on MySQLdb

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2008
Posts: 2
Reputation: AdamGr is an unknown quantity at this point 
Solved Threads: 0
AdamGr AdamGr is offline Offline
Newbie Poster

py2app chokes on MySQLdb

 
0
  #1
Jun 27th, 2008
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:
  1. python setup.py py2app
and then run the resulting executable, I get the error:
  1. ImportError: No module named MySQLdb
The really strange thing is that when I was testing the application creation by making an app bundle, using
  1. python setup.py py2app -A
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Python Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC