Grasshopper

algorithmic modeling for Rhino

Ladybug looks like a terrific add-on, but I am having trouble getting it working.  I was able to "install" the user objects and the components are visible in the GUI.  When I try to enable the "letItFly" component, I get the following report:

"Runtime error (ImportException): No module named string."

I double-checked that I am using Rhino 5, GHPython 0.5.1.0, and Grasshopper 0.9.0014.

Can anyone offer some help?

Views: 3594

Replies are closed for this discussion.

Replies to This Discussion

The module named string is part of the standard Rhino.Python library. If you get this error it could be an indication that the Python module search paths are not set up correctly. It happened to me the other day when upgrading from the Rhino 5 beta to the full commercial version. You can check your paths in the normal Python script editor (editPythonScript) under options. Hope it helps.

I also suspected the same thing (because I ran into the search path problem before), but it seems that all of the Python search paths are set up correctly because I am able to perform other Python functions.

Any other ideas?

<edit: AD, you were right.  I was missing the C:\Program Files\... path (see below).>

Ha! I didn't see your reply... I should have refreshed the page before posting mine I think! :)

Hehe, well at least that means there is now a very thorough answer for future forum reference ;)

Hi Burin,

Apparently the component is importing an older version of the libraries. If you upgraded to Rhino 5 the paths might be still pointing to a directory where Rhino 5 used to be installed.

Use the file attached to check the path on your system. Below is the result on my system. Updating the libraries should solve the problem.

Best,

Mostapha

Attachments:

Thank you!  Evidently, I didn't have the C:\Program Files\... path.  It's up and running now and looks fantastic.

Nice!

Hi,

       I have the same problem. How can we updating the librairies to solve this?

Thanks.

Hi Aurelien, Did you figure out how to solve this issue? I assume this shouldn't be a problem with the newer versions.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service