【问题标题】:Loading spatialite with python3's module under Windowswindows下用python3的模块加载spatialite
【发布时间】:2019-03-04 17:37:55
【问题描述】:

我使用 pip 安装了 spatialite 的 Python 模块:

pip install spatialite

我将在 https://www.gaia-gis.it/gaia-sins/index.html 上找到的 mod_spatialite.dll 复制到我的 windows/system32 文件夹中(我有 Python 3 32 位)

我有错误信息

spatialite.connection.LoadExtensionError: Failed to load SpatiaLite extension. Verify that your python module sqlite3 has load_extension support and check that libspatialite is installed. Tried extension names: mod_spatialite, mod_spatialite.so, mod_spatialite.dylib

【问题讨论】:

标签: python python-3.x windows pip spatialite


【解决方案1】:

到这个https://www.gaia-gis.it/gaia-sins/地址下载mod_spatialite,解压后复制到system32

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-10-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-21
    • 2012-01-07
    相关资源
    最近更新 更多