Where is the Anaconda Prompt for ArcGis Pro's Miniconda install?

2317
1
06-25-2019 05:36 AM
PhilippZacharias
New Contributor II

Apparantly, ArcGIS Pro saves user created conda envs in C:\Users\userxyz\AppData\Local\ESRI\conda\envs\.

The ArcGIS Pro Python Package manager confirms this:

But when I start the command console by executing "C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\proenv.bat",

I don't see these envs when I do "conda info --envs".

I want to manage my Envs via command prompt. What can I do? Usually, Anaconda installs a shortcut to the "Anaconda Prompt", which executes "%windir%\System32\cmd.exe "/K" C:\anaconda\Scripts\activate.bat C:\anaconda".

Where is the equivalent Anaconda Prompt for ArcGis Pro's Miniconda install?

Why doesn't proenv.bat + "conda info --envs" show my ArcGIS Pro envs?

(I have a separate anaconda install under C:\anaconda so I need to be explicit about this. I know, this is not good, but I didn't really know Pro installs Miniconda when I installed Pro, and I absolutely can't lose the C:\anaconda install, so bear with me here.)

UPDATE:

I just found out, I had started the proenv.bat as administrator, which of course omitted the user envs in my user/%appdata%. Simply starting it with a double click worked.

Duh.

0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus

It might be in windows start, but I just use a shortcut

see also

/blogs/dan_patterson/2017/07/01/arcgis-pro-2-creating-desktop-shortcuts 

0 Kudos