Grasshopper

algorithmic modeling for Rhino

1. You downloaded Ladybug, Installed it but as soon as you drag a component into the canvas you see something similar to this:

You probably don't have GHPython installed on your system. Download GHPython and install it and it should work fine.

2. You still see the image above in case 1 however you have GHPython already installed. What about that?

In this case probably the GHA component is blocked. Find GHPython.GHA on your system (usually at: C:\Users\%username%\AppData\Roaming\Grasshopper\Libraries) . Right click, go to properties and select unblock.

To make sure that GHPython is working fine on your system open the attachment file (testGHPython.gh). You should see something similar to the image below on your screen when you open the file:

If you see the something similar you should be fine to go! Try to open one of the example files.

3. You have Ladybug running but in some of the case the output is missing. You see something similar to this:

or this

This one is because you are using old version of GHPython. Close the file without saving. Download the new version and install it and re-open the file. It should work fine now.

Hope it helps,

Mostapha

Views: 24854

Attachments:

Replies are closed for this discussion.

Replies to This Discussion

strange is when I try to add MAth  script..can add C#, VB but not python I click but there is no component ?

Quick question Michal, which version of GHPython and Rhino are you running?

- Saeran

problem was not latest Rhino...I updated Rhino and GH and it works now...thanks

Mostapha,

Like others, I had Ladybug running fine previously with earlier versions of RH & GH, but now I can't get it to work.  I tried both the 5.0.1 and the newest 6.0.3 GhPython.gha, can't get the test files to work.  Both Rhino 5.0 (5.9.40609) and GH (.9.0076) are up to date, everything is unblocked using Streams.exe from Microsoft, closed and restarted several times.

The Honeybee icon doesn't show up either.  Your help would be greatly appreciated.

Nancy

Attachments:

Hi Nancy, Based on what you are saying everything should work fine. Let's try to debug it step by step.

Have you tested the GHPython component itself? I would suggest to start from there and see if the GHPython component runs fine on your system. You can try something simple like print "hi!" and then press F5 and see if it works. You can find it under Maths tab.

Mostapha

Mostapha, thanks for your quick reply. 

You are correct that the GhPython is not working.  I reinstalled the older version 0.5.101 and while the test component is not red, it can't find the Python engine.  But I already have Rhino 5 installed, so I am wondering whether it is corrupt or whether there is some incompatibility.

I even emptied out my Libraries and UserObjects folders except for the GhPython in order to minimize the conflicts.  Would that cause a problem?

Do I need to reinstall Rhino and GH?  Would being on the Zoo make any difference?  I plan to switch it back to my own license).

Nancy

Attachments:

I figured it out. I had disabled a bunch of Rhino plug-ins to make it load faster and IronPython was included. When I loaded it, then the GhPython could work. Thanks for

Where am i suppose to download Gendaymtx.exe from?

I went to OpenStudio and downloaded the Head but I still cant find this file.

What if this site is blocked here?

Hi Mostapha 

Doing all these rules on a rhino 5 + latest GH; but still have problem! funny but it works fine on any other computer.Have latest version of python interpreter and ladybug installed but it tells me about missing file!!!

Hi AmirAli,

Good to see you here. What is exactly the error on your system? Can you share a screenshot?

Mostapha

Hi,

I fixed it by simply moving to PC:)

There is no exact error. All components have run-time errors prior to using in any definition. While I already have python interpreter installed, it is like a missing of GHpython files.

Ali

And proud to say that I am now using your Bug! in my current workshop. students try to genetically optimize the shape of housing neighbourhoods by evaluating environmental factors. I will write you a report! later.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service