<html><head></head><body><div dir="auto">You have to install geopandas.<br>Cheers.</div><br><br><div class="gmail_quote"><div dir="auto">Il 10 agosto 2023 17:10:28 EEST, Francesca Parente via QGIS-User <qgis-user@lists.osgeo.org> ha scritto:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hello everyone!<div><br></div><div>I was wondering how to perform spatial autocorrelation tests in QGis and I downloaded the <a href="https://plugins.qgis.org/plugins/spatialanalysistoolbox/">Spatial Analysis Toolbox</a> plugin. </div><div>I can't even open it thought and immediately got the following error message:</div><div><br></div><div><i><b>Impossibile caricare il plugin 'spatialanalysistoolbox' a causa di un errore chiamando il metodo classFactory() </b><br><br><b>ModuleNotFoundError: No module named 'geopandas' </b><br>Traceback (most recent call last):<br> File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 335, in _startPlugin<br> plugins[packageName] = package.classFactory(iface)<br> File "C:/Users/fparente/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spatialanalysistoolbox\__init__.py", line 36, in classFactory<br> from .spatialanalysistoolbox import SpatialAnalysisToolboxPlugin<br> File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 799, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br> File "C:/Users/fparente/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spatialanalysistoolbox\spatialanalysistoolbox.py", line 38, in <br> from .spatialanalysistoolbox_provider import SpatialAnalysisToolboxProvider<br> File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 799, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br> File "C:/Users/fparente/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spatialanalysistoolbox\spatialanalysistoolbox_provider.py", line 35, in <br> from .algorithms.GWR_ import GWR_<br> File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 799, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br> File "C:/Users/fparente/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spatialanalysistoolbox\algorithms\GWR_.py", line 23, in <br> import geopandas as gpd<br> File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 799, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br>ModuleNotFoundError: No module named 'geopandas'<br><br><br>Versione Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] <br>Versione di QGIS: 3.18.2-Zürich Zürich, 515138c171 <br></i></div><div><div><br></div><div>I repeated the download/install procedure, but nothing changed.</div><div>Does anybody know how to fix this and/or alternative ways to test for spatial autocorrelation here?</div><div>Thanks a lot and have a good day!</div></div></div>
</blockquote></div></body></html>