✈ Pre-Flight checks
🐞 Describe the bug
After installing pyRevit it does not show up in the Revit toolbar and does not prompt to load when opening revit for the first time after installation.
⌨ Error/Debug Message
♻️ To Reproduce
- Install the latest version (5.2.0.25181 at the moment)
- Launch Revit to check the plugin
- Do not see the window asking about loading the plugin
- Search for a solution to the problem
⏲️ Expected behavior
I expected the plugin to start
🖥️ Hardware and Software Setup (please complete the following information)
C:\Windows\system32>pyrevit env
You must install .NET to run this application.
App: C:\Program Files\pyRevit-Master\bin\pyrevit.exe
Architecture: x64
App host version: 8.0.17
.NET location: Not found
Learn more:
https://aka.ms/dotnet/app-launch-failed
Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win-x64&os=win10&apphost_version=8.0.17
Additional context
OC: Windows Server 2022 21H2 20348.2849
My problem is SOLVED, solution below!
_
I don't speak English very well and this text was written using Google Translate,
I apologize in advance for any inaccuracies or misunderstandings.
_
Hello to the developers and other applicants for this problem.
I am an IT specialist, with some knowledge of githab and how to search for errors in certain problems. I hope that this ticket will help someone in the future quickly fix the same problem as me.
SOLUTION:
As you can see above, when I ran the pyrevit env command in cmd as administrator, it told me that I do not have .NET application installed. I solved it like this:
- Removed all installed versions of pyRevit
- Downloaded the latest version of .NET from the official Microsoft website:
https://dotnet.microsoft.com/en-us/download/dotnet/8.0
- Reinstalled pyRevit, version Admin / All Users
After that, I ran pyrevit env and this is what I got:
Initially, I thought that this plugin in principle does not work well with Windows Server, but after installing it on another server, everything worked out the first time and everything works fine
(as far as I can judge by the work in principle, but not its correct operation, I do not know from the designer's side how it should work):
cmd => pyrevit env from another server:
Then, I started looking for similar problems in GitHub and on the forum and did not find anything similar. Therefore, I began to figure out how my servers are different.
I guess I just needed to update .NET Framework, not .NET, but now everything works, and as they say: "If it works, don't touch it".
I hope this solution helps someone in the future!
✈ Pre-Flight checks
🐞 Describe the bug
After installing pyRevit it does not show up in the Revit toolbar and does not prompt to load when opening revit for the first time after installation.
⌨ Error/Debug Message
♻️ To Reproduce
⏲️ Expected behavior
I expected the plugin to start
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
OC: Windows Server 2022 21H2 20348.2849
My problem is SOLVED, solution below!
_
_
Hello to the developers and other applicants for this problem.
I am an IT specialist, with some knowledge of githab and how to search for errors in certain problems. I hope that this ticket will help someone in the future quickly fix the same problem as me.
SOLUTION:
As you can see above, when I ran the
pyrevit envcommand in cmd as administrator, it told me that I do not have .NET application installed. I solved it like this:https://dotnet.microsoft.com/en-us/download/dotnet/8.0
After that, I ran
pyrevit envand this is what I got:Initially, I thought that this plugin in principle does not work well with Windows Server, but after installing it on another server, everything worked out the first time and everything works fine
(as far as I can judge by the work in principle, but not its correct operation, I do not know from the designer's side how it should work):
cmd =>
pyrevit envfrom another server:Then, I started looking for similar problems in GitHub and on the forum and did not find anything similar. Therefore, I began to figure out how my servers are different.
I guess I just needed to update .NET Framework, not .NET, but now everything works, and as they say: "If it works, don't touch it".
I hope this solution helps someone in the future!