ok problem solved i close the topic
sorry i just had to reinstall libnsdfile correctly
thanks


2010/5/28 arthur de conihout <arthurdeconihout@gmail.com>
Hi
I reinstall it on a different machine i got the same error with the nsdfile no warning anymore with audiolab .
I followed these points:

Requirements

audiolab requires the following softwares:

  • a python interpreter.
  • libsndfile
  • numpy (any version >= 1.2 should work).
  • setuptools

On Ubuntu, you can install the dependencies as follow:

sudo apt-get install python-dev python-numpy python-setuptools libsndfile-dev

Optional

Audiolab can optionally install audio backends. For now, only alsa (Linux) and Core Audio (Mac OS X) are supported. On Linux, you need alsa headers for this to work; on Ubuntu, you can install them with the following command:

sudo apt-get install libasound2-dev

For Mac OS X, you need the CoreAudio framework, available on the Apple website.

Build

For unix users, if libsndfile is installed in standart location (eg /usr/lib, /usr/local/lib), the installer should be able to find them automatically, and you only need to do a “python setup.py install”

Concerning the eventual site.cfg file i have no idea what to do with this it might be the problem maybe you can give advice?

Thank you



2010/5/28 David Cournapeau <cournape@gmail.com>
On Fri, May 28, 2010 at 1:58 AM, arthur de conihout
<arthurdeconihout@gmail.com> wrote:
> Thank you for the answer
> i would love trying audiolab but i got this error while importing i m
> running python2.6
>
>>>> import audiolab
> /usr/local/lib/python2.6/dist-packages/audiolab-0.0.0-py2.6-linux-i686.egg/audiolab/soundio/play.py:48:
> UserWarning: Could not import alsa backend; most probably, you did not have
> alsa headers when building audiolab

How did you install it ? Your installation looks bogus (if you build
it by yourself, please give the *exact* instructions you used)

David
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion