Problems creating GHPY files


So I ran into this today.
I had to re-install Rhino because it wasn’t opening correctly. Afterwards, GH could no longer load a previously compiled .ghpy file. Error message comes up at GH splash screen, saying it’s import error. Could a re-install have changed a module that was used? Strange thing is that I’ve sent that .ghpy file to colleagues and it even worked across different machines.

Tutorial: creating a Grasshopper component with the Python GHPY compiler
(Giulio Piacentino) #2

Hi @Will_Wang

I moved this to a new thread.

Could you be a little more specific about what you did? What code did you run?

Could you show the error?

Do you have the .ghpy file for me to try?

In general, I’ve seen problems with RhinoPython when an Independent IronPython installation is present.


Shot you a direct message. Thanks for looking over. It seems the compiled version DOES cut down computing time noticeably so I’m really hoping it’ll work