semiautomaticgit / SemiAutomaticClassificationPlugin

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

Remotior sensus outdated #374

Closed Antine93 closed 2 months ago

Antine93 commented 2 months ago

Good morning,

I am not able to use Semi Automatic Classification Plugin on QGIS 3.34.11 Prizren, with python 3.12 installed and all the libraries updated. I am running the softwares on Windows 11. The following errors are reported by QGIS:

2024-09-23T13:36:30 WARNING Semi-Automatic Classification Plugin : Warning. Python library Remotior Sensus is outdated.This could cause errors, please update Remotior Sensus. 2024-09-23T13:36:31 INFO Semi-Automatic Classification Plugin : Error starting Remotior Sensus 2024-09-23T13:36:32 INFO Plugin reinstallato con successo 2024-09-23T13:37:14 INFO Semi-Automatic Classification Plugin : Please, restart QGIS for executing the Semi-Automatic Classification Plugin 2024-09-23T13:37:19 WARNING Semi-Automatic Classification Plugin : Warning. Python library Remotior Sensus is outdated.This could cause errors, please update Remotior Sensus. 2024-09-23T13:37:20 INFO Semi-Automatic Classification Plugin : Error starting Remotior Sensus 2024-09-23T13:37:21 INFO Plugin reinstallato con successo

I tried uninstalling and reinstalling QGIS, python and all the libraries but this procedure was not succesful.

How can I fix this problem?

Greetings

Costantino

kslv101 commented 2 months ago

Close QGIS;

From the Start menu, open OSGeo4W Shell (administrative rights may be required);

Enter the following command:

pip3 install --upgrade remotior-sensus scikit-learn torch

Мне помогло

Antine93 commented 2 months ago

Your procedure works, thank you very much! 👍

I used the same command from the windows powershell, why it did not worked? (I did not know the OSGeo4W Shell :/)

semiautomaticgit commented 2 months ago

I used the same command from the windows powershell, why it did not worked? (I did not know the OSGeo4W Shell :/)

They use different system variables. I'm glad it worked.