pyqt5 (运行pyqt5 this application failed to start because no QT platform plugin cou)

这是因为直接pip install Pyqt5之后没有配置环境变量

 没有就新建:

变量名:QT_QPA_PLATFORM_PLUGIN_PATH

路径:F:\大学学习软件\Python3.5.2\Lib\site-packages\PyQt5\Qt\plugins(自己的路径)

猜你喜欢

转载自www.cnblogs.com/birdmmxx/p/12720951.html