Segfault on M2 mac with scanpy

Has anyone recently run into segfaults when using scanpy?

I simply ask for qc metrics with sc.pp.calculate_qc_metrics ("sc.pp.neighbors" kills kernel · Issue #2359 · scverse/scanpy · GitHub) and it crashes with

OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.

I use a fresh clean install of scanpy.

Are you using a native version of python? Instead of through rosetta?

I’m using python 3.9.13 from mambaforge

But which mambaforge did you install?

e.g., you need the arm64 one, or if using homebrew, you need homebrew built for arm64

I see. Yes, it’s arm64 I believe

$ file /Users/mxposed/mambaforge/bin/python
/Users/mxposed/mambaforge/bin/python: Mach-O 64-bit executable arm64