Pyrevit not loading in any version of Revit

Hi!

When i’m starting Revit, PyRevit wont load. I have this in all versions of Revit: 2021-2023
I get te following error:

I have de-installed and re-installed PyRevit, but it doesnt fix it.
Anybody any ideas? =)

Hi and Welcome to the party!

Have a look at this article Notion – The all-in-one workspace for your notes, tasks, wikis, and databases.

The second point in particular.

This may be completely unrelated, since I don’t understand what that error message means, but here is one thing you can try:

Uninstall pyRevit, then delete the config file.

As far as I know, uninstalling pyRevit does not typically remove the config file. I think this is intentional so that your settings will carry over when installing a new version. Unfortunately, if the config file is messed up somehow, it can prevent pyRevit from loading. You may try to reinstall, but it is not a completely clean uninstall because the config file is not removed, thus the problem persists even after reinstalling.

Again, I don’t know if this is your problem, but a similar issue happened to me before. Deleting the config file allowed pyRevit to load afterwards.

1 Like

Thanks guys!

This works for Revit 2023. But for 2024, when we follow the steps from the article, we stil get the same error…
And of course, we just made the transition to 2024.

Ehm, yeah. So any thoughts?