Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1323

PySide2-5.15.0 - On >>import PySide2 : Shiboken2 ImportError: DLL load failed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 5.15.0, 5.15.1, 5.15.3
    • 5.15.3
    • PySide, Shiboken
    • None
    • Windows
    • 5b025c330c78abdaa13d38690c391021495a300e (pyside/pyside-setup/5.15) 7d4d2fd57fba7fa82d1899c667328535efc7694c (pyside/pyside-setup/5.15) 0467ea1c3ddbf81fe4ab9a5c521e1d41ea22481f (pyside/tqtc-pyside-setup/5.15.0)

    Description

      Python: 3.71 
      PySide2-5.15.0
      shiboken2-5.15.0

      When installing PySide2 via >>pip install PySide2 

      And then jumping in to the python console. Trying to import >>import PySide2 

      It generates the error: 

      Successfully installed PySide2-5.15.0 shiboken2-5.15.0

      C:\Users\XX>python
      Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import PySide2
      PySide2/init.py: Unable to import shiboken2 from , C:\Users\XX\AppData\Local\Programs\Python\Python37\python37.zip, C:\Users\XX\AppData\Local\Programs\Python\Python37\DLLs, C:\Users\XX\AppData\Local\Programs\Python\Python37\lib, C:\Users\XX\AppData\Local\Programs\Python\Python37, C:\Users\XX\AppData\Local\Programs\Python\Python37\lib\site-packages, C:\Users\XX\AppData\Local\Programs\Python\Python37\lib\site-packages\win32, C:\Users\XX\AppData\Local\Programs\Python\Python37\lib\site-packages\win32\lib, C:\Users\XX\AppData\Local\Programs\Python\Python37\lib\site-packages\Pythonwin
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "C:\Users\XX\AppData\Local\Programs\Python\Python37\lib\site-packages\PySide2_init_.py", line 88, in <module>
      _setupQtDirectories()
      File "C:\Users\XX\AppData\Local\Programs\Python\Python37\lib\site-packages\PySide2_init_.py", line 54, in _setupQtDirectories
      import shiboken2
      File "C:\Users\XX\AppData\Local\Programs\Python\Python37\lib\site-packages\shiboken2_init_.py", line 27, in <module>
      from .shiboken2 import *
      ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              falt Simo Fält
              pullpullson Paul Golter
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes