<?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: Cloned Python environment and modified with Conda - crashes Pro! in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615909#M95856</link>
    <description>&lt;P&gt;When you clone the arcgispro-py3&amp;nbsp; environment, it still has all the restrictions as its original because arcpy and its dependencies are also installed.&amp;nbsp; The dependencies and what it will allow to be installed are "pinned" (there are 2 "pinned" files... you can use windows explorer to find them in the Pro installation path... which you can see what exactly you must have installed.&amp;nbsp; At one time,&amp;nbsp;&lt;/P&gt;&lt;P&gt;conda install __some_package__ --no-pin&lt;/P&gt;&lt;P&gt;allowed you to quasi-override the pinned packages.&amp;nbsp; This didn't mean that your clone would work perfectly but it would override stuff.&amp;nbsp; Now the list of things that can cause issues grows.&amp;nbsp; For example, there is a huge break with NumPy and its relatives.&amp;nbsp; Currently NumPy 1.26 is installed with Pro 3.5.&amp;nbsp; The current version is 2.2.x and it introduced breaking changes and it has a trickle down effect which won't be addressed until arcpy/arcgisscripting/and others address the changes.&amp;nbsp; So... if there is a package that can't be installed in a clone or even the base arcgispro-py3 environment, it is best to split your work into... requires arcpy... doesn't require arcpy...&amp;nbsp; This necessitates "creating" an environment and installing what your want into it, but stick with the default (aka main) conda channel even if it is a little bit out of date since conda-forge doesn't guarantee everything will work together.&amp;nbsp; Maybe your pygplates would behave if you had installed it in your clone using&lt;/P&gt;&lt;P&gt;conda install -c defaults pygplates&lt;/P&gt;&lt;P&gt;but you would have had the latest and greatest pygplates package but one that might, just might, behave with all the other packages in the clone.&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;</description>
    <pubDate>Mon, 19 May 2025 09:29:42 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2025-05-19T09:29:42Z</dc:date>
    <item>
      <title>Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615452#M95831</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created a cloned copy of the default python environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For convenience, I put the&amp;nbsp;Conda command on the PATH system variable by adding "C:\Program Files\ArcGIS\Pro\bin\Python\Scripts".&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the Conda&amp;nbsp;Forge command from a command prompt (running as Administrator, might not be necessary, but why not) to install pygplates:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;conda install conda-forge::pygplates&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;When you try and access Package Manager&amp;nbsp;ArcGIS Pro crashes.&amp;nbsp;Not sure how to get out of this mess or even fix my environment - it's a bit annoying that Pro just crashes out just like this - looks like I'm looking at a re-install and all the messing about that involves.&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 14:18:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615452#M95831</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2025-05-16T14:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615561#M95836</link>
      <description>&lt;P&gt;Was there anything else that rolled down the screen during the install?&lt;/P&gt;&lt;P&gt;I would be surprised if the conda-forge channel didn't want to updata a bunch of other packages.&lt;/P&gt;&lt;P&gt;Something may have been updated/installed that Pro didn't like (specifically arcgis, arcgisscripting and their dependencies)&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 17:15:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615561#M95836</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-05-16T17:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615766#M95846</link>
      <description>&lt;P&gt;I've broken cloned environments before&amp;nbsp;mixing conda-forge and esri channels and avoid it now.&amp;nbsp; If you want to install stuff from conda-forge, create a fresh (non esri) env with `conda create -c conda-forge &amp;lt;packages&amp;gt;`.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get back to an unbroken env, in a terminal run `&lt;SPAN&gt;proswap arcgispro-py3`&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 May 2025 09:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615766#M95846</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2025-05-18T09:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615899#M95853</link>
      <description>&lt;P&gt;Unfortunately the swap command didn't change anything and it still doesn't like it's environment - even though this is now the second time I have installed it afresh.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 09:00:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615899#M95853</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2025-05-19T09:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615900#M95854</link>
      <description>&lt;P&gt;I can't remember exactly Dan - it said something like failed to install, freezing something and then took a few hours and then seemed to successfully install from conda forge - but it's well and truly screwed things up - and I'm surprised at that because I did all this in a cloned environment, not the native ESRI one.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 09:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615900#M95854</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2025-05-19T09:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615909#M95856</link>
      <description>&lt;P&gt;When you clone the arcgispro-py3&amp;nbsp; environment, it still has all the restrictions as its original because arcpy and its dependencies are also installed.&amp;nbsp; The dependencies and what it will allow to be installed are "pinned" (there are 2 "pinned" files... you can use windows explorer to find them in the Pro installation path... which you can see what exactly you must have installed.&amp;nbsp; At one time,&amp;nbsp;&lt;/P&gt;&lt;P&gt;conda install __some_package__ --no-pin&lt;/P&gt;&lt;P&gt;allowed you to quasi-override the pinned packages.&amp;nbsp; This didn't mean that your clone would work perfectly but it would override stuff.&amp;nbsp; Now the list of things that can cause issues grows.&amp;nbsp; For example, there is a huge break with NumPy and its relatives.&amp;nbsp; Currently NumPy 1.26 is installed with Pro 3.5.&amp;nbsp; The current version is 2.2.x and it introduced breaking changes and it has a trickle down effect which won't be addressed until arcpy/arcgisscripting/and others address the changes.&amp;nbsp; So... if there is a package that can't be installed in a clone or even the base arcgispro-py3 environment, it is best to split your work into... requires arcpy... doesn't require arcpy...&amp;nbsp; This necessitates "creating" an environment and installing what your want into it, but stick with the default (aka main) conda channel even if it is a little bit out of date since conda-forge doesn't guarantee everything will work together.&amp;nbsp; Maybe your pygplates would behave if you had installed it in your clone using&lt;/P&gt;&lt;P&gt;conda install -c defaults pygplates&lt;/P&gt;&lt;P&gt;but you would have had the latest and greatest pygplates package but one that might, just might, behave with all the other packages in the clone.&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 09:29:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1615909#M95856</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-05-19T09:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1616817#M95922</link>
      <description>&lt;P&gt;Reinstalling won't help. Try deleting the environment.&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;conda delete -n your_cloned_env&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp; Or in Windows Explorer, delete C:\Users\YOU\AppData\Local\ESRI\conda\envs\your_cloned_env Note AppData is a hidden folder)&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 02:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1616817#M95922</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2025-05-21T02:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1616866#M95924</link>
      <description>&lt;P&gt;Yeh - I tried that - still broken. However I have now deleted every last remnant of Pro and uninstalled everything and cleaned out the Registry - that seems to have done the trick - but what a PITA!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help though.&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 08:01:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1616866#M95924</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2025-05-21T08:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1616867#M95925</link>
      <description>&lt;P&gt;Thanks for the deep dive on this Dan - always interesting to know the finer details about how all these environments are managed. Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 08:01:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1616867#M95925</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2025-05-21T08:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1633338#M97248</link>
      <description>&lt;P&gt;I had luck just removing all other environments and then running&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;conda clean --all&lt;/LI-CODE&gt;&lt;P&gt;to clean up conda. This fixed the package manager crashing issue for me on Pro 3.3&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 20:59:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1633338#M97248</guid>
      <dc:creator>JacobSanua</dc:creator>
      <dc:date>2025-07-15T20:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned Python environment and modified with Conda - crashes Pro!</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1642956#M98311</link>
      <description>&lt;P&gt;I'm not quite desperate enough to toss out all my non-default environments yet, and crashing every time I look at the Environments portion of ArcPro is a minor problem (as long as I remember not to look at the Environments portion of ArcPro), but I'm glad someone posted a viable solution to this particular random Esri bug.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 16:59:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cloned-python-environment-and-modified-with-conda/m-p/1642956#M98311</guid>
      <dc:creator>ODWC_GIS</dc:creator>
      <dc:date>2025-08-18T16:59:14Z</dc:date>
    </item>
  </channel>
</rss>

