SpotlightKid / python-rtmidi

Python bindings for the cross-platform MIDI I/O library RtMidi
https://spotlightkid.github.io/python-rtmidi/
Other
349 stars 65 forks source link

Version 1.5.0 PyPi incompatible with M1 ARM64 architectures #151

Closed Jasonhead44 closed 1 year ago

Jasonhead44 commented 1 year ago

installing version 1.5.0 via pip results in a _rtmidi.cpython-310-darwin.so file that is an incompatible architecture for MacOS M1 devices - (have 'x86_64', need 'arm64').

This error results when attempting to use python-rtmidi version 1.5.0:

"dlopen(~/lib/python3.10/site-packages/rtmidi/_rtmidi.cpython-310-darwin.so, 0x0002): tried: '~/lib/python3.10/site-packages/rtmidi/_rtmidi.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))"

Version 1.4.9 resulted in no errors and worked as expected - replacing the _rtmidi.cpython-310-darwin.so file installed with version 1.5.0 with the one installed with 1.4.9 fixes the issue.

SpotlightKid commented 1 year ago

Duplicate of #149.