Import packages in PySide2 has dll load fail, but import PySide2 is ok
Locked
Unsolved
Qt for Python
-
When I use PySide2 in Anaconda, if I import Pyside2, it i ok; But when I import packages in PySide2, just like import PySide2.QtCore, there will be dll load fail:
Python
import PySide2.QtCore
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
But when I use PyQt5, there will be nothing. My python is 3.6.8, PySide2 is 5.9.0, but when I use python 3.6.4 and PySide2 5.11.0, it is same. Do anyone know how to solve it? Thanks! -
@klyjm Please do not double post.
https://forum.qt.io/topic/104463/import-packages-in-pyside2-has-dll-load-fail-but-import-pyside2-is-ok