pyRevit icon indicating copy to clipboard operation
pyRevit copied to clipboard

Persistent PyRevitLoader - Error Loading pyRevit

Open Mcor82 opened this issue 1 year ago • 13 comments

Hello,

I'm encountering a persistent issue with PyRevit, even after multiple uninstallation and reinstallation attempts. Upon launching Revit, the following error message appears.

I've tried all the recommended solutions available on forums, including command line installations, to no avail. Your guidance on how to resolve this issue would be greatly appreciated.

Best regards,

2023-10-11_14-24-35

Mcor82 avatar Oct 11 '23 18:10 Mcor82

  1. uninstall and try and run pyrevit env and report
  2. delete %appdata%/pyRevit and %appdata%/pyrevit-master if these folder exist
  3. install the latest version.

jmcouffin avatar Oct 17 '23 10:10 jmcouffin

I uninstalled PyRevit and deleted the corresponding folder in APPDATA, then reinstalled the software, but I'm still encountering the same error. Could you clarify what you mean by "run pyrevit env and report"?

Mcor82 avatar Oct 17 '23 17:10 Mcor82

pyrevit env is a command line In your windows command line, you can type 'pyrevit envy and it will return your Revit, pyrevit, Windows setup. It gives a little bit of context about your computer

jmcouffin avatar Oct 17 '23 17:10 jmcouffin

And try installing with the non admin installer

jmcouffin avatar Oct 17 '23 18:10 jmcouffin

Hi Jean, this exact issue is also occurring on my Revit.

Robbo1234 avatar Nov 08 '23 17:11 Robbo1234

Hi Jean, seem to be getting this same issue with 2023. Tried the pyrevit env, and get a 'pyrevit' is not recognized as an internal or external command, operable program, or batch file

GRArgo avatar Dec 20 '23 23:12 GRArgo

If the pyrevit Revit command is not recognized, that means it did not install properly.

jmcouffin avatar Dec 21 '23 07:12 jmcouffin

@jmcouffin what can we do if it did not install properly? pyrevit is uninstall, %appdata%/pyRevit and %appdata%/pyrevit-master are delete, and the pyrevit Revit command is not recognized to me thanks

HH31000 avatar Jan 10 '24 15:01 HH31000

@jmcouffin what can we do if it did not install properly? pyrevit is uninstall, %appdata%/pyRevit and %appdata%/pyrevit-master are delete, and the pyrevit Revit command is not recognized to me thanks

Better use the uninstall command in windows. Deleting folder is a last resort kind of thing. Once installed, you could run the pyrevit doctor command to clear the registry properly Check the solution proposed in this wiki article https://www.notion.so/pyrevitlabs/FAQs-70774c29e0ed41388f9a7857bc2e24dc

jmcouffin avatar Jan 10 '24 16:01 jmcouffin

Read this: https://github.com/eirannejad/pyRevit/issues/2035

the reply is almost always the same:

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

jmcouffin avatar Jan 19 '24 08:01 jmcouffin