I updated to Arcgis Pro 2.9 and now I am unable to use spyder. I was able (once!) to get a version (5.x) of spyder up and running, but unfortunately, to do so broke my numpy version and the rollback to a previous version was unsuccessful.
Now, when I clone the default environment, spyder 3.7 is installed (not 5.x) and is not able to connect to the correct interpretter. I have tried setting it manually using the preferences in spyder, but this doesn't work.
You won't be able to update spyder to 5.3.x either since it hasn't been updated in the anaconda site for at least 4 months. If you need the most recent version of spyder, use one of their installer in a separate environment devoid of arcpy and arcgis.
Thanks for the information. Unfortunately, that did not work. It resulted in a lot of version inconsistencies/incompatibilities (too many to list here). I have tried to find out if there is a mismatch between spyder 5.1.5 and python 3.7.11, but can't find any information. I am trying to install spyder in a clone of arcgispro-py3. The behavior of conda when trying to install spyder is different depending on if I attempt to install in arcgispro-py3 or a arcgispro-py3-clone. When installing in arcgispro-py3, conda attempts to downgrade arcgispro to 2.7 (which is what I am trying to avoid), while this doesn't happen with the clone.
Hello, I have just updated ArcGIS Pro 3, and it does not appear to be able to install Spyder via the clone method or the command prompt. I am going to roll back to the previous version of ArcGIS and see if that fixes things.
After a lot of flailing around I was finally able to get Spyder installed with ArcGIS Pro 2.9. I think these are the steps - my objective was to upgrade from ArcGIS Pro 2.8.3 to 2.9 and get Spyder to use the python modules shipped with 2.9
Thanks for posting plan C. I created a clone environment and when attempting to install the Spyder package it would fail every time. I open the Python Command Prompt and typed in pip install spyder and it appears to be downloading with all the dependencies. Currently using ArcGIS Pro 3.1.0.
I have recently updated ArcPro to ArcPro 3.1.0 but now I am having issues re-installing Spyder. I have made a "clean" ArcPro uninstall ( -uninstall-of-arcgis-pro/) and tried to install Spyder again (using "conda install spyder --no-pin --dry-run" first, as Dan Patterson suggested, -pro-questions/arcgis-pro-2-9-2-unable-to-install-spyder/td-p/11...) but still having troubles. Any idea on what is going on?
There are issues with esri's supported versions of ipython/jupyter_client. You are missing ipython from initial appearances, so esri has an older version of spyder on the esri channel so if you want 5.1.5 then drop the --no-pin and try it in your clone.
thanks for the help. In the meantime I followed another advice of yours in other posts and installed spyder in the base environment. It worked, but I cannot import arcpy... I will try with 5.1.5 in a clone.
ArcGIS Pro 3.1.0 version update broke my spyder installation, i ve tried everything from manual installing all dependencies to uninstall and reinstall ArcGIS Pro and deleting all its folders but still i cannot install spyder package (i tried with all available versions i.e 5.2.2, 5.3.3, 5.4.1, 5.4.2) . I am not quite sure but i believe that spyder's working version with ArcGIS Pro 3.0.3 was 5.1.5.
I use Spyder without Anaconda (I also find Anaconda bulky and it takes control of your system). You can just download Spyder from the Spyder website. Installing packages is simply a matter of doing pip install in the Ipython window which Spyder provides. That is what I would recommend and what I do.
Additionally, there are a number of other Conda distributions besides just Anaconda; I typically recommend Miniforge/Mambaforge, which are lightweight and just come with Conda to start, and are pre-configured to use the Conda-Forge channel which has a much wider selection of up to date packages than the Anaconda default. You can use standalone Spyder with these (recommended, and in fact the above FAQ walks you through that step by step), or you could install Spyder itself with them instead (ideally in its own environment),
Glad I came upon this post. I just downloaded Spyder yesterday. I have IDLE v3.12 already installed. I just pointed Spyder to point to this interpreter along with installing spyder from the command prompt:
Along with giving Spyder access to my previously installed packages, it also updated the editor / interpretor version since the current Spyder installation comes with Python v3.8. Another bonus, which IDLE lacks, is allowing you to automatically stack both the editor and output console, and allowing you to scroll horizontally which greatly eases the development (among many other benefits).
Another bonus, which IDLE lacks, is allowing you to automatically stack both the editor and output console, and allowing you to scroll horizontally which greatly eases the development (among many other benefits).
Indeed; with Spyder, you have a ton of options for window customization: a bunch of default presents to emulate different IDEs, the ability to move, resize and dock/undock/pop out the editor, console and all the other panes around however you like, opening multiple editor tabs, panels, windows or even full editors on different screens, and opening as many consoles as you like, even in different environments.
To get Spyder to work with your existing environments, you just need to install a compatible version of the much more lightweight spyder-kernels package, which Spyder will give you the exact conda and pip commands for if you try to start a kernel in an environment with an incompatible version (and in the future, will offer to optionally install it for you automatically).
At the time of downloading Spyder, and not being familiar with any of its intricacies, I just happened to try the pip install command since I had no access to the packages that I had already download from IDLE. Prior to this, I had also tried pointing to the python.exe already installed from IDLE, and it did not work. That is when I thought about the pip install spyder command in the command prompt. Glad it worked, tbh. But, as you stated above, if you can automate this somehow, that would be great.
Yes, I think that you are correct. I believe that that was the message. Like I stated before, not being familiar with Spyder (first day), and not being familiar with the kernel (I did not want to go on an in depth google search either), I just happened to try the command in the command prompt. By sheer coincidence, this happened to work.
c80f0f1006