laptop and a wrench

漏洞

Calling the ArcPy function in a Python script called "production.py" throws AttributeError: 'module' object has no attribute '<arcpy_function>'.

上次发布: November 23, 2018 ArcGIS GIS Server
漏洞 ID 编号 BUG-000116496
已提交August 30, 2018
上次修改时间June 5, 2024
适用范围ArcGIS GIS Server
找到的版本10.3.1
操作系统Windows OS
操作系统版本2012 R2
状态Will Not Be Addressed

附加信息

ArcGIS Desktop (including ArcGIS Engine and ArcObjects) is in mature support and will be retired March 1, 2026. Mature support means the end of functionality-based patches and hotfixes; therefore, this issue will not be addressed. There are no plans for future releases of ArcGIS Desktop, and it is recommended that you migrate to ArcGIS Pro. See Migrate from ArcMap to ArcGIS Pro for more information. https://www.esri.com/en-us/arcgis/products/arcgis-pro/resources/migrate

解决办法

Rename the script to something other than 'production.py'.Alternatively, run the script in Integrated Development Environment (IDLE) in ArcGIS Pro, if available.

重现步骤

漏洞 ID: BUG-000116496

软件:

  • ArcGIS GIS Server

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项