Tuesday, December 6, 2011

Re: The rdbms API is not available because the MySQLdb library could not be loaded.

When I added MySQLdb to the PYTHONPATH and adding "import MySQLdb" to
dev_appserver.py rdbms was found and worked.
Note: I'm using a Mac and the PYTHONPATH I added in Eclipse to the
project External Libraries was:
/Library/Python/2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-
intel.egg

No comments:

Post a Comment