This is a mini guide to installing the spyder IDE so it works for ArcPro and is arcpy aware. Just upgraded ArcPro to the latest version? See end of article for top tip.
ArcPro is 64 bit and the version of Python it uses is 64 bit so you need an IDE that will work with a 64 bit version. As of version 2.4.2 of ArcPro it is using Python 3.6.8 in the Anaconda environment.
If you have gone to the Spyder website, downloaded it directly and installed it then that was the wrong thing to do! Uninstall it.
Install instructions
Having installed spyder how do you actually run it? Well the way I do that is to create a short cut to it and place that on my desktop. You will find the application here:
C:\Users\xxx\AppData\Local\ESRI\conda\envs\yyy\Scripts\spyder.exe
xxx = Your user login
yyy = Your chosen name for the cloned environment
My desktop icons:
I want to share with you a few ideas for you to investigate....
I recently upgraded from 2.8 to 2.9 and this broke my python environment, I eventually tracked it down to the fact I had previously installed (following ESRI's recommended steps) the deep learning libraries and this was causing spyder to fail to install in the new cloned environment because of incompatibility issues with some of the python modules. I did the following:
This then allowed me to successfully clone the python environment and then install spyder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.