You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/local/lib/python3.6/site-packages/sqlalchemy/dialects/sqlite/pysqlite.py", line 334, in dbapi
from pysqlite2 import dbapi2 as sqlite
ModuleNotFoundError: No module named 'pysqlite2'
我查了一下,说是:
The module is called sqlite3. pysqlite2 was the module's name before it became part of the Python standard library.
File "/usr/local/lib/python3.6/site-packages/sqlalchemy/dialects/sqlite/pysqlite.py", line 334, in dbapi
from pysqlite2 import dbapi2 as sqlite
ModuleNotFoundError: No module named 'pysqlite2'
我查了一下,说是:
The module is called sqlite3. pysqlite2 was the module's name before it became part of the Python standard library.
You probably want to use this in your code:
import sqlite3
And the standard documentation is here: http://docs.python.org/library/sqlite3.html
edit: And just to cover all the bases:
The sqlite3 module also has a dbapi2 sub-member, but you don't need to use it directly. The sqlite3 module exposes all the dbapi2 members directly.
本人不是搞python开发,不太明白,我的python环境是linux 3.6.0
The text was updated successfully, but these errors were encountered: