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

qtpip cannot install PySide6 on Windows 10 + Python 3.11 + pip 24.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QtPip 0.1.2
    • 6.7.1
    • Qt pip
    • None
    • Windows 10 22H2, Python 3.11, pip 24.0
    • Windows

    Description

      Problem: qtpip uses the wrong filenames

      qtpip install pyside6
      [INFO] Commercial License found
      [INFO] Starting downloading wheels
      [INFO] Downloading wheels (1/4) : "6.7.1-202405240857PySide6-6.7.1.commercial-cp39-abi3-win_amd64.whl.7z"
      [INFO] Downloading wheels (2/4) : "6.7.1-202405240857shiboken6-6.7.1.commercial-cp39-abi3-win_amd64.whl.7z"
      [INFO] Downloading wheels (3/4) : "6.7.1-202405240857PySide6_Essentials-6.7.1.commercial-cp39-abi3-win_amd64.whl.7z"
      [INFO] Downloading wheels (4/4) : "6.7.1-202405240857PySide6_Addons-6.7.1.commercial-cp39-abi3-win_amd64.whl.7z"
      [INFO] Unpacking packages for installing them, this might take some seconds.
      WARNING: Requirement 'C:\\Users\\USER\\AppData\\Local\\qtpip\\cache\\QtForPython\\6.7.1\\PySide6-6.7.1.commercial-cp39-abi3-win_amd64.whl' looks like a filename, but the file does not exist
      WARNING: Requirement 'C:\\Users\\USER\\AppData\\Local\\qtpip\\cache\\QtForPython\\6.7.1\\shiboken6-6.7.1.commercial-cp39-abi3-win_amd64.whl' looks like a filename, but the file does not exist
      WARNING: Requirement 'C:\\Users\\USER\\AppData\\Local\\qtpip\\cache\\QtForPython\\6.7.1\\PySide6_Essentials-6.7.1.commercial-cp39-abi3-win_amd64.whl' looks like a filename, but the file does not exist
      WARNING: Requirement 'C:\\Users\\USER\\AppData\\Local\\qtpip\\cache\\QtForPython\\6.7.1\\PySide6_Addons-6.7.1.commercial-cp39-abi3-win_amd64.whl' looks like a filename, but the file does not exist
      ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\USER\\AppData\\Local\\qtpip\\cache\\QtForPython\\6.7.1\\PySide6-6.7.1.commercial-cp39-abi3-win_amd64.whl'Processing c:\users\USER\appdata\local\qtpip\cache\qtforpython\6.7.1\pyside6-6.7.1.commercial-cp39-abi3-win_amd64.whl
      C:\Users\USER\PycharmProjects\qtTestCommercialLicenseProject\venvqt\Scripts\pip.exe returned 1
      [ERROR] Wheel installation failed. 

      That's because the file on disk is called PySide6-6.7.1+commercial-cp39-abi3-win_amd64.whl (note the '+' sign)

      Workaround: Manually rename the files to change '+' to '.' and re-run the command

      Note: this is a duplicate of a solved issue in qtpip 0.1.1: [PYSIDE-2634] qtpip cannot install PySide6 on Windows 10 + Python 3.8 + pip 24.0 - Qt Bug Tracker

      Apparently it is still an issue since i did use qtpip 0.1.1.

      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
              knowndead Gerdtinus Netten
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes