PROBLEM

Unable to copy and paste in Python notebooks in ArcGIS Pro

Last Published: September 18, 2023

Description

In some instances, attempts to copy and paste code within the code cells of Python notebooks using the keyboard shortcuts in ArcGIS Pro fail.

The the copied code cannot be pasted in a new cell.

Cause

  • The keyboard shortcuts are disabled because the Notebook view is inactive.
  • The ArcGIS Pro projects are corrupted.

Solution or Workaround

Activate the Notebook view

In ArcGIS Pro, to enable the keyboard shortcuts, click the Map tab or other tabs before re-clicking the Notebook tab.

The copied code managed to be pasted in a new code cell after activating the Notebook pane.

Close and reopen the notebook

In ArcGIS Pro, close the notebook and reopen it.

Restart ArcGIS Pro

Close the current session of ArcGIS Pro, and restart the local machine.

Article ID: 000031068

Software:
  • ArcGIS Pro 3 1
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 9x

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