Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyChrono conda package unable to run on M1 mac #365

Open
ishaanamahajan opened this issue Feb 14, 2022 · 2 comments
Open

PyChrono conda package unable to run on M1 mac #365

ishaanamahajan opened this issue Feb 14, 2022 · 2 comments
Assignees

Comments

@ishaanamahajan
Copy link

ishaanamahajan commented Feb 14, 2022

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).

@AaronYoung5 AaronYoung5 changed the title Unable to run Pychrono on M1 mac PyChrono conda package unable to run on M1 mac Feb 14, 2022
@ishaanamahajan
Copy link
Author

@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

@thepianoboy
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants