Recently, I had a need to automate some GIS operations using ArcGIS Pro and the ArcPy Python site package. As of version 1.3, ArcGIS Pro ships with Anaconda as its Python installation, which makes it easier to work with ArcGIS as part of a broader data science workflow. I wanted to do my work in my Python IDE of choice, Yhat’s Rodeo; however, this didn’t work out of the box. I’m sharing the process I used to connect Rodeo to ArcGIS Pro’s Anaconda Python 3.
For IDEs to access ArcGIS Pro licensing regardless of whether or not you have an internet connection, you’ll need to enable offline access. Click the Projects tab in ArcGIS Pro, then choose the Settings option; scroll down and check the appropriate box.
Next, click the Python option from the menu on the left. From here, search for the jupyter package and install it, which should install Jupyter and its associated libraries. This step is necessary to get Rodeo to work with ArcGIS Pro.
Now, launch your Rodeo application, and click Rodeo > Preferences to switch its conda environment. Click the Python tab, and change your Python Command by navigating to the Python executable associated with the arcgispro-py3 conda environment; you can find it where ArcGIS Pro is installed on your machine in
Click OK, import arcpy, and write scripts to automate ArcGIS as usual!