×

Python Python下shiboken2报错DLL load failed Qt for Python报错ImportError

Qt for Python使用PySide报错DLL load failed

mtsym mtsym 发表于2019-07-07 15:28:39 浏览6288 评论0

抢沙发发表评论

Qt for Python出来有一段时间了, 之前很多小工具都一直在用PyQt写, 从Qt 5.12开始就尝试了一下PySide, 今天升级到5.13版本之后, 运行一个Python的项目发现shiboken2报如下错误

from .shiboken2 import *
ImportError: DLL load failed: The specified procedure could not be found.

我检查了一下pyside2、shiboken2都是最新版本的, 卸载了再安装问题依旧, 于是去github和Qt官方翻了一大堆issue还是没有解决问题, 于是我就尝试更换Python版本, 我当前的版本是3.6.3, 升级到3.6.8之后问题解决了!

群贤毕至

访客