Select to view content in your preferred language

Failed to Execute Table to Excel

500
1
08-25-2022 08:36 AM
Labels (2)
BrianTruong
New Contributor II

Hello Everyone, 

Currently running ArcPro 2.9.4.

Running a basic geoprocessing tool - Table to excel on a feature layer/table. However the tool often fails and gives me this message.

Traceback (most recent call last):
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\scripts\TableToExcel.py", line 12, in <module>
    import xlwt
  File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\xlwt\__init__.py", line 4, in <module>
    from .Worksheet import Worksheet
  File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\xlwt\Worksheet.py", line 38, in <module>
    from .Row import Row
  File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\xlwt\Row.py", line 3, in <module>
    from decimal import Decimal
ModuleNotFoundError: No module named 'decimal'
Failed script (null)...
Failed to execute (TableToExcel).
Are there any solutions to this problem?
 
Thanks!
 
1 Reply
KathrynAbelt
New Contributor

I have run into this issue as well.

0 Kudos