<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized in Water Resources Questions</title>
    <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1077216#M4075</link>
    <description>&lt;P&gt;I am still getting the error, despite double-checking that it is the cloned environment with scikit-learn installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jul 2021 13:45:40 GMT</pubDate>
    <dc:creator>CarolineChanEEC</dc:creator>
    <dc:date>2021-07-09T13:45:40Z</dc:date>
    <item>
      <title>ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1075877#M4065</link>
      <description>&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;('line 242', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\trainrandomtrees.py', "ModuleNotFoundError: No module named 'sklearn'")&lt;/P&gt;&lt;P&gt;The project python environment clearly shows that sckikit-learn is installed.&lt;/P&gt;&lt;P&gt;I have tried recloning the default python and installing scikit-learn package to the new clone, but it still results in that error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am at a loss as to what to try next.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 15:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1075877#M4065</guid>
      <dc:creator>CarolineChanEEC</dc:creator>
      <dc:date>2021-07-06T15:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1075986#M4066</link>
      <description>&lt;P&gt;Were you following this document for the install Caroline?&lt;/P&gt;&lt;P&gt;&lt;A href="http://downloads.esri.com/ARCHYDRO/ArcHydro/Doc/Arc%20Hydro%20-%20Wetland%20Identification%20Model.pdf" target="_blank"&gt;Arc Hydro - Wetland Identification Model.pdf (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 18:50:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1075986#M4066</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-06T18:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1075989#M4067</link>
      <description>&lt;P&gt;Yes, that is the document I followed to install the package.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 18:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1075989#M4067</guid>
      <dc:creator>CarolineChanEEC</dc:creator>
      <dc:date>2021-07-06T18:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1075991#M4068</link>
      <description>&lt;P&gt;That is what I was checking.&amp;nbsp; If it is installed in your clone are you running the analysis from that environment?&amp;nbsp; Your error line looks like it is the base/main environment&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 18:58:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1075991#M4068</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-06T18:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1076282#M4069</link>
      <description>&lt;P&gt;Well yes, but I'm uncertain why every time I reopen the project, it returns to the default instead of the cloned environment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CarolineChanEEC_0-1625668416150.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17872i04407CACE0CB0245/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CarolineChanEEC_0-1625668416150.png" alt="CarolineChanEEC_0-1625668416150.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 14:34:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1076282#M4069</guid>
      <dc:creator>CarolineChanEEC</dc:creator>
      <dc:date>2021-07-07T14:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1077216#M4075</link>
      <description>&lt;P&gt;I am still getting the error, despite double-checking that it is the cloned environment with scikit-learn installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 13:45:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1077216#M4075</guid>
      <dc:creator>CarolineChanEEC</dc:creator>
      <dc:date>2021-07-09T13:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1078813#M4082</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/442427"&gt;@CarolineChanEEC&lt;/a&gt;. Scikit-learn may be included in Pro 2.8.1 by default. Can you try the following and let me know the results?&lt;/P&gt;&lt;P&gt;-open the command prompt&lt;/P&gt;&lt;P&gt;- enter: proswap arcgispro-py3&lt;/P&gt;&lt;P&gt;- open pro&lt;/P&gt;&lt;P&gt;- open python window&lt;/P&gt;&lt;P&gt;- enter: import sklearn&lt;/P&gt;&lt;P&gt;- respond here with the output, it will either return an error or execute successfully&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that process does not return any errors, try executing the WIM process again in the open session of Pro. I'm thinking maybe sklearn already existed in your pro environment and by installing it "again" you could have changed the version of sklearn which may conflict with another library.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 17:43:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1078813#M4082</guid>
      <dc:creator>GinaO_Neil</dc:creator>
      <dc:date>2021-07-14T17:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1078828#M4084</link>
      <description>&lt;P&gt;This turned out to be a known bug with the ArcGIS Pro 2.8.1 update.&amp;nbsp;&lt;STRONG&gt;BUG-000141015 -&amp;nbsp;ArcGIS Pro 2.8.1 does not honor the active environment set through Python Package Manager, and causes the active environment to be reset to the base arcgispro-py3. This will be fixed in a future release.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;this was the workaround that fixed the issue:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Clone your Default environment normally through ArcGIS Pro's Python manager&lt;/LI&gt;&lt;LI&gt;Install any libraries that you need to install for ArcHydro - at this point, the error should be reappearing if you attempted to use this environment now.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Instead of using this environment, close ArcGIS Pro after this cloning is complete &amp;amp; navigate in File Explorer&amp;nbsp;to your default Python environment's directory on your machine - should be INSTALL_DIR\arcgis\bin\python\envs\arcgispro-py3.&amp;nbsp;&lt;/LI&gt;&lt;OL&gt;&lt;LI&gt;Once in this directory, copy the&amp;nbsp;&lt;STRONG&gt;_arcgisscripting.pyd&lt;/STRONG&gt; file in 'arcgis\bin\python\envs\arcgispro-py3\Lib\site-packages\arcgisscripting\_arcgisscripting.pyd'&lt;/LI&gt;&lt;/OL&gt;&lt;LI&gt;Once you have copied that file, navigate to your cloned environment (C:\Users\xxxx\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone4\Lib\site-packages\arcgisscripting&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;LI&gt;Rename the &lt;STRONG&gt;_arcgisscripting.pyd&lt;/STRONG&gt; file to &lt;STRONG&gt;_arcgisscripting_old.pyd&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Then paste the &lt;STRONG&gt;arcgisscripting.pyd&lt;/STRONG&gt; file from the default environment into this folder.&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;5. After the file has been pasted there, reopen ArcGIS Pro &amp;amp; attempt to use the cloned environment.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 18:02:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1078828#M4084</guid>
      <dc:creator>CarolineChanEEC</dc:creator>
      <dc:date>2021-07-14T18:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1078832#M4085</link>
      <description>&lt;P&gt;Thanks for sharing that! Did the WIM tool work as expected after that workaround?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 18:07:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1078832#M4085</guid>
      <dc:creator>GinaO_Neil</dc:creator>
      <dc:date>2021-07-14T18:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1078840#M4086</link>
      <description>Yep. Fixed it instantly.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jul 2021 18:19:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1078840#M4086</guid>
      <dc:creator>CarolineChanEEC</dc:creator>
      <dc:date>2021-07-14T18:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcHydro-Wetland Identification Model - scikit-learn not recognized</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1617943#M4606</link>
      <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 16:08:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit-learn/m-p/1617943#M4606</guid>
      <dc:creator>KavianKoleini</dc:creator>
      <dc:date>2025-05-23T16:08:38Z</dc:date>
    </item>
  </channel>
</rss>

