I get a very annoying problem with LB CaptureView.
Solution exception:
Failed to import ladybug_rhino:
Cannot import name bring_to_front
It seems like this is the only component i have any problems with. I have followed a lot of similar problems and tried the different solutions.
First of i have run the “set_python_path” with Rhino closed.
I have followed the manual solution of this post: How to Manually Add Ladybug Tools to the Rhino Python Path
I’ve made sure that there is no spaces in the path.
I have reinstalled ladybug tools
I simply cannot find anything that doesn’t align with a sample of “Correct Installation” of the ladybug_tools.
Hopefully someone can help me.
devang
December 14, 2020, 11:45am
2
Download the files from here
create a folder named “ladybug_rhino” at path “C:\Users\YOUR USERNAME\ladybug_tools\python\Lib\site-packages” if the folder does not exist.
Paste the downloaded files in the folder above.
Let us know if this works.
chris
December 14, 2020, 12:36pm
3
If you have fully reinstalled LBT 1.1.0 from Food4Rhino and you are sure that the installer components were version 1.1.0 (and not an earlier one), then you could have another copy of ladybug_rhino
on your machine that’s interfering with loading the correct one. Make sure that this folder is completely clear of any ladybug_rhino
folders:
C:\Users\[USERNAME]\AppData\Roaming\McNeel\Rhinoceros\6.0\scripts
Hi @chris ,
I have same issue on my new pc … Installed newest from food4rhino, restarted rhino and now I see the failed to import ladybug_rhino library.
I don’t have any ladybug_rhino folders in
C:\Users[USERNAME]\AppData\Roaming\McNeel\Rhinoceros\6.0\scripts
and
C:\Users[USERNAME]\AppData\Roaming\McNeel\Rhinoceros\7.0\scripts
I’m running rhino 7.
chris
June 1, 2021, 10:39pm
5
@Mathiassn ,
Does the issue only affect the CaptureView component or are all of your components failing to import the core libraries and turning red?