laptop and a wrench

Bug

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

Last Published: November 23, 2018 ArcGIS GIS Server
Bug ID Number BUG-000116496
SubmittedAugust 30, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS GIS Server
Version found10.3.1
Operating SystemWindows OS
Operating System Version2012 R2
StatusWill Not Be Addressed

Additional Information

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

Workaround

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

Steps to Reproduce

Bug ID: BUG-000116496

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options