Avatar ·

Problem: This application failed to start because it could not find or load the Qt platform plugin "windows" in "" [duplicate]

📁 Advanced Python Topics, question, python3, project

(3 answers)
Closed 6 years ago.

Recently reinstalled Windows and decided to try to figure out Python.

Installed Python, PyCharm, created a project, installed the PyQt5 library in the project, copied the code from:

#!/usr/bin/python3# -*- coding: utf-8 -*-import sysfrom PyQt5.QtWidgets import QApplication, QWidgetif __name__ == '__main__':    app = QApplication(sys.argv)    w = QWidget()    w.resize(250, 150)    w.move(300