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?

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

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:

  /usr/local/lib/python2.4/site-packages/numpy

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.

-Tom


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to