Using krakensdr source from python code generated by GNU Radio

Hi, I’m trying to run code generated by GNU radio (there’s an option to generate the flow graph in the form of a python script), but I’m running into an import issue for the line “from gnuradio import krakensdr.”

The flow graph within GNU radio companion behaves as expected, so I am assuming I have properly installed the gr-krakensdr blocks and such. Any advice?

What’s the exact error message that it gives? We haven’t tested the ability to export code with the block and I’m not exactly sure how it works. Maybe you need to specify external imports separately?