I am using ArcGIS Pro version 2.8.1 and the Wetland Identification Model process that is part of the ArcHydro toolbox. I have been following the steps within the documentation, and have successfully worked through the entire process. However, in a new iteration, when adding an additional predictor variable, I am getting this error:
('line 242', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\trainrandomtrees.py', "ModuleNotFoundError: No module named 'sklearn'")
The project python environment clearly shows that sckikit-learn is installed.
I have tried recloning the default python and installing scikit-learn package to the new clone, but it still results in that error.
I am at a loss as to what to try next.
Solved! Go to Solution.
I'm having trouble installing the Scikit-Learn package to the ArcPro active environment. The Scikit-Learn package appears in neither the installed, nor the add packages tabs of the ArcPro Package Manager. I'm running ArcPro 3.3.2 and just installed Arc Hydro Tolls for 3.2. I would like any suggestions about how to get ArcPro Package Manager to list the Scikit-Learn for installation in my cloned environment. Thanks for any suggestions.