✈ Pre-Flight checks
🐞 Describe the bug
It seems that the recent updates broke the pyrevit run cli command: ImportError: No module named pyrevit in all versions (2020-2025)
⌨ Error/Debug Message
Revit Version: 2025, script path: G:\BIM\Development-Team\pyRevit\Scripts\Updater\ContentUpdater_script.py
==> Execution Environment
Execution Id: "c338e895-997e-4ce9-854d-adb98e872519"
Product: Autodesk Revit 2025 | Version: 25.0.2.419 | Build: 20240307_1300(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2025\"
Clone: master | Branch: "master" | Version: "5.0.0.24296+1622" | Path: "C:\Users\teszt\AppData\Roaming\pyRevit-Master"
Engine: DEFAULT (netcore) | Kernel: IronPython | Version: 2712 | Runtime: True | Path: "C:\Users\teszt\AppData\Roaming\pyRevit-Master\bin\netcore\engines\IPY2712PR\pyRevitLoader.dll" | Desc: "Custom pyRevit IronPython Engine"
Script: "G:\BIM\Development-Team\pyRevit\Scripts\Updater\ContentUpdater_script.py"
Working Directory: "C:\Users\teszt\AppData\Local\Temp\c338e895-997e-4ce9-854d-adb98e872519"
Journal File: "C:\Users\teszt\AppData\Local\Temp\c338e895-997e-4ce9-854d-adb98e872519\PyRevitRunner_c338e895-997e-4ce9-854d-adb98e872519.txt"
Manifest File: "C:\Users\teszt\AppData\Local\Temp\c338e895-997e-4ce9-854d-adb98e872519\PyRevitRunner.addin"
Log File: "C:\Users\teszt\AppData\Local\Temp\c338e895-997e-4ce9-854d-adb98e872519\PyRevitRunner_c338e895-997e-4ce9-854d-adb98e872519.log"
==> Target Models
g:\BIM\Development-Team\Dynamo\80_Actual\03_Sandbox\DynamoAutomation\Dummy.rvt
==> Execution Log
IronPython Traceback:
Traceback (most recent call last):
File "G:\BIM\Development-Team\pyRevit\Scripts\Updater\ContentUpdater_script.py", line 15, in <module>
ImportError: No module named pyrevit
Script Executor Traceback:
IronPython.Runtime.Exceptions.ImportException: No module named pyrevit
at Microsoft.Scripting.Runtime.LightExceptions.ThrowException(LightException lightEx) in /_/Src/Microsoft.Dynamic/Runtime/LightExceptions.cs:line 147
at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value) in /_/Src/Microsoft.Dynamic/Runtime/LightExceptions.cs:line 141
at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Run(InterpretedFrame frame) in /_/Src/Microsoft.Dynamic/Interpreter/Instructions/CallInstruction.Generated.cs:line 678
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) in /_/Src/Microsoft.Dynamic/Interpreter/Interpreter.cs:line 91
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1) in /_/Src/Microsoft.Dynamic/Interpreter/LightLambda.Generated.cs:line 86
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx) in D:\a\pyRevit\pyRevit\dev\modules\pyRevitLabs.IronPython2\Src\IronPython\Compiler\PythonScriptCode.cs:line 65
at IronPython.Compiler.PythonScriptCode.Run(Scope scope) in D:\a\pyRevit\pyRevit\dev\modules\pyRevitLabs.IronPython2\Src\IronPython\Compiler\PythonScriptCode.cs:line 56
at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope) in D:\a\pyRevit\pyRevit\dev\modules\pyRevitLabs.IronPython2\Src\IronPython\Compiler\RuntimeScriptCode.cs:line 85
at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope) in D:\a\pyRevit\pyRevit\dev\modules\pyRevitLabs.IronPython2\Src\IronPython\Compiler\RuntimeScriptCode.cs:line 44
at Microsoft.Scripting.SourceUnit.Execute(Scope scope, ErrorSink errorSink) in /_/Src/Microsoft.Scripting/SourceUnit.cs:line 218
at Microsoft.Scripting.SourceUnit.Execute(Scope scope) in /_/Src/Microsoft.Scripting/SourceUnit.cs:line 206
at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope) in /_/Src/Microsoft.Scripting/Hosting/ScriptSource.cs:line 109
at PyRevitLoader.ScriptExecutor.ExecuteScript(String sourcePath, IEnumerable`1 sysPaths, String logFilePath, IDictionary`2 variables)
♻️ To Reproduce
No response
⏲️ Expected behavior
No response
🖥️ Hardware and Software Setup (please complete the following information)
pyrevit cli: `pyrevit v5.0.0.24296+1622.49bf116a01a5471e7c3d7b57898e28eadb0b9289`
pyrevit clone: `master | Branch: "master" | Version: "5.0.0.24296+1622" | Path: "C:\Users\teszt\AppData\Roaming\pyRevit-Master"`
Additional context
No response
✈ Pre-Flight checks
🐞 Describe the bug
It seems that the recent updates broke the
pyrevit runcli command:ImportError: No module named pyrevitin all versions (2020-2025)⌨ Error/Debug Message
♻️ To Reproduce
No response
⏲️ Expected behavior
No response
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
No response