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

Shiboken2 can't be imported on Windows8.1, Python3.7.3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 5.12.3
    • 5.12.2
    • PySide, Shiboken
    • None
    • Windows 8.1 virtualbox with the latest updates
    • Windows

    Description

      Hey,

      when using windows 8.1 64bit, and python3.7.3, installing shiboken2==5.12.2 from pypi will end up in a failing module import. This interestingly only applies to the said pairing, it works on windows 10 and windows 7 64 bit. I use virtual machines to test, and the only one it fails on is windows8.1.

      I already reviewed https://wiki.qt.io/Qt_for_Python/Considerations#Issues_using_shiboken2, and tried it out with using virtualenv==16.5.0 instead of python3.7's built-in venv module, to no avail.

      Hence reporting this issue to please get it fixed ASAP. Here's the error message:

      Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import shiboken2
      Traceback (most recent call last):
         File "<stdin>", line 1, in <module>
         File "C:\Users\John\Desktop\project\venv\lib\site-packages\shiboken2_init_.py", line 8, in <module>
         from .shiboken2 import *
      ImportError: DLL load failed: The specified module could not be found.

      Cheers,
      László

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              karolyi László Károlyi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes