semiautomaticgit/SemiAutomaticClassificationPlugin

Installation Trouble with SCP Plugin Due to Possible Package Conflicts.

SHAYKE80 opened this issue · 3 comments

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]

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

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

thank you for your feedback