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

Apple Silicon macOS wheel? #147

Closed akx closed 1 year ago

akx commented 1 year ago

Hi there,

Would it be possible to also publish an Apple Silicon wheel for macOS? There's currently just a rtmidi-2.5.0-cp311-cp311-macosx_13_0_x86_64.whl, which obviously doesn't work that well with an arm64 Python:

ImportError: dlopen(.../rtmidi/_rtmidi.cpython-311-darwin.so, 0x0002): tried: '.../rtmidi/_rtmidi.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS.../rtmidi/_rtmidi.cpython-311-darwin.so' (no such file), '.../rtmidi/_rtmidi.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

brunoenten commented 1 year ago

Hi,

You're in the wrong project :) This is python-rtmidi, you want pyrtmidi. Yeah, it's confusing.

Here's the link to pyrtmidi: https://github.com/patrickkidd/pyrtmidi

akx commented 1 year ago

@brunoenten Oop, sorry! (I switched to Portmidi for now anyway, so all good...)