from PyQt6 import QtCore, QtGui, QtWidgets ImportError: DLL load failed while importing QtGui:
from PyQt6 import QtCore, QtGui, QtWidgets ImportError: DLL load failed while importing QtGui: 找不到指定的程序。
安装了pyqt6-tools后,运行pyqt模块代码都会报错from PyQt6 import QtCore, QtGui, QtWidgets ImportError: DLL load failed while importing QtGui: 找不到指定的程序。
网上找了各种答案都不太明白,然后我通过网上回答和自己的猜想说会不会是版本问题。
我就试着更新了一下setuptools,发现可以运行了,意外之喜。
以下是更新步骤供大家参考
因为我是更新后自己试了,所以用的其他没更新的截图,步骤都是一样的
如果只更新setuptools还是不可以的话,可以尝试更新其他的试试
如果都不行,只能遗憾地告诉大家我可能也不清楚了。
希望能给大家一些帮助。
忘记告诉大家,对于如何安装新版本,我是用的上述方法,有没有旧安装包残留不是很清楚,希望有清楚的小伙伴可以评论告诉一下哦,感谢大家。
from PyQt6 import QtCore, QtGui, QtWidgets ImportError: DLL load failed while importing QtGui:相关推荐
- Python使用Pillow包报错 ImportError: DLL load failed while importing _imaging: 找不到指定的程序。
最近使用Python调用Pillow时报错,代码就两行: from PIL import Imageprint("PyCharm") 报错如下: Traceback (most r ...
- import win32api, sys, os ImportError: DLL load failed: The specified module could not be found.
这几天,终于不再用Notepad++,而改用Pycharm,来做Python编程了.今天早上运行一个调用Win32api的程序,开始报错: import win32api, sys, os Impor ...
- Django终端运行报错:ImportError: DLL load failed while importing _sqlite3: 找不到指定的模块。
在pycharm运行没问题,但是在终端cmd或Powershell就会出错,如下: Traceback (most recent call last):File ".\manage.py&q ...
- ImportError: DLL load failed while importing _openmp_helpers: 拒绝访问。sklearn库拒绝访问
在运行以下的代码时,这两个代码全都报了这个错误 from sklearn.metrics import mean_squared_errorfrom sklearn.preprocessing imp ...
- ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块(pyinstaller打包的问题)
本人环境配置: RTX3060 Win10 cuda11.1 Python3.8 Pytorch1.7.1 问题描述 本人需要将有导入torch包的python文件通过pyinstaller打包生成e ...
- Miniconda, ImportError: DLL load failed while importing win32api
Miniconda环境中 pip install pywin32 然后使用出错 import win32api ImportError: DLL load failed while importing ...
- 使用wxauto出现ImportError: DLL load failed while importing win32gui: 找不到指定的程序报错的解决方案
文章目录 背景 错误提示 解决方案 建议关注我的 微信公众号:破壳Ai,分享最佳学习路径.教程和资源.成长路上,我陪你. 背景 利用 wxauto 开发微信机器人,Pycharm 中运行程序时出错 错 ...
- ImportError: DLL load failed while importing win32api
今天在装jupyterlab环境的时候,老是跳出ImportError: DLL load failed while importing win32api: 找不到指定的模块. 我找到了网上的方法试了 ...
- ImportError: DLL load failed while importing _ctypes conda
更新conda环境conda update -n base conda 在更新的过程中报错ImportError: DLL load failed while importing _ctypes,网上 ...
最新文章
- Github上的PHP资源汇总大全
- 1007 Maximum Subsequence Sum(两种思路)
- 2015年第六届蓝桥杯 - 省赛 - C/C++大学A组 - B. 星系炸弹
- BeanUtils.copyProperties()使用详解+在不同包的区别
- 转行AI成功的秘诀只有一个,那就是……
- VBS使文本框的光标位于所有字符后
- (1)zynq FPGA简介
- Memcached:高性能的分布式内存缓存服务器
- 139. php://
- 爬虫:Python爬虫学习笔记之Urllib库
- Hyperion Essbase入门(五)SmartView
- Office 2021办公套件iso镜像下载
- Android阿面试积累,android项目开发实战密码
- 清华胡宇迪教授谈关于爱情、关于伴侣、关于承诺、关于人生、关于友情、关于微笑、关于生活、关于幸福...
- MOS管的输入阻抗很大带来的问题
- 介电常数:介电常数(ε)、相对介电常数εr、真空介电常数(ε0)
- 免费资源 | Photoshop资料合集免费领取!快速get PS技能!
- php上传文件存本地
- 豆浆!——骑上广东第一峰看看日出
- sakai mysql_Sakai中使用MySQL数据库