add pysqlite3-binary==0.5.4 in to file requirements.txt.
pysqlite3-binary==0.5.4
requirements.txt
add to the top of your app
__import__('pysqlite3') import sys sys.modules['sqlite3'] = sys.modules.pop('pysqlite3'