<?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: How to clone the ArcGIS Pro 3 Python environment? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1388150#M79469</link>
    <description>&lt;P&gt;It's nice with Conda that you just need to copy the entire folder and conda will still find it and work normally. (It won't freak out when it sees a folder it did not create)&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 17:16:47 GMT</pubDate>
    <dc:creator>Brian_Wilson</dc:creator>
    <dc:date>2024-02-28T17:16:47Z</dc:date>
    <item>
      <title>How to clone the ArcGIS Pro 3 Python environment?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387368#M79376</link>
      <description>&lt;P&gt;ArcGIS Pro is installed in an extremely hostile government environment with extreme security measures and "isolated from the internet".&lt;/P&gt;&lt;P&gt;So the following sites cannot be accessed&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://conda.anaconda.org" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://conda.anaconda.org&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://repo.anaconda.com" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://repo.anaconda.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Adding the sites to the allowlist in the network's firewall settings was rejected by the administrators.&lt;/P&gt;&lt;P&gt;Is there still a way to get a clone of the arcgispro-py3 environment?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 14:26:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387368#M79376</guid>
      <dc:creator>JörgEbert</dc:creator>
      <dc:date>2024-02-27T14:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to clone the ArcGIS Pro 3 Python environment?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387416#M79382</link>
      <description>&lt;P&gt;I think that, first you must work in your device that is connected to the Internet first (clone step). Then, install some library there that you need to comply for project requirement. After that copy that environment folder to a flash disk or external drive. Final step is to copy the env folder to your client device. Lastly, change the Arcgis pro environment to the environment folder.&lt;/P&gt;&lt;P&gt;Notes, you must have a similar version of ArcGIS Pro between your connected device and your client.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps you&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 15:23:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387416#M79382</guid>
      <dc:creator>AlexanderDanielPratama</dc:creator>
      <dc:date>2024-02-27T15:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to clone the ArcGIS Pro 3 Python environment?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387564#M79395</link>
      <description>&lt;P&gt;Conda is already installed with ArcGIS Pro, you can use it. On my machine right now the Esri version of Conda is super slow, I will ignore that for the moment.&lt;/P&gt;&lt;P&gt;Find the install location. On my computer, (running Windows 11 with ArcGIS Pro 3.2), I use environment variables. I set CONDA_PATH to C:\Program Files\ArcGIS\Pro\Python\Scripts then add %CONDA_PATH% to the PATH.&lt;/P&gt;&lt;P&gt;It wanted me to do this to set up the shell: conda init powershell&lt;/P&gt;&lt;P&gt;Then open a new Powershell and try running "conda info" and see what it says.&lt;/P&gt;&lt;P&gt;On my machine the output looks like this&lt;/P&gt;&lt;LI-CODE lang="c"&gt;PS C:\Users\bwilson&amp;gt; conda info

     active environment : arcgis_tools
    active env location : C:\Users\bwilson\AppData\Local\ESRI\conda\envs\arcgis_tools
       user config file : C:\Users\bwilson\.condarc
 populated config files : C:\Program Files\ArcGIS\Pro\bin\Python\.condarc
                          C:\Users\bwilson\.condarc
          conda version : 4.14.0
    conda-build version : not installed
         python version : 3.9.18.final.0
       virtual packages : __cuda=12.0=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Program Files\ArcGIS\Pro\bin\Python  (read only)
      conda av data dir : C:\Program Files\ArcGIS\Pro\bin\Python\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
                          https://conda.anaconda.org/esri/win-64
                          https://conda.anaconda.org/esri/noarch
          package cache : C:\Users\bwilson\AppData\Local\ESRI\conda\pkgs
                          C:\Program Files\ArcGIS\Pro\bin\Python\pkgs
                          C:\Users\bwilson\.conda\pkgs
       envs directories : C:\Program Files\ArcGIS\Pro\bin\Python\envs
                          C:\Users\bwilson\AppData\Local\ESRI\conda\envs
                          C:\Users\bwilson\.conda\envs
               platform : win-64
             user-agent : conda/4.14.0 requests/2.31.0 CPython/3.9.18 Windows/10 Windows/10.0.22631
          administrator : False
             netrc file : None
           offline mode : False&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that I have it reading a .condarc file too, I believe this is mostly for Miniconda but my file has this in it.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;channels:
  - conda-forge
  - defaults
