I recently upgraded to Arc Pro v3.4.0 and wanted to calculate the geometry of an attribute. I added a numeric field to the layer, then highlighted the attribute and went to calculate the geometry. When I selected it I received the error message below. I have tried the simple turn on and off again option and that did not work.
Any idea how I could fix this?
Note, I am able to calculate the geometry in ArcGIS pro v3.2.0 which I have access to on another PC but would like to see this issue resolved in v3.4.0. I
--------------------------------------------------------------------
'management.CalculateGeometryAttributes'
initializeParameters Error: Traceback (most recent call last):
File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\CalculateGeometryAttributes.tool\tool.script.validate.py", line 1, in <module>
import arcpy
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 101, in <module>
from arcpy._version import __version__, version
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_version.py", line 192, in <module>
version = Version()
^^^^^^^^^
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_version.py", line 27, in __init__
self.data = self._get_installation_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_version.py", line 96, in _get_installation_data
tree = etree.parse(fpth)
^^^^^
UnboundLocalError: cannot access local variable 'etree' where it is not associated with a value