vishnubob / python-midi

Python MIDI library
MIT License
1.49k stars 370 forks source link

No module named sequencer #107

Open ghost opened 7 years ago

ghost commented 7 years ago

midilisten.py

import midi.sequencer as sequencer

ImportError: No module named sequencer

wilderfield commented 7 years ago

Seeing the same issue, Ubuntu python 2.7.x

Tried installing both using pip, and by cloning from git, and running the script

ZonkSec commented 6 years ago

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.