EnMap-box 3 instalation failes / Sklearn is installed but not recognized in qGIS
Hei, Since 2 days I trying now to install the EnMap-box 3 in qGIS, without any success. I get the error message «Unable to import the following python package(s): sklearn” However when I install sklearn with pip in the OSGGeo4W Shell it says: Successfully installed scikit-learn-0.19.2 sklearn-0.0 . I dont know how to solve it and it is quite frustrating spending so much time on installing this plugin.
Comments (4)
-
-
Did you make sure to run it as administrator? You might also wanna try to use
python3 -m pip install scikit-learn
as this is the recommended way to install it (our current version of the documentation still says sklearn, will be changed soon)
-
I wish not to use Admin right to install. But first install failed and I tried admin right to run OSGEO4W at the second time. And it worked!
Please have a check and update on the manual!
Thanks!
-
- changed status to closed
Thanks for this error description. Required admin rights are now mentioned in the documentation https://enmap-box.readthedocs.io/en/latest/usr_section/usr_installation.html
- Log in to comment
This worked for me.
Install QGIS Standalone (included OSGEO4W)
Install Enmap Box 3 from Zip file (version August 2nd)
Run OSGEO4W as administrator
call py3_env.bat (set path to run python3)
python3 -m pip install numpy --upgrade # upgrade to latest version of numpy
python3 -m pip install scipy --upgrade # upgrade to latest version of scipy
python3 -m pip install pyqtgraph # install module pyqtgraph (not neccessary if you already installed)
python3 -m pip install sklearn # install module sklearn
Start python 3, and:
import sklearn
if no errors, that mean you can start EnmapBox 3 in QGIS.