[Top][All Lists]

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

Re: ImportError: No module named baz_swig

From: Ian Bennett
Subject: Re: ImportError: No module named baz_swig
Date: Sat, 6 Nov 2021 07:51:55 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

        Thanks for the reply.
librtlsdr-dev was already installed. The other two were not and pulled in some other dependencies during the install process.
        This did not fix my problem though.
I couldn't install gr-baz from the ubuntu repo so followed the build process for gr-baz on github. I could then get it to run, but with no output. After further reading, the website recommends a minimum version of 3.8. I note that 3.9 is available via a PPA so will install that and work through the tutorials (which I didn't find yesterday). Must have had a "man" look ;-)
        Thanks again for your assistance.


On 6/11/21 6:47 am, Cinaed Simson wrote:
I'd recommend installing -the following - if you haven't already done so

   libosmocore-dev (not sure)

And I'm just guessing - I don't have gnuradio 3.7 or ubuntu installed.

Also,unless you were able to in install the ubuntu package gr-baz from one of the ubuntu repositories - which is unlikely, then download and built  the code from


I's an OOT module which doesn't come with gnuradio.

And I would test using the rtl dongle with gnuradio. Create a flowgraph with the "osmocom soure" and a "qt gui sink".

-- Cinaed

On 11/5/21 03:40, Ian Bennett wrote:
Good Evening,
    I am taking my first tentative steps with GNU Radio.
    I am using Ubuntu 18.04.6 LTS with a RTL2832U dongle from RTL-SDR.COM. This combination works fine with CubicSDR and rtl_433.     I installed gnuradio-companion from the repo (sudo apt install gnuradio) which gave me version 3.7.11-10.
    I found a tutorial that built a FM receiver, so thought that would be a 
good place to start.
    After a few issues building the receiver (solved with google), I finally got to the point where I could execute the flow graph.
    Now I get the following in the terminal:

Executing: /usr/bin/python -u /data/Amateur_Radio/SDR/GNU-radio/top_block.py

Traceback (most recent call last):
  File "/data/Amateur_Radio/SDR/GNU-radio/top_block.py", line 35, in <module>
    import baz
  File "/usr/local/lib/python2.7/dist-packages/baz/__init__.py", line 40, in 
    from baz_swig import *
ImportError: No module named baz_swig

    I can see there is "No module named baz_swig" but no amount of googling 
yielded a solution.
    Hoping someone can help.



reply via email to

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