Avatar ·

The problem of This Application Failed to Start Because It Could Not Find the Qt Platform Plugin "Windows" [duplicate]

📁 Advanced Python Topics, question, python3, project

(3 answers)
closed 6 years ago .

Recently reinstalled Windows and decided to try to work with Python.

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

  #!/usr/bin/python3  #-*-coding: UTF-8 -*-  import  sys  from  PyQt5.QtWidgets  import  QApplication, QWidget  if  __name__ ==  '__main__': app = QApplication(sys.argv) w = QWidget() w.resize(