OperationalError: no such module: fts4 ? Also No Extensions Available in SQLite in Python
OperationalError: no such module: fts4 ? Also No Extensions Available in SQLite in Python
我正在尝试使用 fuzzymatcher,但是当我 运行 代码时出现以下错误:
OperationalError: no such module: fts4
此外,我尝试通过使用代码
将最新的 sqlite.dll 文件放入 C:\ProgramData\Anaconda3\DLLs
来加载扩展
import sqlite3
conn = sqlite3.connect(':memory:')
cur = conn.cursor()
conn.enable_load_extension(True)
for (val,) in cur.execute('pragma compile_options'):
print (val)
但没有显示任何扩展,returns 以下代码,
COMPILER=msvc-1916
THREADSAFE=1
这些是我遵循的步骤并且启用了扩展,
1. Update the Sqlite by following on anaconda:
conda install -c anaconda sqlite
2.Download and Extract the following folder
https://github.com/rogerbinns/apsw/releases/download/3.33.0-r1/apsw-3.33.0-r1.zip
3. Run Anaconda & following command in that folder:
python setup.py install test
我正在尝试使用 fuzzymatcher,但是当我 运行 代码时出现以下错误:
OperationalError: no such module: fts4
此外,我尝试通过使用代码
将最新的 sqlite.dll 文件放入C:\ProgramData\Anaconda3\DLLs
来加载扩展
import sqlite3
conn = sqlite3.connect(':memory:')
cur = conn.cursor()
conn.enable_load_extension(True)
for (val,) in cur.execute('pragma compile_options'):
print (val)
但没有显示任何扩展,returns 以下代码,
COMPILER=msvc-1916
THREADSAFE=1
这些是我遵循的步骤并且启用了扩展,
1. Update the Sqlite by following on anaconda:
conda install -c anaconda sqlite
2.Download and Extract the following folder
https://github.com/rogerbinns/apsw/releases/download/3.33.0-r1/apsw-3.33.0-r1.zip
3. Run Anaconda & following command in that folder:
python setup.py install test