[Qgis-developer] Spatialite in QGIS master

Matthias Kuhn matthias at opengis.ch
Mon Jan 30 04:57:10 PST 2017


cmake -DWITH_PYSPATIALITE ?

Matthias

On 01/30/2017 01:10 PM, Saber Razmjooei wrote:
>  sudo pip3 install pyspatialite ?
> 
> Cheers
> Saber
> 
> On 30 January 2017 at 10:48, matteo <matteo.ghetta at gmail.com
> <mailto:matteo.ghetta at gmail.com>> wrote:
> 
>     Hi all,
> 
>     I don't know if a miss some older discussion on this topic but I'm not
>     able to load SpatiaLite databases in QGIS 3.
> 
>     It seems there there is no pyspatialite for python3:
> 
>     Traceback (most recent call last):
>       File
>     "/home/matteo/lavori/QGIS/build-qgis3/output/python/qgis/utils.py", line
>     598, in spatialite_connect
>         from pyspatialite import dbapi2
>       File
>     "/home/matteo/lavori/QGIS/build-qgis3/output/python/qgis/utils.py", line
>     647, in _import
>         mod = _builtin_import(name, globals, locals, fromlist, level)
>     ImportError: No module named 'pyspatialite'
> 
> 
>     I checked around on the web and I found an issue the github repo [0]
> 
>     Has anyone a working SpatiaLite db on QGIS?
> 
>     Thanks to all
> 
>     Matteo
> 
> 
>     [0] https://github.com/lokkju/pyspatialite/issues/27
>     <https://github.com/lokkju/pyspatialite/issues/27>
>     _______________________________________________
>     Qgis-developer mailing list
>     Qgis-developer at lists.osgeo.org <mailto:Qgis-developer at lists.osgeo.org>
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> 
> 
> 
> 
> -- 
> Saber Razmjooei
> www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk>
> +44 (0)7568 129733
> 
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 


More information about the Qgis-developer mailing list