Open
Description
python -m compas_rhino.install
adds the COMPAS packages to ~/.rhinocode/py27-rh8/Lib/site-packages
instead of \AppData\Roaming\McNeel\Rhinoceros\8.0\scripts
. Grasshopper components cannot then import the modules.
there is a workaround which is to include
pt = r"C:\Users\obucklin/.rhinocode/py27-rh8/Lib/site-packages"
if pt not in sys.path:
sys.path.append(pt)
at the top of a python component. This fixes IronPython components.
I'm not sure if it's the same problem, but cpython components built with invoke build-cpython-ghuser-components
do not instantiate on the canvas and result in a User Object failed to deserialize
error:
Windows 11
Rhino 8 SR6 2024-4-10
COMPAS 2.1.0
Thanks!
Metadata
Metadata
Assignees
Labels
No labels