I can’t get the midi-piano.py example script to work on my new Raspberry Pi 3. It worked fine on a Raspberry Pi 2 and I followed the same procedure to install the midi library on the Pi 3 but it doesn’t work. I don’t get any errors when I run the setup script for the library but when I run midi-piano.py it gets an error on the statement import midi.sequencer saying there is no module called sequencer. I get the same error with the mididumphw.py script that is included with the library. I can import midi so it looks as if the library has installed, but I can’t import midi.sequencer
I am using the version of Linux installed on the SD card that Pimoroni sell with their Raspberry Pi 3 essentials kit.
Is there any way to fix this or is the midi library not compatible with the Raspberry Pi 3?