chrono
chrono copied to clipboard
PyChrono conda package unable to run on M1 mac
I tried importing Pychrono using the command - python -c 'import pychrono'
, but got an error saying - zsh: illegal hardware instruction python -c 'import pychrono'
.
I am using the Macbook Air M1 (2020).
@ishaanamahajan what version of python? And what conda package were you using (you can run
conda list | grep pychrono
to check)?
pychrono 6.0.0 py38_638 projectchrono/label/develop
While Chrono currently does work on M1 Macs, PyChrono packages are not built for that target. Until such distributions are available, you will need to build Chrono's Python module for yourself.
I have some ideas about how we might be able to support packaging for M1, but they'll take some time to test (on the order of days/weeks). I'll follow up with what I find out.