Is there a way to use ArcPy without having ArcGIS Pro?
I am currently using ArcMap 10.8 and am trying to set up a conda environment that is compatible. However, I'm having trouble finding the esri packages I need to install and all tutorials I find are made specifically for ArcGIS Pro.
I found a couple solutions here: Making separate Python installation that can call ArcPy?, but they're pretty dated. I am considering trying the provided script:
try:
import archook #The module which locates arcgis
archook.get_arcpy()
import arcpy
except ImportError:
# do whatever you do if arcpy isnt there.
but if there is an esri-approved way to import arcpy without Pro, I'd prefer that. I just can't find it.
c:\python27\ArcGIS10.9x64(on windows). There's also python 3.x, easiest way to get at that one is with windows start button to pick Python3 Command Prompt. The python 3.x is deployed using a conda environment. wrt arcpy, they're very similar between ArcMap and Pro (with some known exceptions, primarelyarcpy.mapping). – gotchula Dec 25 '20 at 06:31