I have an installation of ArcGIS Desktop on my Win 10 machine with its Python 2.7 installed as well as a previous Python 3.9 installation and would like to be able to use arcpy from python scripts and jupyter, preferably Python 3.
Importing arcpy with python 2.7 works fine. Jupyter however only has the original Python 3 kernel which does not have the arcpy package installed. I have also created a new conda environment with python 2.7 which unfortunately can't seem to install arcpy (conda install arcpy -c esri) and gives the error "Unable to locate a valid Pro or Server installation....".
How am I able to get a conda environment, preferably Python 3, with arcpy working?