[Bug]: PyRevitLoader - Error Loading pyRevit
✈ Pre-Flight checks
- [X] I don't have SentinelOne antivirus installed (see above for the solution)
- [X] I have searched in the issues (open and closed) but couldn't find a similar issue
- [X] I have searched in the pyRevit Forum for similar issues
- [X] I already followed the installation troubleshooting guide thoroughly
- [X] I am using the latest pyRevit Version
🐞 Describe the bug
PyRevitLoader - Error Loading pyRevit
⌨ Error/Debug Message
PyRevitLoader - Error Loading pyRevit
♻️ To Reproduce
No response
⏲️ Expected behavior
No response
🖥️ Hardware and Software Setup (please complete the following information)
System.TypeLoadException: Could not load type
x
'System.Runtime.Remoting.RemotingServices' from assembly
'mscorlib, Version=4.0.0.0, Culture—neutral,
at
Microsoft.Scripting.Hosting.Providers.HostingHelpers.CreateSc...
engine, Scope scope)
at IronPython.Hosting.PythonService.CreateModule(String
name, String filename, String docString)
at IronPython.Hosting.Python.CreateModule(ScriptEngine
engine, String name)
at
PyRevitLoader.ScriptExecutor.SetupEnvironment(ScriptEngine
engine)
at PyRevitLoader.ScriptExecutor.ExecuteScript(String
sourcePath, IEnumerable*1 sysPaths, String logFilePath,
IDictionary*2 variables)
Close
Additional context
No response
Are you using Revit 2025? Unfortunately, pyrevit does not work with this version yet. https://github.com/pyrevitlabs/pyRevit/pull/2088 https://github.com/pyrevitlabs/pyRevit/pull/2190
Are you using Revit 2025? Unfortunately, pyrevit does not work with this version yet. #2088 #2190
when it will be available for 2025
I am receiving this error still on the latest 'beta' installer for 2025.
Nevermind. I reinstalled the 'beta' branch again and it worked fine the second time. (must have been pathed to the older version still somehow even though I triple checked it).