Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.6.2
-
None
-
Windows 10 22H2, Python 3.8, pip 24.0
-
30df87f8d (main)
Description
Problem 1: qtpip cannot find pip
Both C:\Python38\ and C:\Python38\Scripts are in my PATH, and C:\Python38\Scripts\pip.exe exists.
C:\Users\USER>pip install qtpip Collecting qtpip Downloading qtpip-0.1-py3-none-win_amd64.whl.metadata (1.0 kB) Downloading qtpip-0.1-py3-none-win_amd64.whl (4.0 MB) ---------------------------------------- 4.0/4.0 MB 2.1 MB/s eta 0:00:00 Installing collected packages: qtpip Successfully installed qtpip-0.1 C:\Users\USER>qtpip install pyside6 [ERROR] Finding Python executable in PATH: The pip executable from the Python installation "C:\Python38\python.exe" could not be found.
Workaround: Copy (or link) pip.exe to C:\Python38\pip.exe
Problem 2: qtpip uses the wrong filenames
C:\Users\USER>qtpip install pyside6 [WARNING] You are not using a virtual environment. [INFO] Commercial License found [INFO] Starting downloading wheels [INFO] Downloading wheels (1/5) : "6.6.2-202402151021PySide6-6.6.2.commercial-cp38-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (2/5) : "6.6.2-202402151021shiboken6-6.6.2.commercial-cp38-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (3/5) : "6.6.2-202402151021PySide6_M2M-6.6.2.commercial-cp38-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (4/5) : "6.6.2-202402151021PySide6_Essentials-6.6.2.commercial-cp38-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (5/5) : "6.6.2-202402151021PySide6_Addons-6.6.2.commercial-cp38-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.6.2\\PySide6-6.6.2.commercial-cp38-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.6.2\\shiboken6-6.6.2.commercial-cp38-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.6.2\\PySide6_M2M-6.6.2.commercial-cp38-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.6.2\\PySide6_Essentials-6.6.2.commercial-cp38-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.6.2\\PySide6_Addons-6.6.2.commercial-cp38-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.6.2\\PySide6-6.6.2.commercial-cp38-abi3-win_amd64.whl' Processing c:\users\user\appdata\local\qtpip\cache\qtforpython\6.6.2\pyside6-6.6.2.commercial-cp38-abi3-win_amd64.whl C:\Python38\pip.exe returned 1 [ERROR] Wheel installation failed.
That's because the file on disk is called PySide6-6.6.2+commercial-cp38-abi3-win_amd64.whl (note the '+' sign)
Workaround: Manually rename the files to change '+' to '.' and re-run the command
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2775 qtpip not working correctly with conda environment
-
- Closed
-
- split to
-
PYSIDE-2741 qtpip fails to install PySide6 because the wrong filenames are used
-
- Closed
-