Requirments First run this command to install dependencies. pip install PyQt5 PyQt5Designer numpy Pillow Compile PyQt5 designer XML Run this command to compile designer XML code into python code. pyuic5 main_window.ui -o main_window.py