laptop and a wrench

Error

The ArcGIS API for Python MapView widgets on_click() method does not trigger in ArcGIS Notebooks within ArcGIS Pro.

ArcGIS Pro
Número de ID del error BUG-000167756
EnviadoMay 23, 2024
Última modificaciónSeptember 2, 2025
Relacionado conArcGIS Pro
Versión encontrada2.9.12
Sistema operativoWindows OS
Versión de sistema operativoN/A
EstadoKnown Limit

Información adicional

The callback approach was deprecated from the Python API 2.4 release, with a different set of interactive mapping features. This feature relies on the Python API 2.3 series, but unfortunately the versions of ArcGIS Pro which ship with that have conflicts with the ipywidgets library used. This workflow will work in a standalone API 2.3 based environment.

Solución alternativa

Create a standalone Python environment with the ArcGIS API 2.3.x release. This functionality works in standalone notebooks with the Python API 2.3, but not on newer Python API releases.

Pasos para reproducir

ID del error: BUG-000167756

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga