discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Gnuradio-3.3.0 on Ubuntu-10.04


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Gnuradio-3.3.0 on Ubuntu-10.04
Date: Wed, 25 Aug 2010 16:46:15 -0700
User-agent: Mutt/1.5.20 (2009-12-10)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]