SpaceGroupUCL / qgisSpaceSyntaxToolkit

Space Syntax Toolkit for QGIS
GNU General Public License v3.0
115 stars 40 forks source link

pyspatialite missing #139

Closed jorgegil closed 7 years ago

jorgegil commented 7 years ago

After upgrading to QGIS 2.16.1, there's an error message saying "No module named pyspatialite". SST does not load after this. This happens on Mac OSX, kyngchaos release. Not sure about other OS.

It might be possible to install pyspatialite separately. Must check if it is really missing, or has been replaced.

One solution is to re-install version 2.14 LTR. It's possible to have both versions running. User can use 2.14 for the SST and 2.16 if he/she needs specific new features.

rtsaboya commented 7 years ago

Didn't have any issues in Windows, for what it's worth.

jorgegil commented 7 years ago

Thanks for the confirmation that it works on Windows.

I have found that the problem only occurs on Mac OSX, with the Kyngchaos QGIS distribution. This stackexchange post offers the solution: https://gis.stackexchange.com/questions/216848/pyspatialite-installation-error-on-macosx-qgis-plugin

There's a folder under the sqlite3 framework that needs to be renamed: "Library/SQLite3.framework/Versions/C/Python/2.5" rename to "Library/SQLite3.framework/Versions/C/Python/2.7"