Install Spatialite for python (GeoDjango) on OS X

前端 未结 3 1777
南方客
南方客 2021-01-12 00:25

I am tearing my hair out trying to install Spatialite for GeoDjango!

I am already using Homebrew, it\'s generally easy and convenient so I initially tried to follow

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-12 01:10

    I had the same error: SQLite header and source version mismatch.

    For me it was enough to update libsqlite3-dev.

    After that invoking $ spatialite geo.db "SELECT InitSpatialMetaData();" creates proper database.

提交回复
热议问题