Hi guys ,
I have just installed gnuradio3.1.3 in ubuntu10.04-amd64. But when i
tried to run the gnuradio-examples, i get the error message
‘ImportError: No module named gnuradio’. I instlled with the guide
‘OpenBTS_Guide_En_v0.1.pdf’. I checked the mails and find this
[Discuss-gnuradio] ImportError: No module named gnuradio.
When I just finished the installation, the PYTHONPATH is wrong, so i
type the command
$ export PYTHONPATH=/usr/local/lib/python2.6/site-packages
but the error still persists.
administrator@ubuntu:~/gnuradio-3.1.3$ sudo ldconfig
[sudo] password for administrator:
administrator@ubuntu:~/gnuradio-3.1.3$ cd
/usr/local/share/gnuradio/examples/usrp/
administrator@ubuntu:/usr/local/share/gnuradio/examples/usrp$
./usrp_benchmark_usb.py
Traceback (most recent call last):
File “./usrp_benchmark_usb.py”, line 30, in
from gnuradio import gr
ImportError: No module named gnuradio
import sys
sys.path
[‘/home/administrator’, ‘/usr/bin’, ‘/usr/lib/python2.6’,
‘/usr/lib/python2.6/plat-linux2’, ‘/usr/lib/python2.6/lib-tk’,
‘/usr/lib/python2.6/lib-old’, ‘/usr/lib/python2.6/lib-dynload’,
‘/usr/local/lib/python2.6/dist-packages’,
‘/usr/lib/python2.6/dist-packages’,
‘/usr/lib/python2.6/dist-packages/PIL’,
‘/usr/lib/python2.6/dist-packages/gst-0.10’,
‘/usr/lib/pymodules/python2.6’,
‘/usr/lib/python2.6/dist-packages/gtk-2.0’,
‘/usr/lib/pymodules/python2.6/gtk-2.0’,
‘/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode’]
Please kindly help me out.
Thanks