<?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: clone python env is not the same if I do it with ArcGIS Pro 2.6 or on the commandline in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/clone-python-env-is-not-the-same-if-i-do-it-with/m-p/65499#M5381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you got it working then?&amp;nbsp;For me the following works&amp;nbsp;...&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;conda create &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;clone arcgispro&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;py3 &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;name arcgispro&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;clone&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't clone my environments very&amp;nbsp;often, so I'm not sure how many others way to do this there are. The&amp;nbsp;export route works for me when I try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# Pick the environment to clone&lt;/SPAN&gt;
activate &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;your&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;environment&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# Dump the environment into a file&lt;/SPAN&gt;
conda env export &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; c&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;\temp\test&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;yaml

&lt;SPAN class="comment token"&gt;# Create new environment from that file&lt;/SPAN&gt;
conda env create &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;file c&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;\temp\test&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;yaml &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;n test‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 22:31:53 GMT</pubDate>
    <dc:creator>Arne_Gelfert</dc:creator>
    <dc:date>2021-12-10T22:31:53Z</dc:date>
    <item>
      <title>clone python env is not the same if I do it with ArcGIS Pro 2.6 or on the commandline</title>
      <link>https://community.esri.com/t5/python-questions/clone-python-env-is-not-the-same-if-i-do-it-with/m-p/65497#M5379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;What is the best way to cloen python? I like to add new modules and in a old post I read that I sholud not install them (pip install ....) to the default env (arcgispro-py3). So I cloned Python wih ArcGIS Pro but with&amp;nbsp;conda env list I could not find the cloned env. How can I clone on the commandline the python env? I wolud like to setup a Python env&amp;nbsp;reproducible. Does&amp;nbsp;conda create --name myClone --clone arcgispro-py3 the same as a clone with ArcGIS Pro? CanI share this env also with others?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Aug 2020 11:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/clone-python-env-is-not-the-same-if-i-do-it-with/m-p/65497#M5379</guid>
      <dc:creator>StefanFlury1</dc:creator>
      <dc:date>2020-08-09T11:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: clone python env is not the same if I do it with ArcGIS Pro 2.6 or on the commandline</title>
      <link>https://community.esri.com/t5/python-questions/clone-python-env-is-not-the-same-if-i-do-it-with/m-p/65498#M5380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if I do a clone wtith conda clone I can add this new environment to ArcGIS Pro. If I do it with conda-env export ... and conda-env creat I can't add the new environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Aug 2020 11:56:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/clone-python-env-is-not-the-same-if-i-do-it-with/m-p/65498#M5380</guid>
      <dc:creator>StefanFlury1</dc:creator>
      <dc:date>2020-08-09T11:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: clone python env is not the same if I do it with ArcGIS Pro 2.6 or on the commandline</title>
      <link>https://community.esri.com/t5/python-questions/clone-python-env-is-not-the-same-if-i-do-it-with/m-p/65499#M5381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you got it working then?&amp;nbsp;For me the following works&amp;nbsp;...&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;conda create &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;clone arcgispro&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;py3 &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;name arcgispro&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;clone&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't clone my environments very&amp;nbsp;often, so I'm not sure how many others way to do this there are. The&amp;nbsp;export route works for me when I try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# Pick the environment to clone&lt;/SPAN&gt;
activate &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;your&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;environment&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# Dump the environment into a file&lt;/SPAN&gt;
conda env export &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; c&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;\temp\test&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;yaml

&lt;SPAN class="comment token"&gt;# Create new environment from that file&lt;/SPAN&gt;
conda env create &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;file c&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;\temp\test&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;yaml &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;n test‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:31:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/clone-python-env-is-not-the-same-if-i-do-it-with/m-p/65499#M5381</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-12-10T22:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: clone python env is not the same if I do it with ArcGIS Pro 2.6 or on the commandline</title>
      <link>https://community.esri.com/t5/python-questions/clone-python-env-is-not-the-same-if-i-do-it-with/m-p/65500#M5382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I got it working. And I could also add new modules and update existing modules. Problem solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 04:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/clone-python-env-is-not-the-same-if-i-do-it-with/m-p/65500#M5382</guid>
      <dc:creator>StefanFlury1</dc:creator>
      <dc:date>2020-08-11T04:23:35Z</dc:date>
    </item>
  </channel>
</rss>

