laptop and a wrench

Bug

Importing ArcPy using Python command prompt in developer mode returns a repeating Windows fatal error message.

ArcGIS Pro
Bug ID Number BUG-000159835
SubmittedJuly 12, 2023
Last ModifiedJune 10, 2025
Applies toArcGIS Pro
Version found3.1.2
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

The COM-based object system used by ArcGIS for many of its types is incompatible with the Python faulthandler module. To use Python Developer mode, explicitly disable faulthandler by adding faulthandler.disable() at the top of the code, or include the same in a PYTHONSTARTUP script.

Workaround

Complete the workflow outside of Developer mode.

Steps to Reproduce

Bug ID: BUG-000159835

Software:

  • ArcGIS Pro

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