python-midi
python-midi copied to clipboard
No module named sequencer
midilisten.py
import midi.sequencer as sequencer
ImportError: No module named sequencer
Seeing the same issue, Ubuntu python 2.7.x
Tried installing both using pip, and by cloning from git, and running the script
I had this same issue. I noticed this first output when installing manually with setup.py:
Warning: could not find asoundlib.h, not including ALSA sequencer support!
The setup won't install the sequencer if you do not have ALSA packages installed. I was able to fix by installing the "libasound2-dev" package on my Kali-Linux installation:
sudo apt-get install libasound2-dev
Hope this helps.