There is old code in your module, either left over from previous work, or
generated by an older version of GNU Radio that is still on your system. If
this is just tutorial code, delete the whole gr-tutorial directory, make
sure there is no second (v3.8) installation on your machine, and give it
another try. Be sure that there is only one version of GNU Radio on your
system. It takes days to figure out some of these problems if there are
multiple versions.

On Mon, Dec 6, 2021 at 5:47 PM Nikoloz Glonti <n...@glonti.com> wrote:

> Hello everybody!
>
> I'm writing this message once again, probably previous one never reached
> the mailserver.
> I'm entercounting problems when trying to make tests of my C++ block -
> this one from tutorial
> https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_C%2B%2B .
> How can i import my block to python test code(in tutorial there is
> "import tutorial_swig" as tutorial, but in gnuradio 3.9 there is no
> longer swig)?
>
> Traceback (most recent call last):
>    File
> "/niko1/Szkicowniki/gnuradio-bloczki/gr-tutorial/python/qa_my_qpsk_demod_cb.py",
>
> line 3, in <module>
>      import tutorial_swig as tutorial
> ModuleNotFoundError: No module named 'tutorial_swig'
> <end of output>
> Test time =   0.23 sec
>
>
> Thanks in advance!
>
> Niko
>
>
>

Reply via email to