The wheel file named macosx_11_0_arm64 for MontagePy 2.3.0 (Python 3.11) actually contains an x86_64 binary. Running file on the extracted .so confirms this:
montagepy-2.3.0-cp311-cp311-macosx_11_0_arm64.whl
MontagePy/main.cpython-311-darwin.so: Mach-O 64-bit bundle x86_64
This causes an ImportError on Apple Silicon Macs when Python is running natively as arm64. The workaround is to install and run under Rosetta (arch -x86_64), but the wheel should either contain a true arm64 binary or be relabeled as x86_64.
System: MacBook Pro M2 Pro, macOS 15 Sequoia, Python 3.11
The wheel file named macosx_11_0_arm64 for MontagePy 2.3.0 (Python 3.11) actually contains an x86_64 binary. Running file on the extracted .so confirms this:
montagepy-2.3.0-cp311-cp311-macosx_11_0_arm64.whl
MontagePy/main.cpython-311-darwin.so: Mach-O 64-bit bundle x86_64
This causes an ImportError on Apple Silicon Macs when Python is running natively as arm64. The workaround is to install and run under Rosetta (arch -x86_64), but the wheel should either contain a true arm64 binary or be relabeled as x86_64.
System: MacBook Pro M2 Pro, macOS 15 Sequoia, Python 3.11