I updated to Pro 2.2.0 today and noticed the default python environment is now read-only. The previously downloaded packages I had were wiped out with the new update. I need to get the package, spyder, back into my environment. So, I cloned the arcgispro-py3 environment in order to make the install.
Notice that the window says, "Restart ArcGIS Pro for your environment changes to take effect."
So, I clicked 'Exit'.
After the program restarted, I no longer have a cloned environment to select.
Can someone please help?
Solved! Go to Solution.
I suggest we wait on a comment/resolution/workaround from George Thompson and Kory Kramer
I think some people at ESRI are working overtime right now... hope to see a fix in a 2.2.1 release soon.
Same issues occur in my update to ArcGIS Pro 2.2. Wipes out my previously installed packages and dependencies and leaves me with no possibility to clone the existing environment folder. After the update ArcGIS Pro keeps throwing away the path to the cloned environment. This tutorial is then of no use: The Python Package Manager—ArcPy Get Started | ArcGIS Desktop . It's nice to see that ESRI tries to improve their ArcGIS Pro software, just a shame that they mostly don't manage the updates very well and that there seems to be a high risk of updating their software. It's so enormously time-consuming:-(
I noticed that when a new env was created, not all the files from the default arcgispro-py3 env were copied over. Therefore I experimented with copying the default env folder directly. I think I found a workaround for getting ArcGIS Pro to recognize the env:
However, I cannot seem to install the Spyder package (I haven't tried other packages), it seems stuck and won't finish the install. I am wondering if the issue I raised a few weeks ago could be causing issues: Why is Spyder 3.2.8 not working with ArcGIS API for Python 1.4.1? Note that the default env includes ArcGIS API for Python 1.4.1.
Any feedback or adjustments on this workaround is appreciated. Thanks.
Hi James,
Thanks for posting this. I can confirm your workaround seems to work. Once I manually copied and renamed the default 'arcgispro-py3' environment to my user profile, I could indeed install new packages and make the change of the environment stick in Pro, instead of being thrown back to the default environment.
So I can now finally get to work.
I did not remove the 'read-only' property of the folder by the way, just copied and attempted to install a new package in the copied environment. You are correct about the 'proenv.txt' being generated as well, I saw that too. I haven't tried to install the Spyder package by the way, I just need pyodbc for now.
Thanks Marco. I edited my response by crossing out the read-only step.
Thanks!... worked for me. Was about to tear my hair out trying to install the utilsolutions package
Just tried this workaround and it worked fine. Thanks!
Thank you, Marco. Tried all the other suggestions and nothing worked.
Found this workaround to be a tremendous help.
Thanks.