I've tried these solutions not sure what's going on.
-GAE 1.7 being used with
python 2.7.3
On Wednesday, November 30, 2011 4:15:36 PM UTC-5, Philip wrote:
I have installed MySQL and the necessary support libraries / files
locally. It is accessible from MySQLWorkbench, Squirrel, and the
Python 2.7 command line (i.e. import MySQLdb succeeds without any
errors). I added the following line to my ./bash_profile file too:export DYLD_LIBRARY_PATH="$DYLD_
LIBRARY_PATH:/usr/local/mysql/ lib/" When I try to start dev_appserver in Eclipse or from a command line
using:dev_appserver.py --debug --mysql_user=root myapp
I get the following warning and error:
WARNING 2011-11-30 21:07:54,891 rdbms_mysqldb.py:90] The rdbms API is
not available because the MySQLdb library could not be loaded.ERROR 2011-11-30 21:08:19,042 dev_appserver_main.py:632] <type
'exceptions.NotImplementedError'>: Unable to find the MySQLdb library.
Please see the SDK documentation for installation instructions.DEBUG 2011-11-30 21:08:19,046 dev_appserver_main.py:634] Traceback
(most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/ Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/ google_appengine/
google/appengine/tools/dev_appserver_main.py", line 629, in main
dev_appserver.SetupStubs(appinfo.application, **option_dict)
File "/Applications/GoogleAppEngineLauncher.app/ Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/ google_appengine/
google/appengine/tools/dev_appserver.py", line 3183, in SetupStubs
rdbms_mysqldb.connect(database='')
File "/Applications/GoogleAppEngineLauncher.app/ Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/ google_appengine/
google/appengine/api/rdbms_mysqldb.py", line 96, in connect
'Unable to find the MySQLdb library. Please see the SDK 'I have tried the hack of adding "import MySQLdb" to the
dev_appserver.py file, but that didn't help.Any ideas?
No comments:
Post a Comment