[Top][All Lists]

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

Re: [Discuss-gnuradio] Mode S and ADS-B

From: Tom Owens
Subject: Re: [Discuss-gnuradio] Mode S and ADS-B
Date: Fri, 31 Aug 2007 11:15:46 -0400
User-agent: Thunderbird (X11/20070728)

Eric Blossom wrote:
On Fri, Aug 31, 2007 at 10:18:15AM -0400, Tom Owens wrote:
Eric A. Cottrell wrote:
Tom O wrote:
Hi Eric,

When I run usrp_mode_s_logfile.py I get:
  ImportError: cannot import name air

Can you help me out?

air is the name of the python library that contains the gr-air blocks. Make sure you compiled and installed gnuradio properly and have
PYTHONPATH set correctly.
There should be several _air.* and air.* files in site-packages/gnuradio
(typically /usr/lib/python<version>/site-packages/gnuradio or
/usr/local/lib/python<version>/site-packages/gnuradio).  The default
prefix for compile is /usr/local so you may have to add subdirectories
under the /usr/local directory to various paths.

73 Eric


(I can find numpy at /usr/lib/python2.4/site-packages/Numeric/_numpy.so)

Here is the make check errors:

I believe that's an obsolete piece of Numeric (Numeric != numpy).

When I install numpy, it ends up in it's own directory like this:


Eric K7GNU

Thanks all,
I went to http://numeric.scipy.org which led me to http://sourceforge.net/projects/numpy and installed NumPy. I suppose I should read the README that comes with gnuradio when I go to a different version gnuradio. Eric Cottrell's usrp_oscope_ms.py seems to work now. I'll have to take a look at it since the default parameters give alot of USRP overruns. Make check was successful besides the timeout problem with mblock.


reply via email to

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