laptop and a wrench

Erro

The Calculate Field tool in GeoAnalytics Tools fails to execute from Python API with the error message, "'datetime' is not defined"

Última Publicação: October 10, 2019 ArcGIS API for Python
Número de ID do Erro BUG-000125721
EnviadoOctober 2, 2019
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for Python
Versão encontrada1.6.2
Sistema OperacionalWindows OS
Versão do Sistema Operacional2012 R2
StatusNon-Reproducible

Informações Adicionais

This issue is addressed for the next release of the ArcGIS API for Python.

Solução Provisória

  1. Navigate to the manage_data.py in the folder path (C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\geoanalytics).
  2. Edit the manage_data.py file and add 'import datetime' at the start and save changes to the file.
  3. Restart Jupyter Notebook to reflect changes in the script and confirm that the tool executes successfully from Python API. 

Etapas para Reproduzir

ID do Erro: BUG-000125721

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