Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PySide 2 installed successfully but not Shiboken 2

I have successfully managed to build and install PySide2 on Python 3.6.4. (default, not Anaconda) on Windows 10 operating system.

However shiboken2 has not been installed. How may I install shiboken2? I know that that the code for this module is attached to PySide2 installation files.

I suspect that my C++ code which is built as DLL file cannot be imported in Python due to missing shiboken2. However this importing works fine in Anaconda environment. But at the moment I do not want to use Anaconda because there are old versions of 'Qt' (5.6 but I need 5.9.x) and 'PySide2' installed.

like image 793
Matphy Avatar asked Dec 09 '25 21:12

Matphy


1 Answers

Just a moment ago I figured it out that shiboken2 can be imported like this:

    from PySide2 import shiboken2

So before importing my own files the above line has to be added.

like image 108
Matphy Avatar answered Dec 11 '25 11:12

Matphy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!