pycharm运行PyQt5出现错误This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

在系统环境变量中增bai加:
QT_QPA_PLATFORM_PLUGIN_PATH

C:Python34Libsite-packagesPyQt5plugins   <<----这里改成你的duPyQt5的plugins文件夹所在位置

原文地址:https://www.cnblogs.com/yttgrowupup/p/13599376.html