/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!
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment