Gr-air?

Hi.

Found a set up article on how to set up gr-air:

http://superkuh.com/gnuradio/gr-air-modes_install.txt

I came to this step:

uhd_modes.py -d

And got this:

ERROR: uhd_modes.py has been deprecated. The new application name is
modes_rx.

After i ran this:

modes_rx -d

And got this:

Traceback (most recent call last):
File “/usr/local/bin/modes_rx”, line 25, in
from gnuradio import gr, gru, optfir, eng_notation, blks2
ImportError: No module named gnuradio

BTW Gnuradio is installed, and is running fine with gqrx.

How can I get out of this issue I have ?.

Thanks

Erik

And got this:

Erik
I now know, that I shall run the modes_rx.

But I still get this:

Traceback (most recent call last):
File “/usr/local/bin/modes_rx”, line 25, in
from gnuradio import gr, gru, optfir, eng_notation, blks2
ImportError: No module named gnuradio

What is the , and where to find it ?

Erik

P.S. Is it the right mailinglist for the query ?

On 02/20/2013 04:52 PM, Erik J. wrote:

And got this:

What is the , and where to find it ?

Erik

P.S. Is it the right mailinglist for the query ?
Once more :slight_smile:

Here I have marked the line 25. Is it something from here hat cannot be
loaded ?

my_position = None

from gnuradio import gr, gru, optfir, eng_notation, blks2 <----Line25
from gnuradio.eng_option import eng_option
from optparse import OptionParser
import time, os, sys, threading
from string import split, join
import air_modes
import gnuradio.gr.gr_threading as _threading
import csv
from air_modes.exceptions import *

Erik

On 02/20/2013 08:03 AM, Erik J. wrote:

And got this:
Thanks

my_position = None

from gnuradio import gr, gru, optfir, eng_notation, blks2 <----Line25

It is failing because Python can’t find the gnuradio module. gqrx is
working because it’s a C++ application and so doesn’t depend on the
Gnuradio Python module being installed.

What OS are you running (Ubuntu, Fedora, etc.), and what process did you
follow to install Gnuradio?

–n

On Wed, Feb 20, 2013 at 8:03 AM, Erik J. [email protected] wrote:

This is an indication that the PYTHONPATH is not set correctly as Python
is
not able to find GNU Radio’s installed modules.

The gqrx app is C++ and could still find the GNU Radio native C++
libraries
and work normally even with the above.

Johnathan

On Wed, Feb 20, 2013 at 10:44 AM, Johnathan C.
<[email protected]

wrote:

BTW Gnuradio is installed, and is running fine with gqrx.

This is an indication that the PYTHONPATH is not set correctly as Python
is not able to find GNU Radio’s installed modules.

The gqrx app is C++ and could still find the GNU Radio native C++
libraries and work normally even with the above.

Johnathan

Ah, thanks. I forgot gqrx was C++.

Tom

On Wed, Feb 20, 2013 at 11:03 AM, Erik J. [email protected] wrote:

uhd_modes.py -d

from gnuradio import gr, gru, optfir, eng_notation, blks2

Here I have marked the line 25. Is it something from here hat cannot be
from string import split, join
import air_modes
import gnuradio.gr.gr_threading as _threading
import csv
from air_modes.exceptions import *

Erik

Erik,

What version of GNU Radio are you using?

You can also easily test this by hand. Just open ipython (or just
python)
and start importing by hand:

from gnuradio import gr
from gnuradio import gru

Figure out which one is actually failing for you.

Tom