New release. Error dynamically compiling pyRevit runtime

I just installed the latest (pyRevit_4.8.14.24016_signed.exe)
Now I can’t get pyRevit to work. On loading I get the following error, although the CLI tool seems to show that master is attached.

IronPython Traceback:
Traceback (most recent call last):
File "C:\Program Files\pyRevit-Master\bin\engines\", line 30, in «module>
File line 24, in <module>
File Files\pyRevit-Master\pyrevitlib\pyrevit\loader\", line 14, in <module>
File Files\pyRevit-Master\pyrevitIib\pyrevit\runtime\", line 489, in <module>
Exception: Error dynamically compiling pyRevit runtime
Script Executor Traceback:
IronPython.Runtime.Exceptions.PythonException: Error dynamically compiling pyRevit runtime

Many possibilities:

  • clean uninstall
  • install

  1. Uninstall
  2. Remove %appdata%/pyrevit and %appdata%/pyrevit-master folder if any
  3. Move Revit addins to temp location
  4. install latest pyrevit
  5. start Revit once - close it
  6. bring revit addins to their original location

1 Like

Merci Jean-Marc.
That 6-step solution seems to have fixed it.

1 Like

Thanks reporting back.

Thanks to you (# BIM influencer)

Also : I since had the same problem on another PC and I simply fixed it by deleting “C:\Users\xxx\AppData\Roaming\pyRevit\pyRevit_config.ini”
and restarting.
Without reinstalling anything.

1 Like