ImportError: No module named gnuradio

I have a USRP and it seems to communicate fine with
the FC5 box. I have looked through the discuss-gnuradio mail archive and
it seems like python is not finding gnuradio module. I checked path from
within python for
/usr/local/lib/python/site-packages as mentioned in prior
posts…it seems to be right. See below:
any suggestions? disclaimer: I am not Linux expert, but know the basics.
Is there a way to check gnuradio install?

[radio1@localhost apps]$ ./test_usrp_standard_tx
tx_underrun
xfered 1.34e+08 bytes in 4.2 seconds. 3.199e+07 bytes/sec. cpu time =
0.592
1 underruns

[radio1@localhost usrp]$ ./usrp_oscope.py
Traceback (most recent call last):
File “./usrp_oscope.py”, line 25, in ?
from gnuradio import gr, gru
ImportError: No module named gnuradio

[radio1@localhost ~]$ python
Python 2.4.2 (#1, Feb 12 2006, 03:59:46)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

sys.path
[’’, ‘/usr/lib/python24.zip’, ‘/usr/lib/python2.4’,
‘/usr/lib/python2.4/plat-lin ux2’, ‘/usr/lib/python2.4/lib-tk’,
‘/usr/lib/python2.4/lib-dynload’, ‘/usr/lib/p ython2.4/site-packages’,
‘/usr/lib/python2.4/site-packages/Numeric’, ‘/usr/lib/p
ython2.4/site-packages/dbus’,
‘/usr/lib/python2.4/site-packages/gtk-2.0’, ‘/usr/
lib/python2.4/site-packages/wx-2.6-gtk2-unicode’]

[root@localhost usrp]# ./benchmark_usb.py
Traceback (most recent call last):
File “./benchmark_usb.py”, line 30, in ?
from gnuradio import gr
ImportError: No module named gnuradio

[email protected] wrote:

I have a USRP and it seems to communicate fine with
the FC5 box. I have looked through the discuss-gnuradio mail archive and it seems like python is not finding gnuradio module. I checked path from within python for
/usr/local/lib/python/site-packages as mentioned in prior posts…it seems to be right. See below:
any suggestions? disclaimer: I am not Linux expert, but know the basics.
Is there a way to check gnuradio install?

sys.path

[’’, ‘/usr/lib/python24.zip’, ‘/usr/lib/python2.4’, ‘/usr/lib/python2.4/plat-lin ux2’, ‘/usr/lib/python2.4/lib-tk’, ‘/usr/lib/python2.4/lib-dynload’, ‘/usr/lib/p ython2.4/site-packages’, ‘/usr/lib/python2.4/site-packages/Numeric’, ‘/usr/lib/p ython2.4/site-packages/dbus’, ‘/usr/lib/python2.4/site-packages/gtk-2.0’, ‘/usr/ lib/python2.4/site-packages/wx-2.6-gtk2-unicode’]

I don’t see /usr/local/lib/python2.4/site-packages in that list.
/usr/lib/python2.4/site-packages is, but not local.

-Dan