laptop and a wrench

漏洞

Using a wildcard ('*') to import all from the arcgis.geometry module ("from arcgis.geometry import *") will output attribute error: "module 'arcgis.gis' has no attribute 'x" when running code with the ArcGIS API for Python version 2.4.

ArcGIS API for Python
漏洞 ID 编号 BUG-000173067
已提交December 16, 2024
上次修改时间December 24, 2024
适用范围ArcGIS API for Python
找到的版本2.4
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本2.4.1
状态Fixed

附加信息

Have a fix underway

解决办法

Import the necessary geometry modules by specifying them individually: "from arcgis.geometry import Point, Polyline, Polygon, Geometry"

重现步骤

漏洞 ID: BUG-000173067

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项