On Wed, Aug 25, 2010 at 04:03:59PM -0700, Brook Lin wrote: > > 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:
I'm guessing that you have more than one installation on your system. Perhaps one installed a while back using a .deb, and the one that you're trying to build now. Remove all traces of GNU Radio, then try again... Eric > > 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 _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
