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

pip update: Unable to import QtCore (PySide2/Shiboken mismatch)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.2
    • 5.12.0, 5.12.1
    • PySide
    • None
    • Windows
    • 2137f859ec204c8adbb024f348e20a5b87c1792c (pyside/pyside-setup/5.12)

    Description

      To reproduce just run a python script with the following line of code:

      import PySide2.QtCore

      This will give the following error:

      File ".\medusa\gui.py", line 4, in <module> 
          import PySide2.QtCore 
      ImportError: DLL load failed: The specified procedure could not be found.
      

      This happened after I upgraded my installation of Qt for Python using the following command:

      pip install -U pyside2

      I am using a virtual environment and was able to reproduce this on python 3.6 and python 3.7

      Attachments

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

        Activity

          People

            falt Simo Fält
            nulauren Nuno Mendes
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes