pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.29k stars 331 forks source link

Persistent PyRevitLoader - Error Loading pyRevit #1940

Open Mcor82 opened 11 months ago

Mcor82 commented 11 months ago

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

jmcouffin commented 11 months ago
  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.
Mcor82 commented 11 months ago

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"?

jmcouffin commented 11 months ago

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 commented 11 months ago

And try installing with the non admin installer

Robbo1234 commented 10 months ago

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

GRArgo commented 9 months ago

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

jmcouffin commented 9 months ago

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

HH31000 commented 8 months ago

@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

jmcouffin commented 8 months ago

@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 uninstallcommand 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 commented 8 months ago

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

DamFr75 commented 4 weeks ago

Hello everyone, first of all, thank you for your remarkable work. We had the same problem even on Revit 2023. This summer, with the installation of new plugins on the workstations, we noticed that the problem was becoming more widespread. We followed the troubleshooting guide but realized that the problem was due to incompatibility with another plug-in (autodesk forma). By uninstalling both (deleting the program and user folders), and installing PyRevit first, it worked again. I don't know if this helps, but after 5 months of bugs we're glad to have found a solution. Thanks to all and have a nice day