Google Appengine Importerror: Dynamic Module Does Not Define Init Function (init_mysql)
I am getting this error when I deployed my python app with Flask on Google AppEngine. I will be grateful if someone help me. ps: My local server works like a charm File '/base/data
Solution 1:
Thanks doru and Tim Hoffman,
The problem was the MySQLDb that not was at app.yaml, I deployed and shows other error.
I will open other question.
The fix is:
app.yaml
application:vuushversion:1runtime:python27api_version:1threadsafe:yeshandlers:-url:.*script:main.applibraries:-name:jinja2version:"2.6"-name:markupsafeversion:"0.15"-name:MySQLdbversion:"1.2.4"
requirements.txt
Flask==0.10.1Flask-SQLAlchemy==1.0Flask-WTF==0.9.4Jinja2==2.7.1MarkupSafe==0.18MySQL-python==1.2.4WTForms==1.0.5Werkzeug==0.9.6BeautifulSoup==3.2.1requests==2.2.1
Post a Comment for "Google Appengine Importerror: Dynamic Module Does Not Define Init Function (init_mysql)"