Python: Caution on scikits.audiolab installation


Python で scikits.audiolab をインストールするときには注意が必要です。 コンパイルと実行の際にエラーの出る場合があります。

Environment

  • Python 2.7
  • Ubuntu 15.04

libsndfile

scikits.audiolab is a wrapper libsndfile , so libsndfile is required for its installation.

If libsndfile doesn’t exist, the following exception will raised.

sndfile (http://www.mega-nerd.com/libsndfile/) library not found.

Actually, libsndfile1-dev should be installed.

Alsa not found

The another exception can be raised on execution.

Alsa not found – alsa backend not build

First, install the package.

And, reinstall the Python module, scikits.audiolab.