Pyqt5 uic module not found

2.8k Views Asked by At

I am trying to import loadui library in pycharm.I have already pip install pyqt5 and pyqt5-tools.But when I try to import loadui with from PyQt5.uic import loadUi this code it is giving me Unresolved reference 'LoadUi' and Cannot find reference 'uic' in '__init__.pyi' errors.

How can i solve this ?

Example

1

There are 1 best solutions below

1
On

Maybe you should try to install PyQt5 tools. Try this command: pip install pyqt5-tools