I'm trying to create a comprehensive machine learning and GIS processing environment in Python 3.7. I'm using the Anaconda distribution. I have ArcGIS Pro 2.2 and ArcGIS Desktop 10.6.1 installed (I think). I've installed the ArcGIS API for Python, which mostly works, however, any process involving the displaying of a map or importing ArcPy fails. Is there a way to install or point ArcPy so that it can be used in my Anaconda environment?
Arcpy is installed in a particular manner in a conda distribution managed by esri. It requires that you use "their" python and if you plan to use arcpy, then install ArcGIS Pro (if you haven't already) and it will be available to you.
You won't be able to successfully/(easily) access arcpy from the "outside world".
Python 3.7 adds some nice features, some of which were back candidates to 3.6 but there are no major breaks on the python side that will cause you issues.
The main reason I am using Python 3.7 it is the standard release that my team is using. I'd rather stick with the group standard if possible, but if this is not a viable option, I will to revert to 3.6.