版本:
Python:3.6.8 (32位)
PySide2: 5.15.0
我的代码:
import PySide2.QtCore
print(PySide2.__version__)但是得到了错误:
Traceback (most recent call last):
File "E:/7-Pycharm/contrl_sys_ui/test/qt_test.py", line 1, in <module>
import PySide2.QtCore
ImportError: DLL load failed: The specified module was not found发布于 2020-07-16 15:03:34
我刚刚尝试使用以下命令在我的Google collab中安装和导入:
pip install PySide2
import PySide2.QtCore
print(PySide2.__version__)输出结果如下:

但是,我的Python版本是3.6.9。但是,您可以尝试重新安装此程序包,并让我们知道吗?
https://stackoverflow.com/questions/62929010
复制相似问题