discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] ModuleNotFoundError


From: Ron Economos
Subject: Re: [Discuss-gnuradio] ModuleNotFoundError
Date: Mon, 22 Jul 2019 20:08:08 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

The PYTHONPATH should be:

/usr/local/lib/python3.7/dist-packages

The LD_LIBRARY_PATH should be:

/usr/local/lib

A couple more notes. Make sure you do a sudo ldconfig after the build. Also, there was a bug in the 3.8.0.0-rc1 tag. Make sure you build the latest 3.8.0.0-rc2 tag (or anything after commit 0ab6a74).

Ron

On 7/22/19 18:47, Barry Duggan wrote:
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!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]