[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Mode S and ADS-B
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Mode S and ADS-B |
Date: |
Fri, 31 Aug 2007 07:50:59 -0700 |
User-agent: |
Mutt/1.5.9i |
On Fri, Aug 31, 2007 at 09:37:25AM -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?
> >>>
> >>>Tom
> >>>
> >
> >Hello,
> >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
> >
> >
> Thanks Eric,
> I see what you are saying. What I ended up doing to correct the error
> is svn'd your version of gnuradio:
> svn co http://gnuradio.org/svn/gnuradio/branches/developers/wb1hbu/wip/
> gnuradio.1
> then: ./bootstrap, ./configure, make, make check, make install.
> What does it take to keep a stable release of gnuradio and only add your
> piece of gr-air and have it all compile and install correctly?
Two separate build trees each specifying their own --prefixes. You'll
need distinct values of PYTHONPATH to select between the two at
runtime.
Eric KGNU