Anaconda3使用PySide2发生This application failed to start because no Qt platform...的解决方法

错误详情

Anaconda3使用PySide2发生This application failed to start because no Qt platform...的解决方法_第1张图片

解决方法

增加环境变量:[QT_QPA_PLATFORM_PLUGIN_PATH]=安装路径\Lib\site-packages\PySide2\plugins\platforms

安装路径为Anaconda3的安装位置,比如:
D:\Anaconda3\Lib\site-packages\PySide2\plugins\platforms

你可能感兴趣的:(Anaconda3,PySide2)