shiboken2 DLL Loading Problem
Solved
Qt for Python
-
Hello,
usualy I develop with in C++. Now will test the Python way in Qt.
Python 3.6 is installed in "D:\Python".The script fails from the very beginning in this line:
from PySide2.QtWidgets import QApplication, QMainWindow
What can be the reason ?
This is shown in the "Application output"
\Users\weich\AppData\Roaming\Python\Python36\site-packages, D:\Python\lib\site-packages Traceback (most recent call last): File "D:\@projekte\Python\QtTest\PythonTest\main.py", line 6, in <module> from PySide2.QtWidgets import QApplication, QMainWindow File "D:\Python\lib\site-packages\PySide2\__init__.py", line 107, in <module> _setupQtDirectories() File "D:\Python\lib\site-packages\PySide2\__init__.py", line 58, in _setupQtDirectories import shiboken2 File "D:\Python\lib\site-packages\shiboken2\__init__.py", line 27, in <module> from .shiboken2 import * ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden.
-
Hi,
How did you install PySide2 ?
-
Which version did you get ?
-
Try installing a previous version.
-
@SGaist said in shiboken2 DLL Loading Problem:
Try installing a previous version.
I have tested a lot of PySide versions but nothing helps.
Then in the source-code I found a hint to a libshiboken.dll. Under this topic you can find more in the net net.
The solution was Python 3.8.7.