laptop and a wrench

Erro

Installing ArcGIS API for Python via PIP installs ipywidgets version 8.0.4 which is incompatible with the Jupyter Notebook.

Última Publicação: January 30, 2023 ArcGIS API for Python
Número de ID do Erro BUG-000155321
EnviadoJanuary 24, 2023
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for Python
Versão encontrada2.0.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
Versão FixaQ4 2023
StatusFixed

Solução Provisória

From a command prompt:

  1. Downgrade the ipywidgets package to version 7.7 by entering pip install ipywidgets==7.7.0.
  2. Start a Jupyter notebook by entering The Jupyter Notebook.
  3. Once the new tab opens, create a new notebook with Python 3 as the kernel.
  4. In the first cell of the notebook, enter the following code to create a GIS object and a map view using the arcgis package:

from arcgis.gis import GIS

my_gis = GIS()

m = my_gis.map()

m

Notice the map view widget now loads appropriately.

Etapas para Reproduzir

ID do Erro: BUG-000155321

Software:

  • ArcGIS API for Python

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download