cariboulabs / cariboulite

CaribouLite turns any 40-pin Raspberry-Pi into a Tx/Rx 6GHz SDR
1.06k stars 96 forks source link

Cannot execute the flow graph in gnuradio-companion #166

Open gerd0355 opened 6 months ago

gerd0355 commented 6 months ago

I have tried to install the software for cariboulite as described in "installation.md". It works very well. The tests like cariboulite_test_app and SoapySDRUtils were also successful.

Next I have modified the the file 'fm_radio_receiver_soapy.grc' as shown in 'foto1.png'. After generating the flow graph and executing it, I got the following error message.

Generating: '/home/pi/cariboulite/software/gr-cariboulite/examples/grc/fm_radio_receiver_soapy.py'

Executing: /usr/bin/python3 -u /home/pi/cariboulite/software/gr-cariboulite/examples/grc/fm_radio_receiver_soapy.py

Warning: failed to XInitThreads() Traceback (most recent call last): File "/home/pi/cariboulite/software/gr-cariboulite/examples/grc/fm_radio_receiver_soapy.py", line 37, in from gnuradio import soapy ImportError: cannot import name 'soapy' from 'gnuradio' (/usr/lib/python3/dist-packages/gnuradio/init.py)

Done (return code 1)

What can I do? foto1

righthalfplane commented 6 months ago

That error means that the python soapy routines have not been installed correctly. Make sure gnuradio and the soapy routines are using the same version of python. You can try removing and reinstalling the SoapSDR routines or perhaps installing gr-soapy will work. Where is the "installation.md" file ?

righthalfplane commented 6 months ago

installing gr-soapy got rid of that problem for me.

sudo apt-get update sudo ap-get upgrade sudo apt-get install gr-soapy

gerd0355 commented 6 months ago

Thank you for this info. I will tried it. You will find the "installations.md" at the menupoint "Code" in the second to last line.