I have been developing an app with bottle framework collecting data via userforms and storing/retrieving it in/from the sqlite database. Everything works fine locally but after deploying all files to Google App Engine I get logs indicating at problems with importing modules related to sqlite3 module:
File "D:\python\jcifapp\jcifapp_new\sqlite3__init__.py", line 24, in
*from sqlite3.dbapi2 import *
File "D:\python\jcifapp\jcifapp_new\sqlite3\dbapi2.py", line 25, in import collections.abc ImportError: No module named abc INFO 2015-08-25 22:32:14,997 module.py:808] default: "GET /favicon.ico HTTP/1.1" 500 -*
I have tried putting sqlite3 module into the projects directory but to no avail. When I run Python scripts locally I encounter no problems with importing sqlite3. I have also no problems deploying to GAE and running from there apps which don't use sqlite3. Does anyone have a clue how to make GAE work with sqlite3? Thanks
Aucun commentaire:
Enregistrer un commentaire