Is there any capability to run arcpro arcpy without working in a conda environment? In ArcGIS 10.7 it is as quick as creating a .pth file with the required paths to arcpy, bin and the toolbox scripts though recreating this file for pro returns the error:
arcpy must be run from inside the Conda environment, which ArcGIS
uses to manage the installation of Python.
You can access this environment by launching Python from the links inside the
"ArcGIS > ArcGIS Pro" Start Menu Group:
"Python Interactive Terminal" starts a Python session.
"Python Command Prompt" opens a Command Prompt window initialized with Conda.
Or by running the proenv.bat file in the terminal:
C:\> C:\Program Files\ArcGIS\Pro\bin\python\scripts\proenv.bat
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 70, in <module> raise ImportError("arcpy needs to run within an active ArcGIS Conda environment") ImportError: arcpy needs to run within an active ArcGIS Conda environment
All I have managed to find on this topic was the question here from two years prior saying that a feature to use external conda installs did not make it with Arcpro 2.1