I'm using PyAudio under the Enthought Python Distribution (Python 2.6.6) in Ubuntu 10.10 x64.
>>> import pyaudio
>>> pa = pyaudio.PyAudio()
>>> pa.get_default_input_device_info()
Traceback (most recent call last):
File "<pyshell#24>", line 1, in <module>
pa.get_default_input_device_info()
File "/usr/lib/python_epd/lib/python2.6/site-packages/pyaudio.py", line 936, in get_default_input_device_info
device_index = pa.get_default_input_device()
IOError: No Default Input Device Available
This is the same error I get if I try to open an input stream. There is the corresponding error "IOError: No Default Output Device Available"
pa.get_device_count()
? – Entrammelpyaudio
installed viasudo apt-get install python-pyaudio
works on Ubuntu-11.10 – Denominate