Python installation for ZEN-developers on Mac

8 views
Skip to first unread message

Nour Boulos

unread,
Jun 4, 2025, 4:40:52 AM6/4/25
to ZEN-garden
A potential issue that ZEN-developers on Mac could face is the following error when installing ZEN-garden as developers (ref. ZEN-garden read the docs):
```
The following required CPU features were not detected: avx, avx2, fma, bmi1, bmi2, lzcnt, movbe 
Continuing to use this version of Polars on this processor will likely result in a crash. Install the `polars-lts-cpu` package instead of `polars` to run Polars with better compatibility. 
Hint: If you are on an Apple ARM machine (e.g. M1) this is likely due to running Python under Rosetta. It is recommended to install a native version of Python that does not run under Rosetta x86-64 emulation. 
If you believe this warning to be a false positive, you can set the `POLARS_SKIP_CPU_CHECK` environment variable to bypass this check.
```
Solve this by first downloading and installing a native version of Python on your machine with Miniforge and make sure it runs under ARM, and not under Rosetta emulation. Then follow by forking, cloning, and installing the ZEN-garden environment. 
Reply all
Reply to author
Forward
0 new messages