I have been unable to clone the default Python environment in ArcGIS Pro.
How do I install Conda so that running the following command will create the clone?
Nice one!
This issue has been resolved with help from ESRI tech support. I had to change the path in <USER>\AppData\Local\ESRI\conda\envs\proenv.txt from an old clone back to the path of the default Python environment, C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3. I then followed the instructions at https://support.esri.com/en/technical-article/000020560.
Bringing Kory Kramer into the fold; I'm past the point of calling technical support, and my guess is that adding packages is a 'customization'. If that is in fact the case, users on on their own; that was my experience with an ESRI solution recently. I mentioned in my other post at that time we had two complaints; myself and one other. Now it seems to be a trend.
I think that people having cloning issues should really report these to Technical Support.
They might notice... be a storm trooper not a Dolly
On that final note... I don't use clones and I install everything in the base environment, but my machine is MY machine.
If things go bad... deleting/renaming all folders related to esri (there are only a few) and re-running the install from the *msi can be completed over a coffee break.
What was the error? You never did report what it was
I was hopeful based on this post that the same would work for me, but no such luck.
Yesterday I was able to complete my clone for 2.6. I have a directory at the C: level called EnvClones and that's where I send my clones to, calling them what makes sense like (drum roll) clonepor26.
I don't like using the esri default clone location as it involves way more digging than I care to.
Once I got the clone created, I use conda to install spyder. I was having a problem with another package clobbering spyder when I added that package with conda, so I used pip to install it and things seem to be behaving as they should. At least for now.
Cloning and ArcGIS seems to have a little attitude; someday maybe it'll get better instead of worse.
I had to completely uninstall 2.6 (which was an update from 2.5). Download 2.6 from MyEsri, reinstall and only then could I clone the default environment..
Other cloning issues, not directly related perhaps...
https://community.esri.com/thread/257842-another-pro-26-clone-problem
I'm also having issues with cloning after installing ArcGIS Pro 2.6.
The cloning starts, then I get Windows error messages saying "Python has stopped working" over and over again. I assume this is python failing to install each package. I then Ctrl Alt Del ArcGIS Pro.
I've got Pro installed entirely on a partition separate to C drive, tried the uninstall > purg "Arc*" and "Esri*" > reinstall method 🙂 . I have admin privileges.
I don't have the installation for 2.6 (install 2.5 then update through that). Maybe that's the issue? Will try that when I get access from our org admin.
"an error" ... that would be the key to report.
If I were you... Windows, Add/Remove, Remove to uninstall 26 and clean up (eg rename folders related to esri in your Users folder, delete folders in c:\Programs etc after the uninstall)
... reinstall 2.6 (I download the *.exe, run it, keep the *.msi and *.cab file and install from the *.msi where I want it)
... try the clone again
but that is just me
Thanks for this. I tried writing the clone to the directory that the default Python environment is in. I got an error message and nothing was written there (it didn't like the space in the directory name). Folders were created in my "user" profile for the clones that I tried to write there. I also created a new folder in C:\ for clones. A folder was created but an error was returned in Pro.
I'm not sure I understand what you are suggesting I try. After a restart, I shortened the name to clone1 and kept the path to my "user" profile. Were you saying to try writing the clone to the directory that the default Python environment is in?
I don't clone, other than for demos, but this might help as a process
/blogs/dan_patterson/2020/02/09/clone-arcgis-pro-25
It wants the clone to go to your "user" profile
%LocalAppData%\Esri\conda\envs
Python Package Manager—ArcGIS Pro | Documentation
And I assume you have admin rights of some level
Check your path and I would use a shorter name as a check (like 'clone26')
PS
a shut down, restart is also recommended
Thanks Dan. I tried the latter just now and got the same error message.
Did you click "Clone Default" or did you click "Clone" (over by "Remove").
If the former, try the latter
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.