python-rtmidi
python-rtmidi copied to clipboard
error: AttributeError: module 'rtmidi' has no attribute 'MidiOut'
I'm on macos 15. Python in a venv with 3.9.21
import rtmidi
import time
midiout = rtmidi.MidiOut()
ports = midiout.get_ports()
Are you sure you really installed this package? Not another package, which uses the Python package name rtmidi?
See the install instructions, if unsure.
Looks like you're right but why are there two python packages with the same name???