This application failed to start because no Qt platform plugin could be initialized. 报错解决方法
类似This application failed to start because no Qt platform plugin could be initialized
这种情况的报错,网络上会给出不同的解决方法,博主也一个一个地测试了一下,诸如修改环境变量等方式都没有解决这个问题,于是博主就开始怀疑是否是当自己在安装PyQt5的时候就根本没有安装成功呢?
于是,博主就重新安装了一下,使用到的命令如下
1 豆瓣:
1.1 PyQt5安装
pip install PyQt5 -i https://pypi.douban.com/simple
1.2 PyQt5-tools安装
pip install PyQt5-tools -i https://pypi.douban.com/simple
2 官网:
2.1 PyQt5安装
pip install PyQt5
2.2 PyQt5-tools安装
pip install PyQt5-tools
简单测试一下,能够运行并且弹出窗口,如下
当然,不同的人的问题情况也是不一样的,还是需要多去查阅资料,学会自己解决问题
This application failed to start because no Qt platform plugin could be initialized. 报错解决方法相关推荐
- 解决This application failed to start because no Qt platform plugin could be initialized问题
问题描述: 在pycharm中安装pyqt5-tools后,尝试着打开该路径下的designer.exe C:\Users\PC\AppData\Local\Programs\Python\Pytho ...
- 亲测有效,一招解决错误:This application failed to start because not Qt platform plugin could be initialized.
运行Pyside2时出现如下图所示错误: 错误内容:This application failed to start because not Qt platform plugin could be i ...
- 关于使用PyQt5时报错This application failed to start because no Qt platform plugin could be initialized及后续问题
最近在学习pyqt做界面,然而刚起步就卡住了.用的pycharm 运行from PyQt5.QtWidgets import QApplication, QLabel报错This applicatio ...
- 【Qt】成功解决This application failed to start because no Qt platform plugin could be initialized的方法
我们在使用PySide2对Python程序进行图形化时,出现弹窗报错: This application failed to start because no Qt platform plugin c ...
- 成功解决This application failed to start because no Qt platform plugin could be initialized.
错误说明 错误原因 执行程序在运行时,默认先在当前目录下查找库文件.缺少Qt platform plugin下的库. 解决办法 设置系统环境变量 变量名 QT_QPA_PLATFORM_PLUGIN_ ...
- PyQT:This application failed to start because no Qt platform plugin could be initialized.
python QT简介:http://www.byhy.net/tut/py/gui/qt_01/ 这个例子开头是这样 import PySide2 from PySide2.QtWidgets im ...
- 解决Qt This application failed to start because no Qt platform plugin could be initialized问题
引用:https://blog.csdn.net/qq_51606180/article/details/120384845 方法一: 在用户变量中添加如下内容: 变量名:QT_QPA_PLATFOR ...
- 解决PySide2的This application failed to start because no Qt platform plugin could be initialized问题
总结一下思路:国内博客中通常是修改环境变量,这点是完全没问题的,但是由于国内博客大多写的是pyqt而不是pyside2,所以配置环境变量有所区别. 其实解决问题的方法也是配置环境变量,只不过路径不能只 ...
- PySide+PyDesigner出现错误:This application failed to start because no Qt platform plugin could be initia
PySide+PyDesigner出现错误:This application failed to start because no Qt platform plugin could be initia ...
最新文章
- SQL脚本--有关压缩数据库日志
- kosaraju算法
- linux关于禁用硬件xinput使用
- Python 微信定向问好
- osc mysql_MySQL学习(一) - osc_0sz5p35w的个人空间 - OSCHINA - 中文开源技术交流社区...
- Android系统(62)---Alarm的机制
- 2019年应届生平均起薪5610元 一线城市吸引力首次跌破30%
- Netty工作笔记0006---NIO的Buffer说明
- 用逻辑回归对用户分类 (理论+实战)
- 中国晶体谐振器行业市场供需与战略研究报告
- 关于Android Studio使用高德地图地位
- 【SQL Server】bak文件和mdf文件辨析
- java修改硬盘序列号怎么查_硬盘序列号的查看方法,如果多块硬盘如何查是哪块块的哪块要换掉?...
- Expo大作战(三十八)--expo sdk api之 FileSystem(文件操作系统)
- Pika的设计及实现
- import torch -- AttributeError: module ‘typing‘ has no attribute ‘_SpecialForm‘
- 【HTTP Status 500 - Servlet execution threw an exception】
- NB-IOT模块与MQTT.fx使用MQTT协议通讯
- windows压缩包 无法在Linux上打开
- 个人管理:放松离合与换档时刻