在使用PyQT5时,需要使用pyuic将ui文件转换成py文件,因此需要进行pyuic的配置。

但是配置完成之后出现了报错

原因:pytyon解释器选错了,我选的是anaconda下面的python.exe,但是应该选择自己创建的虚拟环境中的python.exe文件。

修改之前:

修改之后:

解决

program: D:\anaconda\envs\pytorch1\python.exearguments: -m PyQt5.uic.pyuic $FileName$ -o $FileNameWithoutExtension$.pyworking directory : $FileDir$

PyQt5中ImportError: DLL load failed while importing QtCore: 鎵句笉鍒版寚瀹氱殑妯″潡銆�问题解决相关推荐

  1. 17.python-解决 pycharm运行提示:from PyQt5 impor ImportError:DLL load failed while importing QtCore

    报错提示: from PyQt5 import QtCore ImportError: DLL load failed while importing QtCore: The specified pr ...

  2. ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块(pyinstaller打包的问题)

    本人环境配置: RTX3060 Win10 cuda11.1 Python3.8 Pytorch1.7.1 问题描述 本人需要将有导入torch包的python文件通过pyinstaller打包生成e ...

  3. Miniconda, ImportError: DLL load failed while importing win32api

    Miniconda环境中 pip install pywin32 然后使用出错 import win32api ImportError: DLL load failed while importing ...

  4. 使用wxauto出现ImportError: DLL load failed while importing win32gui: 找不到指定的程序报错的解决方案

    文章目录 背景 错误提示 解决方案 建议关注我的 微信公众号:破壳Ai,分享最佳学习路径.教程和资源.成长路上,我陪你. 背景 利用 wxauto 开发微信机器人,Pycharm 中运行程序时出错 错 ...

  5. 【问题记录】ImportError: DLL load failed while importing _imaging: 找不到指定的模块

    在 windows 上使用 matplotlib 包的时候报错如下: ImportError: DLL load failed while importing _imaging: 找不到指定的模块. ...

  6. Django终端运行报错:ImportError: DLL load failed while importing _sqlite3: 找不到指定的模块。

    在pycharm运行没问题,但是在终端cmd或Powershell就会出错,如下: Traceback (most recent call last):File ".\manage.py&q ...

  7. 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: 找不到指定 ...

  8. ImportError: DLL load failed while importing _openmp_helpers: 拒绝访问。sklearn库拒绝访问

    在运行以下的代码时,这两个代码全都报了这个错误 from sklearn.metrics import mean_squared_errorfrom sklearn.preprocessing imp ...

  9. ImportError: DLL load failed while importing win32api

    今天在装jupyterlab环境的时候,老是跳出ImportError: DLL load failed while importing win32api: 找不到指定的模块. 我找到了网上的方法试了 ...

最新文章

  1. 学习javascript数据结构(三)——集合
  2. spring getbean 方法分析
  3. 软件工程--项目开发计划
  4. 数组之删除排序数组中的重复项
  5. 设计模式理解:中介者模式(Mediator)
  6. Hydra暴力破解工具的用法
  7. 使用GitLab CI和Docker进行容器应用自动化部署
  8. 多么痛的领悟--写在领英股票被腰斩之后
  9. 实现ftoa与itoa
  10. [na]华为acl(traffic-filter)和dhcp管理
  11. LeetCode 1352. 最后 K 个数的乘积
  12. Flutter UiKitView 嵌入iOS原生View
  13. js使用在vue中Date来计算日期,当前日期前多少天的日期 两个日期相减或相加等
  14. vba 正则表达式前后添加字符_不规则内容提取正则表达式
  15. d3 v4 api interpolate
  16. 据说被称为世上最经典的25句话!
  17. android 系统dialog的应用
  18. VSCode安装LeetCode插件
  19. 编程求一元二次方程的解
  20. 阿里大数据之路 总述

热门文章

  1. python实现docx的批注(comments)插入
  2. java中 数组声明,java数组声明格式
  3. Ceph 分布式存储
  4. 在Linux服务器root用户依然遇到删除不掉得文件如何办 ,宝塔用命令无法删除文件得解决问题,使用rm -rf删除命令提示Operation not permitted 如何解决
  5. 一键改计算机名字,上万文件如何快速批量重命名?原来只要一键就能搞定!-批量改文件名...
  6. 关于ExecuteNonQuery() 方法
  7. STM32F103定时器解码PT2262
  8. Sharpdevelop开发工具
  9. 工业dcs系统有服务器吗,DCS是什么 你了解多少
  10. Servlet监听器实现网站在线人数统计