Update in Rhino: problem with ghpythonremote in Grasshopper

I have recently updated my Rhino 7 with Rhino 8 and my current project in Grasshopper no longer seems to work. Specifically with this part:
import ghpythonremote

The error is:
Runtime error (ImportException): No module named ghpythonremote

Traceback:
line 9, in script

This python code is a GHPythonRemote Component that allowed me to import a psycopg2 module to my project.
Should I update some module, or do this differently now that I have Rhino 8?

Try running the code in the new Python 3 script editor component, which runs CPython and therefore presumably will be able to import and execute the module you’re using.

Thanks that solved my issue, also I see the improting packages method has changed, making it much easier.

1 Like