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?