danioxoli / HotSpotAnalysis_Plugin

A QGIS plugin for hotspot analysis
GNU General Public License v3.0
55 stars 12 forks source link

issue installing plugin #42

Closed eperez4 closed 4 years ago

eperez4 commented 4 years ago

When I try to install the HotSpotAnalysis Plugin I get the error: "ModuleNotFoundError: No module named 'Shape'" I have redownloaded pysal and the shapes module several times to confirm that they are in the correct locations. Any suggestions on how to troubleshoot this error?

danioxoli commented 4 years ago

I would like to point you directly on this page: https://github.com/pysal/pysal/issues/693:

That error can happen when you install with pip that is from python 2x but then try to import pysal when running python 3x.

I encountered the same issue once using Python 2 and I solved by uninstalling pysal and reinstalling using:

pip install --no-cache-dir pysal=1.14

However, the trick not always works (see eg issue #15 )...

Let me know if this was helpful!

Best,

Daniele