I installed the UHD and GNU Radio on Ubuntu 16.4 based on instructions (https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux)
I’m getting the following error when I try to run the example provided on the same page:
python /home/acsl/workarea-gnuradio/gnuradio/gr-audio/examples/python/dial_tone.py
Traceback (most recent call last):
File "/home/acsl/workarea-gnuradio/gnuradio/gr-audio/examples/python/dial_tone.py", line 23, in
from gnuradio import gr
ImportError: No module named gnuradio
my PYTHONPATH variable is set to : /usr/local/lib/python2.7/dist-packages
as directed by the installation page.
Prior to installing GNU radio I had Anaconda with Python installed. When check which Python installation is being used I get:
/home/abd/anaconda2/bin/python
It seems that there is some misalignment between the default python used and python expected to run in this example. Could somebody with more experience help me resolve this issue?
Thank you!