chrono icon indicating copy to clipboard operation
chrono copied to clipboard

PyChrono conda package unable to run on M1 mac

Open ishaanamahajan opened this issue 3 years ago • 2 comments

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 avatar Feb 14 '22 20:02 ishaanamahajan

@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

ishaanamahajan avatar Feb 14 '22 20:02 ishaanamahajan

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.

thepianoboy avatar Feb 14 '22 20:02 thepianoboy