Hacker News new | ask | show | jobs
by orlp 858 days ago
You have the Rosetta version of Python installed, which lacks the SIMD instructions we compile Polars with. Reinstalling Python as a native package should fix this.

I have recently added a warning to Polars for this on import, could you confirm you get this warning if (before installing native Python) you update your Polars package?

If for whatever reason you really want to keep using the Rosetta version of Python you should install the polars-lts-cpu package instead.

1 comments

FWIW polars isn’t the only package that has this problem. And not all of them have so simple a solution.

IIRC pyarrow has some trouble like that, to pick one from the same ecosystem.