I am rather new to Grasshopper + Ladybug and am having an issue with Ladybug. I have installed and re-installed Rhino 5, GhPython 0.6.0.3 and Ladybug and Honeybee on my PC, however, when I drag over the main Ladybug default folder onto the canvas I keep receiving an error message “Solution exception:No module named Grasshopper”.
but in my case the paths are ok and the script files in place. I am, however, missing “scriptcontect.pyc”. Could this be the issue and if so how could I fix it? If not any other thoughts what might be wrong?
This sounds like an issue with Rhino installation. Can you try to just import Grasshopper in a GHPython component? Type line below in the component and press ok.
In case someone else searches for this, the problem is having an independent install of IronPython. I hear that the very latest or the exact same version as Rhino are OK to install. Other versions cause conflicts.
Uninstall IronPython from the Control Panel.
Giulio – Giulio Piacentino for Robert McNeel & Associates giulio@mcneel.com
I was not able to uninstall IronPython as it came in the package when I installed Rhino 5. I tried deleting the files and deactivating it from the Rhino properties, but when I do this and try to open a python editor, it crashes Rhino and Grasshopper.
Is there a version of IronPython that works in harmony with ghPython?
I am referring to an installation of IronPython that you can find in the Control Panel -> Applications. Not the modules that are installed with Rhino. Those are required!
Thanks!
Giulio – Giulio Piacentino for Robert McNeel & Associates giulio@mcneel.com
I do not have this installed on my PC and the program still throws the error that it cannot find the Grasshopper module when I try to initiate the ladybug_ladybug.
Do I need to install an additional IronPython application perhaps?
Just to make sure we’re checking all the possible sources of this issue your Rhino is updated and you’re not using an older version of GHPython component?