envs_dirs:
  - C:/Program Files/ArcGIS/Pro/bin/Python/envs
  - C:/Users/bwilson/AppData/Local/ESRI/conda/envs&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point I can run any Conda commands, so I can list out what environments exist, "conda env list" and I can clone one and activate it and use it.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;(base) PS C:\Users\bwilson&amp;gt; conda create --name=myclone --clone arcgispro-py3
(base) PS C:\Users\bwilson&amp;gt; conda activate myclone
(myclone) PS C:\Users\bwilson&amp;gt; python
&amp;gt;&amp;gt;&amp;gt; import arcpy
&amp;gt;&amp;gt;&amp;gt; arcpy.__version__
'3.2'
&amp;gt;&amp;gt;&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have worked in constrained environments before, I used to keep copious notes on what tools I could use. They did let me plug in a thumb drive (really not a good idea for security!) and I kept lots of "portable" versions of tools on there.&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 17:10:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387564#M79395</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2024-02-27T17:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to clone the ArcGIS Pro 3 Python environment?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387584#M79398</link>
      <description>&lt;P&gt;There is the option for offline installation of packages, but you would probably have to download the required package elsewhere.&lt;/P&gt;&lt;P&gt;&lt;A href="https://conda.io/projects/conda/en/latest/user-guide/concepts/installing-with-conda.html" target="_blank"&gt;Installing with conda — conda 24.1.3.dev36 documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BUT if what you need has a lot of dependencies that aren't already installed, it won't work.&lt;/P&gt;&lt;P&gt;In that situation, getting IT to sit at your machine and do the installs for you might be your only course of action.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 17:25:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387584#M79398</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-02-27T17:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to clone the ArcGIS Pro 3 Python environment?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387587#M79400</link>
      <description>&lt;P&gt;Further research on the slowness of Esri conda, it looks like it's the version (not so very old = 2022) they are using, it's been fixed. Sorry you will not be able to use a current version in your environment.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 17:26:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387587#M79400</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2024-02-27T17:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to clone the ArcGIS Pro 3 Python environment?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387913#M79429</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;​&lt;SPAN&gt;Thanks for the tip!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Before packages are installed, a clone of the Python environment installed with ArcGIS Pro has to be created and that doesn't work with the extremely limited internet access.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;It seems the best solution in this specific case is that of&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387416#M79382" target="_self"&gt;AlexanderDaniel_Pratama&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Create a Python environment (including the additional packages) on an external computer with "unrestricted" Internet access and the same ArcGIS Pro installation/version and transfer it to the target computer.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Feb 2024 09:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387913#M79429</guid>
      <dc:creator>JörgEbert</dc:creator>
      <dc:date>2024-02-28T09:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to clone the ArcGIS Pro 3 Python environment?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387932#M79432</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;It seems this is a quick and practical solution in this particular case.&lt;BR /&gt;Create the Python environment (including the additional packages) on an external computer, i.e. on a computer with "unrestricted" Internet access and the same ArcGIS Pro installation/version, and transfer it to the target computer.&lt;BR /&gt;I will try with &lt;A href="https://www.anaconda.com/blog/moving-conda-environments" target="_self"&gt;Conda Pack&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But it is completely incomprehensible to me why there is no option to create a clone, i.e. an "unchanged" copy of the existing Python environment without Internet access.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 09:51:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1387932#M79432</guid>
      <dc:creator>JörgEbert</dc:creator>
      <dc:date>2024-02-28T09:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to clone the ArcGIS Pro 3 Python environment?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1388150#M79469</link>
      <description>&lt;P&gt;It's nice with Conda that you just need to copy the entire folder and conda will still find it and work normally. (It won't freak out when it sees a folder it did not create)&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 17:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-clone-the-arcgis-pro-3-python-environment/m-p/1388150#M79469</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2024-02-28T17:16:47Z</dc:date>
    </item>
  </channel>
</rss>

