title: python 3.7.4 : FLASK_SQLALCHEMY No module named '_sqlite3'
body: <p>I'm using Debian "Linux mint 19.1" and python 3.7.4 and system have already 2.7 &amp; 3.6 versions. I create an env but when I start to create database file with <code>db.create_all()</code> I have "... </p>
  
  <blockquote>
    <p>ModuleNotFoundError: No module named '_sqlite3' "</p>
  </blockquote>
  
  <p>I have try by installing this packages [ quick-sqlite , pysqlite3 ]</p>
  
  <blockquote>
    <blockquote>
      <blockquote>
        <p>db.create_all()
        Traceback (most recent call last):
          File "/media/gabalawy/projetcs/training/Flask_Blog/env3.7/lib/python3.7/site-packages/sqlalchemy/dialects/sqlite/pysqlite.py", line 338, in dbapi
            from pysqlite2 import dbapi2 as sqlite
        ModuleNotFoundError: No module named 'pysqlite2'</p>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>During handling of the above exception, another exception occurred:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):
      File "", line 1, in 
      File "/media/gabalawy/projetcs/training/Flask_Blog/env3.7/lib/python3.7/site-packages/flask_sqlalchemy/<strong>init</strong>.py", line 1033, in create_all
        self._execute_for_all_tables(app, bind, 'create_all')
      File "/media/gabalawy/projetcs/training/Flask_Blog/env3.7/lib/python3.7/site-packages/flask_sqlalchemy/<strong>init</strong>.py", line 1025, in _execute_for_all_tables
        op(bind=self.get_engine(app, bind), **extra)
      File "/media/gabalawy/projetcs/training/Flask_Blog/env3.7/lib/python3.7/site-packages/flask_sqlalchemy/<strong>init</strong>.py", line 956, in get_engine
        return connector.get_engine()
      File "/media/gabalawy/projetcs/training/Flask_Blog/env3.7/lib/python3.7/site-packages/flask_sqlalchemy/<strong>init</strong>.py", line 561, in get_engine
        self._engine = rv = self._sa.create_engine(sa_url, options)
      File "/media/gabalawy/projetcs/training/Flask_Blog/env3.7/lib/python3.7/site-packages/flask_sqlalchemy/<strong>init</strong>.py", line 966, in create_engine
        return sqlalchemy.create_engine(sa_url, **engine_opts)
      File "/media/gabalawy/projetcs/training/Flask_Blog/env3.7/lib/python3.7/site-packages/sqlalchemy/engine/<strong>init</strong>.py", line 435, in create_engine
        return strategy.create(*args, **kwargs)
      File "/media/gabalawy/projetcs/training/Flask_Blog/env3.7/lib/python3.7/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
        dbapi = dialect_cls.dbapi(**dbapi_args)
      File "/media/gabalawy/projetcs/training/Flask_Blog/env3.7/lib/python3.7/site-packages/sqlalchemy/dialects/sqlite/pysqlite.py", line 343, in dbapi
        raise e
      File "/media/gabalawy/projetcs/training/Flask_Blog/env3.7/lib/python3.7/site-packages/sqlalchemy/dialects/sqlite/pysqlite.py", line 341, in dbapi
        from sqlite3 import dbapi2 as sqlite  # try 2.5+ stdlib name.
      File "/usr/local/lib/python3.7/sqlite3/<strong>init</strong>.py", line 23, in 
        from sqlite3.dbapi2 import *
      File "/usr/local/lib/python3.7/sqlite3/dbapi2.py", line 27, in 
        from _sqlite3 import *
    ModuleNotFoundError: No module named '_sqlite3'</p>
  </blockquote>