【发布时间】:2020-06-13 14:41:16
【问题描述】:
试图让samplebinding example 工作,但无论使用的编译器、python 还是 pyside 版本,我仍然得到
ImportError: DLL load failed while importing Universe: 找不到指定的模块。
上次使用的配置:
- VS2019
- cmake 3.16.2
- python 3.81 amd64 来自 python.org
- pyside2, shiboken2 5.14.1 来自 pip
- shiboken-generator whl 5.14.1 来自here
库正在编译:
【问题讨论】:
-
@eyllanesc 添加到 PATH 或 PYTHONPATH,仍然出现错误。我认为是某种二进制冲突,可能是编译后的 shiboken-generator WHL 和 python 解释器。
标签: python qt5 pyside2 shiboken2