I have been working to install GRC on my Windows 10 hosted, VMWare Ubuntu 20.04 machine. I have tracked my efforts here:
Ubuntu 20.04 Could NOT find MPIR during gr-iio cmake. After much trouble, I was able to install GRC 3.8 with dependencies and cmake
files built with no errors.
In my .bashrc
file, I set my paths to the following:
export PYTHONPATH=/usr/local/lib/python3/dist-packages/gnuradio:/usr/local/lib/python3/dist-packages:/usr/lib/python3/dist-packages/gnuradio:/usr/local/lib/python3/dist-packages/iio:$PYTHONPATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
After refreshing using: . ~/.bashrc
I launch GRC from the terminal and I am showing missing blocks for QT. I notice my block paths are:
Block paths:
/usr/local/share/gnuradio/grc/blocks
BUT, when I launch GRC from the application launcher I am able to see my QT Blocks. The block paths now show:
Block paths:
/usr/share/gnuradio/grc/blocks
/usr/local/share/gnuradio/grc/blocks
But, that's just one mystery. Another is the failure to import iio
for ether method of launching. In GRC, I get the following error:
ModuleNotFoundError: No module named 'iio'
However, when I take to terminal and type python3
and then import iio
I get a return character.
What's going on here?