If that doesn’t work, you might instead be able to add pysqlite3-binary
to your requirements.txt file, and add these lines to the top of your app
__import__('pysqlite3')
import sys
sys.modules['sqlite3'] = sys.modules.pop('pysqlite3')
in order to use that pip-installed package instead of the built-in sqlite3