I have upgraded to ArcGIS Pro 2.9.2 but I am having trouble installing Spyder and managing my virtual environments.
When I clone a virtual environment it does not appear on the list of environments in ArcGIS Pro; if I add it, close and then re-open ArcGIS Pro it still does not appear on the list.
When a cloned environment does appear on the list and I try to install Spyder it appears to go through the installation but in the end nothing is installed.
How can I get Spyder installed?
Thanks
Solved! Go to Solution.
There seems to be an issue with the default environment when using ArcGIS Pro 2.9. I uninstalled 2.9.2, reinstalled 2.9 and had the same problems.
I uninstalled 2.9, reinstalled 2.8 and the 2.8.6 patch and now I am able to install and use Spyder.
We had a lot of trouble with this, but the particular issue we had, seemingly randomly, is that the installation would hang up on installing notebook extensions. Not sure if this is what you’re seeing. Anyway, things to try:
1) Start up ArcGIS Pro from the start menu by choosing the “Run as Administrator” option;
2) Make sure your antivirus software is turned off.
— Andy
I'm not sure if this is related; when I add a cloned environment and click OK I just get a blue bar that keeps going across the bottom of the window.
I'm not sure if my issue is with Spyder or the Python environments.
It’s not Spyder, it’s the cloning process is failing before you even try to add it.
That explains it.
How do I fix the clone? I tried installing Spyder using command line and it keeps giving me errors that a bunch of packages conflict.
Do I need to uninstall ArcGIS Pro and reinstall it first?
Delete the failed clone.
1) Start up ArcGIS Pro from the start menu by choosing the “Run as Administrator” option;
2) Make sure your antivirus software is turned off.
Make a new clone.
If you must use a clone, then see their instructions on how to connect spyder's editor to the python.exe in Pro's environment
Installation Guide — Spyder 5 documentation (spyder-ide.org)
I usually do a
>>> conda install spyder --no-pin --dry-run
in the base environment. Drop the --dry-run when you get a feel for what will be installed.
You can install a spyder 5.1.5 from the anaconda site. They are exceptionally slow in updating packages
It’s really easy to add Spyder from within ArcGIS Pro once you’ve cloned the environment.
There is always something wrong with the cloned environment every time I make a clone. Is it possible there are problems in the default environment?
I may try reinstalling ArcGIS Pro.
There seems to be an issue with the default environment when using ArcGIS Pro 2.9. I uninstalled 2.9.2, reinstalled 2.9 and had the same problems.
I uninstalled 2.9, reinstalled 2.8 and the 2.8.6 patch and now I am able to install and use Spyder.