Ive also had the same issue, its a clashing version of ironpython or some other library. I wasn’t able to solve it
Version of Revit and dynamo please. More suited for an issues on github repo