I respond to myself :
If you encounter "Cannot import gnuradio" error, then go to Finding the Python library to set your PYTHONPATH and LD_LIBRARY_PATH. After setting these environment variables, you need to do sudo ldconfig again for the Linux dynamic library loader to find the just-installed GNU Radio libraries. If you have installed in a custom path with -DCMAKE_INSTALL_PREFIX=XXX, you will need to add that path to $PATH in order to find gnuradio-companion.
see here : https://wiki.gnuradio.org/index.php/ModuleNotFoundError#B._Finding_the_Pytho...
regards, Jean-Philippe
Message: 1 Date: Sat, 6 Feb 2021 19:18:50 +0100 From: J-Ph Buchet jph.buchet@gmail.com To: "tetrapol-kit@brmlab.cz" tetrapol-kit@brmlab.cz Subject: [Tetrapol-kit] since Python 3... Message-ID: 601edd89.1c69fb81.4f339.8b18@mx.google.com Content-Type: text/plain; charset="utf-8"
Hello, I am installing the kit on raspiOS ( rpi3b+/buster). Since several days I am looking for a solution about the error I get after launch the .sh file :
Traceback (most recent call last): File "../demod/demod.py", line 10, in from gnuradio import gr, gru, eng_notation, blocks, filter, digital, analog ModuleNotFoundError: No module named 'gnuradio'
Does anybody have an idea to resolve that ? I am sure, Gnuradio « knows » python 3.7 path : after a ctrlC : for l in sys.stdin: « File "/usr/lib/python3.7/codecs.py", line 319, in decode def decode(self, input, final=False): «
Thank you ! JPh
Provenance : Courrier pour Windows 10