Grasshopper

algorithmic modeling for Rhino

My Rhino 5 enviroment is throwing an exception with Python's openpyxl. I've installed it correctly evidenced by the Python 2.7 interpreter, but in EditPythonScript (and the Grasshopper Python component), it is throwing an error both with (Import openpyxl) and (from openpyxl import Workbook). Again, outside Rhino in the Python interpreter, everything runs smoothly. . . I'm new to the RhinoPython world - have I lost my path?

Views: 1219

Attachments:

Replies to This Discussion

Sounds like openpyxl might not be fully compatible with IronPython (the version of Python that is used in Rhino). You might consider using xlrd and xlwt instead. Or, use the Excel functionality in .NET which you call from IronPython.

Anders, i've been following your past discussions regarding xlrd and xlwt, and appreciate your timely response to openpyxl. I'll redirect my efforts as you've suggested. Thanks.

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