Open Hanning-Liu opened 5 months ago
Additional Information
In Rhino8 GH, the IronPython component can find the compas_xr
package, while the Python3 component couldn't. Just as the PATH variable showing above.
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 https://github.com/compas-dev/compas/issues/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: https://github.com/compas-dev/compas/issues/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.
Describe the bug
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:
Expected behavior
The compas GH component should recognize where its dependencies are.
Screenshots
Desktop (please complete the following information):
Thank you for your help in advance!