Recipe fails after GH installation

Hello again,

i have a problem with my simulation environment. I am using ladybug and honeybee in python only and so far everything worked fine. Now i installed ladybug for Grasshopper as i had to test a model inside Grasshopper.

But now my python setup is not working anymore when running the Annual Irradiance Recipe, where i get a PermissionError. When i looked into the log-file from the Recipe is saw that it looks for the lib files inside the C:\USER\ladybug_tools\python\lib folder and not in the .venv folder of my python environment.

I guess the set_python_path.bat file changed some environmental variable. Is there a way to change it back? Or more general, is there a ways to use ladybug_tools in Grasshopper with the installed Version from Food4Rhino and use installed packages from pip at the same time?

Any help appreciated :slight_smile:

After some debugging and looking into the ladybug libraries i got it fixed, essentially by handing over the queenbee_path in the Recipe run function. And there i handed over the path to the queenbee.exe located in the .venv/Scripts folder.

The only weird thing was, that before, the python_scripts_path of the ladybug.config module was using .venv/Scripts/Scripts, which is not existing. So i guess somewhere when initializin the folders in the ladybug.config it added one Scripts folder too much to the python_scripts_path.

Maybe this is a bug, but i am not sure, might also be a local error from my installation of ladybug_tools for Grasshopper