I humbly apologize for everything wrong I have done, now today, or will
do in the future…
I am electrical Eng, want to start using gnuradio, coming back to Linux
after 10 years off. After 2 frustrating weeks, I was finally able to get
AN install, but the verbose seems NOT completely clean.
I had the “PythonPath” and “LD_LIB_CONF” problems, and got through that
with help from the previous (old) post on this forum (see far below).
Thanks! Thanks! Thanks!
(Aside: why is there a Gnuradio forum on a Ruby site?
again, sorry in advance for my ignorance…)
Starting WITH HOPE ,from a forum post over 6 months old but with
output pretty close to what I get now (scroll to bottom for OLD original
post).
My $env:
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
echo $PYTHONPATH
/usr/local/lib/python2.7/dist-packages:/usr/local/lib/python2.7/site-packages:/usr/local/bin
LIB_LD_CONF:
ls etc/ld.so.conf.d/
GL.conf gr-audio-alsa.conf gr-wxgui.conf libc.conf
gnuradio.conf gr-audio-oss.conf i686-linux-gnu.conf
gnuradio-core.conf grc.conf libasound2.conf
When I execute usrp_benchmark_usb.py I get:
(is it because I do not yet have the usrp HW?) I would LOVE THAT if
true!
Testing 2MB/sec… usrp: failed to find usrp[0]
Traceback (most recent call last):
File
“gradio/gnuradio-3.3.0/gnuradio-examples/python/usrp/usrp_benchmark_usb.py”,
line 106, in
main ()
File
“gradio/gnuradio-3.3.0/gnuradio-examples/python/usrp/usrp_benchmark_usb.py”,
line 96, in main
ok = run_test (rate, verbose)
File
“gradio/gnuradio-3.3.0/gnuradio-examples/python/usrp/usrp_benchmark_usb.py”,
line 63, in run_test
usrp_tx = usrp.sink_s (0, tx_interp)
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/usrp/usrp_swig.py”,
line 2800, in sink_s
return _usrp_swig.sink_s(*args, **kwargs)
RuntimeError: can’t open usrp
ORIGINAL POST:
i am installing every thing according to the gnuradio installation
document.
every thing is going fine but when i give the following command
dushyanth@dushyanth-desktop:~/gnuradio/gnuradio-examples/python/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
This is the problem i am facing. please help me in this regard.
Thank you
with regards,
dushyanth