Friday, January 22, 2021

Re: Basic block in EPY block?

That line (import gnuradio.extras) looks like a stray piece of code. Delete it and see what happens.

On Fri, Jan 22, 2021 at 4:07 AM Steffen Kiel <SteffenKiel@outlook.dk> wrote:
Hi all.

Following the python example at https://wiki.gnuradio.org/index.php/Types_of_Blocks it should be possible to create basic blocks in python, but when trying to import the gnuradio.extras module, it gives an error saying it doesn't exist:

Can't interpret source code: No module named 'gnuradio.extras'

I am using GRC 3.8.2.0. Is this not possible in a embedded block?

No comments:

Post a Comment