Make sure you have installed DynamoIronPython2.7 3.2 or more
DynamoIronPython2.7 2.x is not compatible with Revit 2025 (.Net8)