Hello. I'm using ArcGIS Pro. I'm doing a project and I would like to be able to replicate my results in the future. Therefore, I would like to use python to run commands in ArcGIS Pro, so that with all the codes saved in a file I could replicate the results in the future.
I've already installed anaconda on my laptop. I used Spyder that comes with anaconda and when I imported arcpy, the error message says "No module named 'arcpy'". Therefore, I followed the following blog to install spyder through ArcGIS Pro: https://community.esri.com/t5/arcgis-pro-blog/installing-spyder-ide-for-arcpro/ba-p/901923. However, when I ran it, a console window showed up. Some messages quickly appeared and disappeared. I could only capture part of the message (spyder.png). I was unable to run Spyder. I have tried uninstalling and reinstalling Spyder through ArcGIS Pro. But that doesn't help. It shows in ArcGIS Pro that the version of Spyder ArcGIS Pro downloaded for me is 3.3.6 (spyder2.png). I went to anaconda and downgraded my python to 3.3.6, but I was still not able to import arcpy.
After all this I sort of giving up on using Spyder to import arcpy. I was wondering for those experienced users of python in ArcGIS Pro, what python editors do you use? And how should I make the python editor able to import arcpy?
Thank you. Any comments are appreciated.