Closed begums closed 2 months ago
@begums what kind of processor are you running? sometimes packages are available for macOs x86_64
but not arm64
perhaps using python 3.10 and using this conda package helps solve your issue. using the latest version of python sometime conflicts with the availability of dependencies
The problem is that the cpython version is the one inside rhino, so it cannot be changed. Also, pip
has no wheel for arm64
unfortunately, regardless of cpython version:
So, the only real option (besides trying fix the building step locally), would be to somehow install the wheel from conda, but this is not a conda environment. I need to look into this more in detail before I can provide a solution.
Ok, we can try something. It's a bit (a lot) hacky, but maybe will work for now:
/Users/username/.rhinocode/py39-rh8/python3.9 -m pip install compas compas_robots roslibpy pyserial
/Users/username/.rhinocode/py39-rh8/python3.9 -m pip install --no-deps compas_fab
If you run this, it will install first all the deps that compas_fab
really needs except pybullet, and then install compas_fab
without dependencies. Since pybullet is (should at least) be lazy loaded, I believe this will work if you're planning to use only ROS backend.
I did a quick test on my windows machine, and it seems to be able to import the ros client, which -i think- indicates that pybullet won't be imported unless explicitly used:
Let me know if this works!
Ok, we can try something. It's a bit (a lot) hacky, but maybe will work for now:
/Users/username/.rhinocode/py39-rh8/python3.9 -m pip install compas compas_robots roslibpy pyserial /Users/username/.rhinocode/py39-rh8/python3.9 -m pip install --no-deps compas_fab
Yes, this method worked! I tested with a couple of our example files and seems like it works without a problem :) Thanks a lot!
Describe the bug I come across the error below, when I try to install compas_fab with compas 2 with Rhino 8 on Mac. We solved this issue on Windows by installing Microsoft Build Tools for Visual Studio, however not sure how to proceed in Mac.
To Reproduce Steps to reproduce the behavior:
See error:
Desktop (please complete the following information):