PyQt5 crashes to answer

A simple program does not copy on the Internet, but it always crashes, and Sogou Input also miraculously crashes

import sys
from PyQt.QtWidgets import QApplication, QWidget

if name ="_ _ main__":

app = QApplication(sys.argv)
w=QWidget()
w.show()
sys.exit(app.exec_())
Aug.17,2021
The

code looks fine, and sometimes you need to look at your environment configuration and the main error messages.
or describe whether the collapse you are talking about is a flicker, a crash or an error?

Menu