当前位置:网站首页>Pychart cannot run designer Exe (this application failed to start because no Qt platform plugin could be I appears)

Pychart cannot run designer Exe (this application failed to start because no Qt platform plugin could be I appears)

2022-06-26 06:13:00 An Muxi

solve This application failed to start because no Qt platform plugin could be initialized The problem of

stay Pycharm Run in designer.exe Generated UI When you file , The following errors will occur :
 Insert picture description here

  • step 1:
    Check the configuration environment , take plugins Configure to the system environment ;
    Find... In your interpreter Pyside2( That is, you run designer Under the directory of ), My interpreter is Anaconda, stay designer Found in the same level directory plugins, So my plugins Path is :D:\anaconda\Lib\site-packages\PySide2\plugins

To My computer Open advanced system settings in , Configure environment variables :
Variable name :QT_QPA_PLATFORM_PLUGIN_PATH
A variable's value :D:\anaconda\Lib\site-packages\PySide2\plugins

  • step 2:
    In your cmd Enter... In turn

pip3 install sip
pip3 install pyqt5
pip3 install pyqt5-tools

  • step 3:
    Reopen Pycharm, And it's going to work .
原网站

版权声明
本文为[An Muxi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202180501384797.html