<?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: ArcGIS Python environment clone inconsistent in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185379#M56445</link>
    <description>&lt;P&gt;In my base environment&lt;/P&gt;&lt;P&gt;C:\__your_install_folder__\bin\Python\envs\arcgispro-py3\conda-meta&lt;BR /&gt;C:\__your_install_folder__\bin\Python\res&lt;/P&gt;&lt;P&gt;in a clone&lt;/P&gt;&lt;P&gt;C:\Users\__you__\AppData\Local\ESRI\conda\envs\pro_3\conda-meta&lt;/P&gt;&lt;P&gt;In a pinch, I have even resorted to moving the existing pinned file and replacing it with an empty one.&lt;/P&gt;&lt;P&gt;It might break something, but reinstalling Pro takes less time than trying to track down a source of a conda issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifying&amp;nbsp; -c defaults sometimes works when installing or updating packages but I have given up on pip and installing anything from conda-forge because of conflicts.&lt;/P&gt;&lt;P&gt;I usually install packages in the base environment (for example Spyder and other packages) since I have full admin rights to my machine and a&amp;nbsp;&lt;/P&gt;&lt;P&gt;conda install --revisions (desired revision # here)&lt;/P&gt;&lt;P&gt;or Pro reinstall usually fixes any issues with an environment gone wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2022 07:55:05 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2022-06-23T07:55:05Z</dc:date>
    <item>
      <title>ArcGIS Python environment clone inconsistent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185359#M56442</link>
      <description>&lt;P&gt;I have an issue with arcgis-py3 clones.&lt;/P&gt;&lt;P&gt;I just created a clone through the Python Command Prompt (through AGPs UI never worked for me!), and swapped the default environment to the newly created one.&lt;/P&gt;&lt;P&gt;Then I made the attempt to update the arcgis package.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TomGeo_0-1655965666372.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/44112i9E061EEC6486B419/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TomGeo_0-1655965666372.png" alt="TomGeo_0-1655965666372.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;conda update arcgis&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The result on a fresh environment is&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TomGeo_1-1655965737596.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/44113i9D87049909912D20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TomGeo_1-1655965737596.png" alt="TomGeo_1-1655965737596.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went then to &lt;STRONG&gt;jupyterlab&lt;/STRONG&gt;, trying to install jupyterlab-manager, which requires NodeJS. Hence, back to the command prompt and&lt;/P&gt;&lt;P&gt;&lt;EM&gt;conda install nodejs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The result is of course the same. The inconsistency persists.&lt;/P&gt;&lt;P&gt;How can I avoid the inconsistencies, except from not trying to update or install anything?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am on ArcGIS Pro 2.9.0&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 06:49:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185359#M56442</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2022-06-23T06:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python environment clone inconsistent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185361#M56443</link>
      <description>&lt;P&gt;some of the packages can't be updated if they come from the Esri conda channel.&amp;nbsp; Either because they are pinned or break dependencies in the chain.&lt;/P&gt;&lt;P&gt;you try&lt;/P&gt;&lt;P&gt;condal install nodejs --no-pin&lt;/P&gt;&lt;P&gt;and it will search the esri and defaults channels of Anaconda main packages if there is an update available&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 07:02:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185361#M56443</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-06-23T07:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python environment clone inconsistent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185364#M56444</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I am aware that the arcpy package cannot be updated, and did not try. I also did not continue to update the arcgis package when receiving the message.&lt;/P&gt;&lt;P&gt;However, I had a look for the pinned file, at much to my surprise, there is non in the conda-meta directory.&lt;BR /&gt;If there is no pinned file, then where does the system takes the information from that&lt;BR /&gt;a) something is pinned, and&lt;BR /&gt;b) --no-pin will have an effect?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 07:12:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185364#M56444</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2022-06-23T07:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python environment clone inconsistent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185379#M56445</link>
      <description>&lt;P&gt;In my base environment&lt;/P&gt;&lt;P&gt;C:\__your_install_folder__\bin\Python\envs\arcgispro-py3\conda-meta&lt;BR /&gt;C:\__your_install_folder__\bin\Python\res&lt;/P&gt;&lt;P&gt;in a clone&lt;/P&gt;&lt;P&gt;C:\Users\__you__\AppData\Local\ESRI\conda\envs\pro_3\conda-meta&lt;/P&gt;&lt;P&gt;In a pinch, I have even resorted to moving the existing pinned file and replacing it with an empty one.&lt;/P&gt;&lt;P&gt;It might break something, but reinstalling Pro takes less time than trying to track down a source of a conda issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifying&amp;nbsp; -c defaults sometimes works when installing or updating packages but I have given up on pip and installing anything from conda-forge because of conflicts.&lt;/P&gt;&lt;P&gt;I usually install packages in the base environment (for example Spyder and other packages) since I have full admin rights to my machine and a&amp;nbsp;&lt;/P&gt;&lt;P&gt;conda install --revisions (desired revision # here)&lt;/P&gt;&lt;P&gt;or Pro reinstall usually fixes any issues with an environment gone wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 07:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185379#M56445</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-06-23T07:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python environment clone inconsistent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185404#M56446</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, in the res directory of the base environment, there is a pinned file. There is also one in the conda-meta environment.&lt;/P&gt;&lt;P&gt;Looks to me like &lt;EM&gt;conda create --clone arcgispro-py3 --name NAME&lt;/EM&gt; does not create a clone including the pinned file.&lt;/P&gt;&lt;P&gt;To a certain degree that is also what the user wants. I create the clone to be able to install what I need and want. At the same time, the absence of a pinned file, containing at least the packages that can't be updated is rather creating problems, than providing solutions.&lt;/P&gt;&lt;P&gt;I didn't check the order of channels, and would assume the esri channel comes before the conda-forge, but setting -c pointing at conda-forge gave me the same message about the inconsistency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;I usually install packages in the base environment (for example Spyder and other packages) since I have full admin rights to my machine and a&amp;nbsp;&lt;/P&gt;&lt;P&gt;conda install --revisions (desired revision # here)&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How do you install something in your base environment? Do you simply use the command line and --no-pin?&lt;BR /&gt;The pinned files for the base environment are up to the neck full with all the base packages...&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 09:22:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185404#M56446</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2022-06-23T09:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python environment clone inconsistent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185439#M56449</link>
      <description>&lt;P&gt;I should have indicated that cloning through the Package Manager produced the pinned file in my example&lt;/P&gt;&lt;P&gt;I use the command line usually with --no-pin&amp;nbsp; If it doesn't cause any conflicts with what Pro requires, there is usually no problem.&lt;/P&gt;&lt;P&gt;The "pinned" file is just a text file, as you know, which you can copy (for backup purposes of course), if can be duplicated, and moved, you can create a new version of it if you wanted.&amp;nbsp; You can also do this with the conda-arc file and the package .json files that you have probably discovered.&amp;nbsp; The details would probably make a good blog article (python blog) but then people with less familiarity with conda, pinned and json package descriptions might try to do something and get into problems.&amp;nbsp; For those with more experience, I recommend experimenting and using "..... install --revisions ... or a complete reinstall of Pro if needed.&amp;nbsp; I need not say more&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 12:38:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1185439#M56449</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-06-23T12:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python environment clone inconsistent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1285248#M68723</link>
      <description>&lt;P&gt;Did you ever figure out a solution for this? I have the same issue off a fresh 2.9 install and almost exactly the same packages causing the mismatch.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 16:13:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-environment-clone-inconsistent/m-p/1285248#M68723</guid>
      <dc:creator>TylerS</dc:creator>
      <dc:date>2023-05-03T16:13:56Z</dc:date>
    </item>
  </channel>
</rss>

