Thanks, Marcus.
I tried usrp_fft.py and got the same error. I also tried dial_tone.py under
/gnuradio-example/python/audio, but I got the similar error:
Traceback (most recent call last):
File "./dial_tone.py", line 24, in <module>
from gnuradio import audio
File "/usr/lib/python2.6/dist-packages/gnuradio/audio.py", line 88, in
<module>
__init__()
File "/usr/lib/python2.6/dist-packages/gnuradio/audio.py", line 78, in
__init__
raise ImportError, 'Unable to locate an audio module.'
ImportError: Unable to locate an audio module.
However, if I import audio from gnuradio using $ python, there is no error.
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gnuradio import gr
>>> from gnuradio import audio
>>>
Thanks,
Brook
--
View this message in context:
http://old.nabble.com/Gnuradio-3.3.0-on-Ubuntu-10.04-tp29535765p29537436.html
Sent from the GnuRadio mailing list archive at Nabble.com.
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio