Monday, July 22, 2019

[Discuss-gnuradio] ModuleNotFoundError

Now that I have built and installed gnuradio on a Raspberry Pi, I am
getting the following screen when I try to start gnuradio-companion:

"""
ModuleNotFoundError

Cannot import gnuradio.

Is the model path environment variable set correctly?

Is the library path environment variable set correctly?

(No module named '_runtime_swig')
"""

I added the following lines to ~/.bashrc
# for gnuradio
PYTHONPATH="/usr/bin/python3.7"; export PYTHONPATH
LD_LIBRARY_PATH="/usr/local/include/gnuradio"; export LD_LIBRARY_PATH

Does it matter in what folder I start gnuradio?
What else do I need to do?

Thank you for all of your continued support with my questions!
--
Barry Duggan

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment