Calling the ArcPy function in a Python script called "production.py" throws AttributeError: 'module' object has no attribute '<arcpy_function>'.
上次发布: November 23, 2018ArcGIS 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.