ERROR

ERROR conda.core.link:_execute_actions(337)

Last Published: April 25, 2020

Error Message

When cloning the default Python environment in ArcGIS Pro, the cloning fails with the following error returned:

Error:   
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'defaults::ipykernel-5.1.2-py36h39e3cac_0'.
LinkError: post-link script failed for package defaults::ipykernel-5.1.2-py36h39e3cac_0
running your command again with `-v` will provide additional information
location of failed script: <environment location>
==> script messages <==
<None>

Attempting to roll back.


LinkError: post-link script failed for package defaults::ipykernel-5.1.2-py36h39e3cac_0
running your command again with `-v` will provide additional information
location of failed script: <environment location>
==> script messages <==
<None>
Screenshot of the error in ArcGIS Pro

Cause

The access level used to run ArcGIS Pro lacks the permission to install some Python packages.

Solution or Workaround

Run ArcGIS Pro as an administrator, and clone the default Python environment.

Article ID: 000022921

Software:
  • ArcGIS Pro

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options