When running this code to try and use Node-In-Code on rhino 7 mac:
import rhinoscriptsyntax as rs
import ghpythonlib.components as ghcomp
It works the first time the script is run after freshly opening rhino, but when run more then once throws this error:
Message: No module named GhPython.Assemblies
Traceback:
line 1, in <module>, "/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Versions/Current/Resources/ManagedPlugIns/RhinoDLR_Python.rhp/RssLib/ghpythonlib/componentbase.py"
line 13, in <module>, "/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Versions/Current/Resources/ManagedPlugIns/RhinoDLR_Python.rhp/RssLib/ghpythonlib/__init__.py"
line 2, in <module>, "/Users/tristanstudiopractice/Desktop/test_node_in.py"
Restarting rhino will make it work once again but after running the script more than once it gives the same error.
It seems as if node-in-code is broken on mac, and the same issue appears with the rhino 8 wip.
Thanks,
T