I am using the QGIS plugin builder 3 with Qt Designer to create the GUI for my plugin. I've got a basic GUI done with QtDesigner and I need to dynamically populate a container in my GUI using python. I am struggling to write the python code for this without having a proper look at the python file generated by the builder using the .ui file. I've tried doing it manually using commands like the following:
C:\path_to_pyuic\pyuic.py -o ui_form.py form.ui
When I do this, it struggles to find PyQT related packages. I get the following error:
No module named PyQt5
But when I run the plugin on QGIS, the GUI pops up perfectly and everything runs smooth. It would be great if someone can point out a quick and easy way to access the .py file generated by the builder. I am not super sure if it is actually generated but it would be ideal if it is accessible in some way.