-
-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Installing pyRevitCLI after pyRevit 5 removes the currently installed .addin files #2368
Comments
Hi @Dre-Tas, Can you try to uninstall everything and only install pyrevit? |
@sanzoghenzo I don't know why I installed both 😅 I saw two installers and I assumed you had to install both. I didn't really see instructions on how to install it so I just tried. Your suggestion was good! I uninstalled everything, deleted all the folders from %appdata% and then tried installing only
Not sure if/how this is helpful, but there you go ;) |
Thanks @Dre-Tas for your thorough investigation! I will reopen this because there's something wrong in the pyrevit CLI installer, so it makes sense to keep track of it. |
I checked the PyRevitCLI installers, and this is by design: after the installation the following commands are run: pyrevit caches clear --all
pyrevit detach --all This is because the CLI installer is meant to be used to manually setup your pyrevit installation, so it makes sure you're starting from a clean slate. I would leave it as it is, but maybe we can document better what the different installers are for. |
@sanzoghenzo So you are saying the CLI should be functioning properly right now? I tried swapping the first WIP 2025 installer into my deploy script and it was not working. I'll try again with the latest WIP, but I didn't see any relevant commits |
I only meant that this particular issue is the expected behavior: installing the pyrevitCli (not the full pyrevit) will remove the previous pyrevit .addin files from all the revit instances, if any. |
✈ Pre-Flight checks
🐞 Describe the bug
Hi all! Thank you so much for tackling the Revit 2025 issue so promptly. Much appreciated!
First thing I uninstallled the previous version of pyRevit that was installed on my machine (4.something). Then I downloaded the
pyrevit-installers
folder from what I believe is the correct link and I just went through installing the 2 exe files in the (pyRevit_5.0.0.24232_admin_signed.exe
andpyRevit_CLI_5.0.0.24232_admin_signed.exe
).I’m not getting any error. Just when I open Revit 2025 I don’t get pyRevit in there.
I also tried with the non-admin installers (
pyRevit_5.0.0.24232_signed.exe
andpyRevit_CLI_5.0.0.24232_signed.exe
) but still nothing.In both cases, the installation seems to go through correctly till the end. No errors and/or error messages are popping up, but at the end, when I open Revit 2025 pyRevit is not there.
Is anyone else having the same issue?
Am I doing it wrong?
⌨ Error/Debug Message
♻️ To Reproduce
pyRevit_5.0.0.24232_signed.exe
andpyRevit_CLI_5.0.0.24232_signed.exe
or the 2 admin ones), follow the prompt until installation finishes.⏲️ Expected behavior
To see pyRevit in the Revit 2025 toolbar
🖥️ Hardware and Software Setup (please complete the following information)
pyRevit is not currently installed on my machine. I uninstalled it before trying to install the new version, in order to avoid any potential conflict.
Additional context
No response
The text was updated successfully, but these errors were encountered: