semiautomaticgit / SemiAutomaticClassificationPlugin

https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html
Other
136 stars 50 forks source link

Installation Trouble with SCP Plugin Due to Possible Package Conflicts. #317

Closed SHAYKE80 closed 7 months ago

SHAYKE80 commented 7 months ago

Issue Title: Installation Trouble with SCP Plugin Due to Possible Package Conflicts Description: I've encountered a problem during the installation of the SCP (Semi-Automatic Classification Plugin) in QGIS, which seems to be related to package conflicts. After installing the required Python packages (remotior-sensus, torch, and scikit-learn), I encountered errors when trying to use the SCP plugin.

Steps to Reproduce:

Install remotior-sensus, torch, and scikit-learn in the QGIS Python environment. Install the SCP plugin in QGIS. Attempt to use the SCP plugin. Expected Behavior: The SCP plugin should install without errors and function correctly.

Actual Behavior: Encountered errors during the use of the SCP plugin. The errors are as follows: image

and, image

Environment:

QGIS Version: [3.28.10] SCP Plugin Version: [8.1.3] Operating System: [Windows 10]

semiautomaticgit commented 7 months ago

Hello @SHAYKE80 , it could be a NumPy issue, please try to run pip3 install --upgrade numpy

SHAYKE80 commented 7 months ago

I uninstalled a plugin that needed a numpy version of 1.16, upgraded numpy and now SCP is installed.

semiautomaticgit commented 7 months ago

thank you for your feedback