I’ve been having some issues with the new ladybug tools. So far, everything seems to be running fine in Rhino 7, but when I try using LB 1.2 in Rhino Inside Revit, all components turn red and display the following error.
I’m having the same issue using Ladybug/Honeybee v1.2.0 with Rhino Inside Revit. Scott Davidson from Rhino passed the issue over to this Discourse when someone posted the issue:
I am pretty sure that this issue results from the fact that McNeel doesn’t create the User settings file that sets the Rhino IronPython path until the very first time that you open Rhino Inside Revit. So opening Rhino Inside Revit after you installed Ladybug Tools causes this import error.
Rerunning the whole installer after the first time you open Rhino Inside Revit should fix it (as @PaulWintour suggests). But a quicker fix is just to rerun the set_python_path.bat file inside your ladybug_tools installation folder.
Hi,
I have the same problem with Ladybug/Honeybee v. 1.6.0. When I use HB nodes, I get the message e.g: “1. Solution exception:
Failed to import honeybee:
No module named honeybee.boundarycondition”
I followed the procedure:
rerun the set_python_path.bat file inside your ladybug_tools installation folder.
open Rhino/GH through the RhinoInside Revit plugin
I also tried to inverse this procedure.
In both cases, it doesn’t work.
Do you have any suggestion how I could fix it? Maybe in that case i should keep Revit and RiR plugin open and reinstall Ladybug Tools?
Reviving this issue on Dec 4, 2023. I followed the steps listed above and I am still running into this issue using Rhino 7, Revit 2023, and LBT v1.7.
With RIR open, I ran the .bat file. In the terminal window, I saw that it set a path successfully for Revit 2023. I also confirmed the path is set and unblocked in the folder: C:\Users(name)\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings
Yet, I am seeing the same error in GH. I tried closing Revit and restarting after this too.
Perhaps its a new version of RIR as @Alakelele suggested?
So, this morning the issue is resolved but I cannot report anything definitely that resulted in the fix. I restarted my computer and re-ran the .bat file. Of course, when consulting a colleague on the issue, it was fixed when I went to open Revit 2023 and RIR. Hopefully you all can have similar luck. When in doubt, restart?
Hello, I still have issues, even when reverting back to a version that once did work (RH 7.25, RiR v1.12 and LB 1.6.0). So sadly this issue is still not solved
Hello Chris, I would like to run this, but when I do, it does not help. Can you explain to me when I should run the set_python_path.bat? Or run it multiple times, etc?
Hi everyone, here is an additional solution that worked for my by uninstalling a Revit plugin/add-on that was also working with Python and Ironpython, see my post here: