discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: ImportError: No module named baz_swig


From: Cinaed Simson
Subject: Re: ImportError: No module named baz_swig
Date: Fri, 5 Nov 2021 12:47:30 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

I'd recommend installing -the following - if you haven't already done so

  librtlsdr-dev
  libosmosdr-dev
  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

  https://github.com/balint256/gr-baz

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 <module>
    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.
    Regards,

Ian

.




reply via email to

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