laptop and a wrench

Bug

The arcgis.features.GeoAccessor.to_featurelayer method returns an error message, "AttributeError: module 'numpy' has no attribute 'int'." when executed with ArcGIS Python API 2.1.0.2 and NumPy 1.24.2.

Last Published: April 14, 2023 ArcGIS API for Python
Bug ID Number BUG-000156360
SubmittedMarch 7, 2023
Last ModifiedJune 9, 2025
Applies toArcGIS API for Python
Version found2.0.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed2.2.0
StatusFixed

Workaround

Downgrade NumPy to version 1.20.3 or below.

Steps to Reproduce

Bug ID: BUG-000156360

Software:

  • ArcGIS API for Python

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