pybinding can not run on MAC with M3 chip.
Dear developers,
I installed pybinding by the "pip3 install -i https://test.pypi.org/simple/ pybinding" on my Mac book with M3 chip. When I import pybinding, I got the following error message. How can I fix it?
Hi I'm not certain what went wrong. It cannot find the compiled libraries (that's the _cpp error), but the python 11 M-chip Apple version should be supported. An error with current Apple machines is that during the installation the Rosetta was active in the terminal, installing an other version than the one needed by the system. Please try again to install pybinding and be sure to turn off the Rosetta support. Best Bert
Thanks for your reply. I reinstalled pybinding using the command 'arch -arm64 pip3 install -i https://test.pypi.org/simple/pybinding'. However, the obtained results are the same as before. The terminal is also set to run without Rosetta support. Is there anything else I can check?
The Python environment was also checked with 'file $(which python3)', which indicates 'arm64'. I have also enforced Python to run with arm64 using 'arch -arm64 python3'. However, no changes have occurred.
Please make a complete re-installation of pybinding, and add the --verbose part tot the pip install command. I'm almost certain that rosetta is enabled, x86_64 is exactly the behavior expected from an installation with rosetta. If possible, make a complete new installation of a python virtual environment to be certain.