<?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 use  Conda in my cloned environment? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188933#M64888</link>
    <description>&lt;P&gt;You clone, then you activate the environment, then you can continue using the conda command right? Your PATH should still have the original conda.exe on it. The path gets modified when you activate it to add the stuff it needs to the current environment, and then restored when you deactivate. The part of the PATH for the conda command should exist in both environements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 21:38:20 GMT</pubDate>
    <dc:creator>Brian_Wilson</dc:creator>
    <dc:date>2022-07-01T21:38:20Z</dc:date>
    <item>
      <title>How to use  Conda in my cloned environment?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188909#M64886</link>
      <description>&lt;P&gt;I have cloned my python environment using Environment Manager in Pro&lt;/P&gt;&lt;P&gt;So I have this:&lt;/P&gt;&lt;P&gt;C:\Users\xxxxxx\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\Scripts&lt;/P&gt;&lt;P&gt;Question: There is no conda.exe anywhere here. Don't I get a conda.exe when I clone?&lt;/P&gt;&lt;P&gt;The only place I found a conda.exe is here (default install): C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&lt;/P&gt;&lt;P&gt;When you clone,&amp;nbsp; it literally creates a folder called Conda. Why don't I get a conda.exe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reading! Have a good weekend everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 20:45:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188909#M64886</guid>
      <dc:creator>ShawnCarson</dc:creator>
      <dc:date>2022-07-01T20:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use  Conda in my cloned environment?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188929#M64887</link>
      <description>&lt;P&gt;You don't get a copy but you don't need a clone of the conda executable so it does not matter.&lt;/P&gt;&lt;P&gt;What folder are you talking about? I currently have 2 envs that have etc/conda/ folders but those are to hold environment settings.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 21:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188929#M64887</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2022-07-01T21:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use  Conda in my cloned environment?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188933#M64888</link>
      <description>&lt;P&gt;You clone, then you activate the environment, then you can continue using the conda command right? Your PATH should still have the original conda.exe on it. The path gets modified when you activate it to add the stuff it needs to the current environment, and then restored when you deactivate. The part of the PATH for the conda command should exist in both environements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 21:38:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188933#M64888</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2022-07-01T21:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use  Conda in my cloned environment?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188939#M64889</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;Thanks for replying. When you say PATH do you mean environmental variable?&lt;/P&gt;&lt;P&gt;The only way I can fire up conda is to fire up a command prompt then cd to here here:&lt;/P&gt;&lt;P&gt;C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&lt;/P&gt;&lt;P&gt;I can now type&amp;nbsp; conda list (for example) and it works.&lt;/P&gt;&lt;P&gt;I guess I am just trying to understand if conda.exe is in the clone and how to activate it. I may not fully understand the purpose of it. I thought the whole point of cloning and activating was to have mutually exclustive "silos" of my python stuff including conda. I am trying to lern more about conda so don't let me waste too much of your time. Just trying to make sense of the deluge of material (conda, anaconda, miniconda and how it works w/in Pro.)&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 21:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188939#M64889</guid>
      <dc:creator>ShawnCarson</dc:creator>
      <dc:date>2022-07-01T21:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use  Conda in my cloned environment?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188942#M64890</link>
      <description>&lt;P&gt;from a clone.... use conda info&lt;/P&gt;&lt;LI-CODE lang="python"&gt;(pro_3) C:\Users\dan_p\AppData\Local\ESRI\conda\envs\pro_3&amp;gt;conda info

     active environment : pro_3
    active env location : C:\Users\dan_p\AppData\Local\ESRI\conda\envs\pro_3
       user config file : C:\Users\dan_p\.condarc
 populated config files : C:\arc_pro\bin\Python\.condarc
          conda version : 4.9.2
    conda-build version : not installed
         python version : 3.9.12.final.0
       virtual packages : __cuda=11.2=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\arc_pro\bin\Python  (writable)
           channel URLs : https://conda.anaconda.org/esri/win-64
                          https://conda.anaconda.org/esri/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
          package cache : C:\Users\dan_p\AppData\Local\ESRI\conda\pkgs
                          C:\arc_pro\bin\Python\pkgs
                          C:\Users\dan_p\.conda\pkgs
       envs directories : C:\arc_pro\bin\Python\envs
                          C:\Users\dan_p\AppData\Local\ESRI\conda\envs
                          C:\Users\dan_p\.conda\envs
               platform : win-64
             user-agent : conda/4.9.2 requests/2.27.1 CPython/3.9.12 Windows/10 Windows/10.0.22000
          administrator : False
             netrc file : None
           offline mode : False


