pyRevit doesn't recognize installed Revit

pyRevit does not recognize the installed Revit versions. From the CLI, running pyrevit env, the section ==> Installed Revits appears to be empty.

Does anyone know how to make sure that pyRevit recognizes all the installed Revit versions?

for context:
I’m installing pyRevit using the latest version of the CLI and I already tried to

  • run pyrevit doctor > 1) purge-installs
  • uninstall pyRevit CLI and install again
  • uninstall pyRevit CLI and install the whole pyRevit package

Thanks in advance

When you say “does not recognize the installed Revit version” what do you mean?
I had some problems a while back were it would open the incorrect version of Revit.

I don’t know the process 100%, but I know it uses the pyrevit-hosts.json file to identify version.
The update of this file and the version identified is a manual process. I just updated it 2 days ago with some missing version, so the wip installer should contain most if not all revit version listed.
You could grab the pyrevit-hosts.json file and replace it on your install to see if it helps.

if not, please rune pyrevit env --debug and report an issue on the repo