PROBLEM
In the Python backstage, creating a new environment or cloning the existing 'arcgispro-py3' folder seems to succeed, but activating the environment and restarting the application results in 'arcgispro-py3' being active.
Consulting the conda_log.txt file (located in %LocalAppData%/ESRI/conda/conda_log.txt) reports one of the following errors:
Error: CondaError: Cannot link a source that does not exist.
Error: The environment C:\Users\<username>\AppData\Local\ESRI\conda\envs\envname doesn't contain NumPy, which is required for ArcGIS Pro.
The contents of C:\Program Files\ArcGIS\Pro\bin\python\pkgs are disorganized. While upgrading from 2.1 to 2.2, the *.pyc files are deleted. This causes Conda to fail when building and installing packages.
The packages are built using 2.1, but the process of getting the machine from ArcGIS Pro 2.1 to 2.2 leaves the folders in a disorganized state.
Remove certain contents from the folder, as specified below. Making these changes requires administrative privileges.
Warning: When performing to the next step, do not delete the pkgs/cache folder.
Get help from ArcGIS experts
Download the Esri Support App