<?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 Inconsistent Dependencies in ArcPro Python Environment in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/inconsistent-dependencies-in-arcpro-python/m-p/1583863#M92885</link>
    <description>&lt;P&gt;I recently updated to 3.1.7 and started running into this error whenever I try to import packages that are dependent on numpy:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HuertaRicardo_0-1739222721566.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/125023i4444FA205A508714/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HuertaRicardo_0-1739222721566.png" alt="HuertaRicardo_0-1739222721566.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Since the error suggests something is going on with my numpy install, I started looking at some of the package installations in my ArcPro environment and it looks like my numpy installation is incompatible with my scipy installation:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HuertaRicardo_1-1739222883833.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/125024iE0237116A08B72E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HuertaRicardo_1-1739222883833.png" alt="HuertaRicardo_1-1739222883833.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HuertaRicardo_2-1739222922779.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/125025iAB1CA181F6ACEBF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HuertaRicardo_2-1739222922779.png" alt="HuertaRicardo_2-1739222922779.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;First off, I am confused because my numpy install appears to be below 2.0 but the error says that the module is being run on 2.0.2. I tried to upgrade my numpy package in a cloned environment via "conda install numpy=1.23.5", but the install fails because my requested specs conflict with pinned specs:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;SpecsConfigurationConflictError: Requested specs conflict with configured specs.&lt;BR /&gt;requested specs:&lt;BR /&gt;- esri/win-64::arcpy-base==3.1=py39_41833&lt;BR /&gt;- esri/win-64::arcpy==3.1=py39_arcgispro_41833&lt;BR /&gt;- esri/win-64::cryptography==43.0.1=py39_0&lt;BR /&gt;- esri/win-64::numexpr==2.8.1=py39_0&lt;BR /&gt;- esri/win-64::scipy==1.6.2=py39_0&lt;BR /&gt;- numpy=1.23.5&lt;BR /&gt;pinned specs:&lt;BR /&gt;- mkl==2020.0=arcgispro_167&lt;BR /&gt;Use 'conda config --show-sources' to look for 'pinned_specs' and 'track_features'&lt;BR /&gt;configuration parameters. Pinned specs may also be defined in the file&lt;BR /&gt;\\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-1\conda-meta\pinned.&lt;/P&gt;&lt;P&gt;When I look at the codna-meta pinned specs it's got&amp;nbsp;numpy 1.20.*&lt;/P&gt;&lt;P&gt;I also asked my co-worker about his environment and he has the same numpy and scipy versions but, scipy lists the numpy dependency as numpy&amp;gt;=1.19,&amp;lt;1.26.0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why does the same scipy version have different numpy dependencies? And how I can I resolve this dependency conflict if scipy lists a numpy dependency version that is incompatible with my pinned specs?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2025 23:50:54 GMT</pubDate>
    <dc:creator>HuertaRicardo</dc:creator>
    <dc:date>2025-02-10T23:50:54Z</dc:date>
    <item>
      <title>Inconsistent Dependencies in ArcPro Python Environment</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/inconsistent-dependencies-in-arcpro-python/m-p/1583863#M92885</link>
      <description>&lt;P&gt;I recently updated to 3.1.7 and started running into this error whenever I try to import packages that are dependent on numpy:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HuertaRicardo_0-1739222721566.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/125023i4444FA205A508714/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HuertaRicardo_0-1739222721566.png" alt="HuertaRicardo_0-1739222721566.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Since the error suggests something is going on with my numpy install, I started looking at some of the package installations in my ArcPro environment and it looks like my numpy installation is incompatible with my scipy installation:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HuertaRicardo_1-1739222883833.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/125024iE0237116A08B72E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HuertaRicardo_1-1739222883833.png" alt="HuertaRicardo_1-1739222883833.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HuertaRicardo_2-1739222922779.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/125025iAB1CA181F6ACEBF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HuertaRicardo_2-1739222922779.png" alt="HuertaRicardo_2-1739222922779.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;First off, I am confused because my numpy install appears to be below 2.0 but the error says that the module is being run on 2.0.2. I tried to upgrade my numpy package in a cloned environment via "conda install numpy=1.23.5", but the install fails because my requested specs conflict with pinned specs:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;SpecsConfigurationConflictError: Requested specs conflict with configured specs.&lt;BR /&gt;requested specs:&lt;BR /&gt;- esri/win-64::arcpy-base==3.1=py39_41833&lt;BR /&gt;- esri/win-64::arcpy==3.1=py39_arcgispro_41833&lt;BR /&gt;- esri/win-64::cryptography==43.0.1=py39_0&lt;BR /&gt;- esri/win-64::numexpr==2.8.1=py39_0&lt;BR /&gt;- esri/win-64::scipy==1.6.2=py39_0&lt;BR /&gt;- numpy=1.23.5&lt;BR /&gt;pinned specs:&lt;BR /&gt;- mkl==2020.0=arcgispro_167&lt;BR /&gt;Use 'conda config --show-sources' to look for 'pinned_specs' and 'track_features'&lt;BR /&gt;configuration parameters. Pinned specs may also be defined in the file&lt;BR /&gt;\\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-1\conda-meta\pinned.&lt;/P&gt;&lt;P&gt;When I look at the codna-meta pinned specs it's got&amp;nbsp;numpy 1.20.*&lt;/P&gt;&lt;P&gt;I also asked my co-worker about his environment and he has the same numpy and scipy versions but, scipy lists the numpy dependency as numpy&amp;gt;=1.19,&amp;lt;1.26.0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why does the same scipy version have different numpy dependencies? And how I can I resolve this dependency conflict if scipy lists a numpy dependency version that is incompatible with my pinned specs?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 23:50:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/inconsistent-dependencies-in-arcpro-python/m-p/1583863#M92885</guid>
      <dc:creator>HuertaRicardo</dc:creator>
      <dc:date>2025-02-10T23:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent Dependencies in ArcPro Python Environment</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/inconsistent-dependencies-in-arcpro-python/m-p/1583866#M92886</link>
      <description>&lt;P&gt;Pro 3.4 and above uses python 3.11 and&amp;nbsp;numpy version&amp;nbsp;'1.24.3'&lt;/P&gt;&lt;P&gt;Pro 3.3 uses a lower version of numpy (if menory serves 1.21&lt;/P&gt;&lt;P&gt;Prior versions would require you to go to&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/get-started/arcgis-pro-system-requirements.htm" target="_blank"&gt;ArcGIS Pro 3.4 system requirements—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;and on the 2nd line, change to the supported version and check install versions.&lt;/P&gt;&lt;P&gt;Don't install/update anything in your Pro's arcgispro-py3&amp;nbsp;environment, use a clone.&lt;/P&gt;&lt;P&gt;If you changed anything or installed anything in the base environment, I would recommend a reinstall,&lt;/P&gt;&lt;P&gt;Better still, do a clean uninstall and upgrade to Pro 3.4 if you possibly can.&lt;/P&gt;&lt;P&gt;If you want to use anything else that doesn't require arcpy, then create your own conda environment and use it (eg python 3.12 and numpy &amp;gt; 2)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 00:13:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/inconsistent-dependencies-in-arcpro-python/m-p/1583866#M92886</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-02-11T00:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent Dependencies in ArcPro Python Environment</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/inconsistent-dependencies-in-arcpro-python/m-p/1584575#M92981</link>
      <description>&lt;P&gt;Thanks for the tip! I did uninstall and re-install 3.1.7 (My organization still uses some custom tools that haven't been upgraded for 3.4 quite yet). I was still running into the same error, so then I uninstalled again and went through and manually deleted all the my conda folders from&amp;nbsp;C:\Program Files\ArcGIS and&amp;nbsp;C:\Users\&amp;lt;user&amp;gt;\AppData\Local since those didn't get removed by the install. After re-starting and re-installing, the issue is resolved! I think this was caused by trying to install geopandas on my default environment instead of cloning the environment and installing geopandas on the clone. Lesson learned!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 18:33:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/inconsistent-dependencies-in-arcpro-python/m-p/1584575#M92981</guid>
      <dc:creator>HuertaRicardo</dc:creator>
      <dc:date>2025-02-12T18:33:26Z</dc:date>
    </item>
  </channel>
</rss>

