You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Successfully installed the package, but the GH components report errors. #13
Successfully installed the package, but the GH components report errors saying "No module named compas_eve", "No module named compas_timber.fabrication" etc.
To Reproduce
Steps to reproduce the behavior:
Create a virtual environment using Conda then install Compas-XR using pip
Install Compas-XR for Rhino environment
Open Rhino7 or Rhino8 then open Grasshopper
See red components
Expected behavior
The compas GH component should recognize where its dependencies are.
Screenshots
Desktop (please complete the following information):
Hey! Thanks for filing this one! Even before today's official launch! That's quite cool!
About the issue that you report, there are two different parts to it: one is the issues when using IronPython in Rhino 8, and a different one is the one using Python 3 in Rhino 8.
Regarding the first one, I believe the issue is actually part of the COMPAS core installation step, and it sounds similar to this issue compas-dev/compas#1351
Regarding Python 3 on Rhino, compas_xr is not yet tested on it, so I would recommend sticking to IronPython for the time being until we add full support for it. In any case, the installation of compas libraries for Python 3 on Rhino 8 is not done using the usual python -m compas_rhino.install command, at least for now, there's a separate installation mode for that. It might also be possible to use the # r: syntax of rhino 8 to install, but again, this isn't really tested on our side yet. (We're getting there though!)
Thank you for your help and kind words! I am doing my Master's research about XR, and your work always inspires me. I really wish I could be at the launch speech. Will there be a recording available to watch on YouTube?
I've tried the method metioned in this issue: compas-dev/compas#1351. The legacy ghpython component can find "compas" related packages for now.
But there is a new problem:
I solve it by making the following change:
I think it's because the MQTTnet.dll file is not in the same directory as the mqtt_cli.py file.
Activity
Hanning-Liu commentedon Jun 26, 2024
Additional Information
In Rhino8 GH, the IronPython component can find the
compas_xrpackage, while the Python3 component couldn't. Just as the PATH variable showing above.gonzalocasas commentedon Jun 27, 2024
Hey! Thanks for filing this one! Even before today's official launch! That's quite cool!
About the issue that you report, there are two different parts to it: one is the issues when using IronPython in Rhino 8, and a different one is the one using Python 3 in Rhino 8.
Regarding the first one, I believe the issue is actually part of the COMPAS core installation step, and it sounds similar to this issue compas-dev/compas#1351
Regarding Python 3 on Rhino,
compas_xris not yet tested on it, so I would recommend sticking to IronPython for the time being until we add full support for it. In any case, the installation of compas libraries for Python 3 on Rhino 8 is not done using the usualpython -m compas_rhino.installcommand, at least for now, there's a separate installation mode for that. It might also be possible to use the# r:syntax of rhino 8 to install, but again, this isn't really tested on our side yet. (We're getting there though!)Hanning-Liu commentedon Jun 27, 2024
Thank you for your help and kind words! I am doing my Master's research about XR, and your work always inspires me. I really wish I could be at the launch speech. Will there be a recording available to watch on YouTube?
I've tried the method metioned in this issue: compas-dev/compas#1351. The legacy ghpython component can find "compas" related packages for now.
But there is a new problem:
I solve it by making the following change:
I think it's because the
MQTTnet.dllfile is not in the same directory as themqtt_cli.pyfile.