Repair a conda environment using the Package Manager page.
Repairing an environment will restore an internal module to the environment that ArcPy relies upon.
- On the ribbon, click the Project tab.
The settings page appears.
- In the list of side tabs, click Package Manager.
The Package Manager page appears.
- Click the Environment Manager button .
The Environment Manager dialog box appears.
An environment that needs to be repaired will be identifiable by a Warning icon and a Broken Environment. Cannot be activated. warning message.
- Click the Repair button on the row representing the environment you want to repair.
Alternatively, right-click the row representing the environment, and select Repair.
Repairing an environment may take several minutes. You can monitor progress in the Tasks section of the Package Manager page.
The environment is repaired.