I’m not a Kicad file expert but, I’ve written about 30 plugins for my own use and they all work and have been since v5. BUT, the init.py in all of my past and current ‘init’ files are completely empty of any code/imports. They’re just blank files. Thus, try deleting code from them…
As I recall (and could be wrong) the init file is for Complex plugins, I’ve done only one Complex plugin (I prefer ‘Simple’ plugins… Look into both types of plugins…
Here’s Complex plugin info, notice it refers to init contents…
Alas, from .kvgui import still produces the same error.
I think I’ve found the solution, though. from . import kvgui works. I don’t know if there’s a way to import only certain names from kvgui when doing this. But at least I can make the code work.