(pro_3) C:\Users\dan_p\AppData\Local\ESRI\conda\envs\pro_3&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;and&lt;/P&gt;&lt;LI-CODE lang="python"&gt;(pro_3) C:\Users\dan_p\AppData\Local\ESRI\conda\envs\pro_3&amp;gt;conda env list
# conda environments:
#
pro_3                 *  C:\Users\dan_p\AppData\Local\ESRI\conda\envs\pro_3
base                     C:\arc_pro\bin\Python
arcgispro-py3            C:\arc_pro\bin\Python\envs\arcgispro-py3


(pro_3) C:\Users\dan_p\AppData\Local\ESRI\conda\envs\pro_3&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;of course there is&lt;/P&gt;&lt;P&gt;&lt;A href="https://anaconda.cloud/" target="_blank"&gt;Anaconda Nucleus&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="https://anaconda.cloud/conda-cheatsheet" target="_blank"&gt;Conda Cheatsheet: Your Guide to Basic Conda Commands (anaconda.cloud)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It takes a while but it is navigable eventually&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 22:47:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188942#M64890</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-07-01T22:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use  Conda in my cloned environment?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188943#M64891</link>
      <description>&lt;P&gt;PS&lt;/P&gt;&lt;P&gt;I create a desktop shortcut to run&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C:\... ArcGISPro Install Folder\bin\Python\Scripts\proenv.bat&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;with&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Start In&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set to&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C:\... ArcGISPro Install Folder\bin\Python\envs\arcgispro-py3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also, some python IDE's can run conda from within.&amp;nbsp; Spyder, for example, has line magics that allow you to run conda from the editor&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 22:52:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188943#M64891</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-07-01T22:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use  Conda in my cloned environment?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188948#M64892</link>
      <description>&lt;P&gt;I just put the conda.exe I use on my PATH environment variable so that it's always available to me in every shell or IDE. It's the second line here.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 602px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45062i109BA67B6D354BDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 23:34:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188948#M64892</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2022-07-01T23:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use  Conda in my cloned environment?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188976#M64893</link>
      <description>&lt;P&gt;There is a Python Command Prompt that is in the ArcGIS app folder you can use to skip the cd commands.&lt;/P&gt;&lt;P&gt;Starting the Python Command Prompt starts a conda command prompt in the currently active Pro environment.&lt;/P&gt;&lt;P&gt;If you want to change the active env to your clone, its a simple command: activate &amp;lt;your env&amp;gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want set the env to be the active env in Pro, use the command:&amp;nbsp; proswap &amp;lt;your env&amp;gt;.&amp;nbsp; The next time you open the Python Command Prompt, it would start in the env you set and Pro will be set.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 12:16:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1188976#M64893</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-07-02T12:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use  Conda in my cloned environment?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1189421#M64914</link>
      <description>&lt;P&gt;Thanks to BrianWilson DanPatterson and JeffK.&lt;/P&gt;&lt;P&gt;They each provided me the info and solved.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ANSWER: There is only one conda.exe. It lives here:&amp;nbsp;C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&lt;/P&gt;&lt;P&gt;to use conda in your cloned environment, you fire up conda.exe and type this:&lt;/P&gt;&lt;P&gt;activate C:\Users\TheUser\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone&lt;/P&gt;&lt;P&gt;Then when you type this: "conda info" you can confirm which environment you are in. (Thank you DanP)&lt;/P&gt;&lt;P&gt;If you fire up&amp;nbsp; conda.exe&amp;nbsp; without activating your clone, the "conda info" is pointing to your default environment&amp;nbsp; (C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3)&lt;/P&gt;&lt;P&gt;Thanks guys. Would never have figure this out.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 14:22:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-conda-in-my-cloned-environment/m-p/1189421#M64914</guid>
      <dc:creator>ShawnCarson</dc:creator>
      <dc:date>2022-07-05T14:22:57Z</dc:date>
    </item>
  </channel>
</rss>

