Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.5, 6.7
-
6e925e0c1 (main), 618448556 (main)
Description
First of all, shiboken6-generator does not accept version number:
(env) C:\Users\luchen\Downloads>qtpip install pyside6==6.5.6 shiboken6==6.5.6 shiboken6-generator==6.5.6
[ERROR] Invalid package name: shiboken6-generator==6.5.6
Use only:
shiboken2 pyside2 shiboken6 shiboken6-generator pyside6 pyside6-essentials pyside6-addons pyside6-m2m shiboken6-wizard pyside6-examples
Then remove the version number for shiboken6-generator, I get little bit further but still fail:
(env) C:\Users\luchen\Downloads>qtpip install pyside6==6.5.6 shiboken6 shiboken6-generator [INFO] Commercial License found [INFO] Starting downloading wheels [INFO] Downloading wheels (1/12) : "6.5.6-202406041125PySide6-6.5.6.commercial-cp37-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (2/12) : "6.5.6-202406041125shiboken6-6.5.6.commercial-cp37-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (3/12) : "6.5.6-202406041125PySide6_Essentials-6.5.6.commercial-cp37-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (4/12) : "6.5.6-202406041125PySide6_Addons-6.5.6.commercial-cp37-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (5/12) : "6.5.6-202406041125PySide6_M2M-6.5.6.commercial-cp37-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (6/12) : "6.5.6-202406041139PySide6-6.5.6-cp37-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (7/12) : "6.5.6-202406041139shiboken6-6.5.6-cp37-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (8/12) : "6.5.6-202406041139PySide6_Essentials-6.5.6-cp37-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (9/12) : "6.5.6-202406041139PySide6_Addons-6.5.6-cp37-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (10/12) : "6.7.2-202406121304shiboken6-6.7.2.commercial-cp39-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (11/12) : "6.7.2-202406121304shiboken6_generator-6.7.2.commercial-cp39-abi3-win_amd64.whl.7z" [INFO] Downloading wheels (12/12) : "6.7.2-202406121304shiboken6-6.7.2.commercial-cp39-abi3-win_amd64.whl.7z" [INFO] Unpacking packages for installing them, this might take some seconds. ERROR: Cannot install pyside6 6.5.6 (from C:\Users\luchen\AppData\Local\qtpip\cache\QtForPython\6.5.6\PySide6-6.5.6-cp37-abi3-win_amd64.whl) and pyside6 6.5.6+commercial (from C:\Users\luchen\AppData\Local\qtpip\cache\QtForPython\6.5.6\PySide6-6.5.6+commercial-cp37-abi3-win_amd64.whl) because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 24.0 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.5.6\pyside6-6.5.6+commercial-cp37-abi3-win_amd64.whl Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.5.6\shiboken6-6.5.6+commercial-cp37-abi3-win_amd64.whl Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.5.6\pyside6_essentials-6.5.6+commercial-cp37-abi3-win_amd64.whl Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.5.6\pyside6_addons-6.5.6+commercial-cp37-abi3-win_amd64.whl Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.5.6\pyside6_m2m-6.5.6+commercial-cp37-abi3-win_amd64.whl Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.5.6\pyside6-6.5.6-cp37-abi3-win_amd64.whl Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.5.6\shiboken6-6.5.6-cp37-abi3-win_amd64.whl Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.5.6\pyside6_essentials-6.5.6-cp37-abi3-win_amd64.whl Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.5.6\pyside6_addons-6.5.6-cp37-abi3-win_amd64.whl Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.7.2\shiboken6-6.7.2+commercial-cp39-abi3-win_amd64.whl Processing c:\users\luchen\appdata\local\qtpip\cache\qtforpython\6.7.2\shiboken6_generator-6.7.2+commercial-cp39-abi3-win_amd64.whl The conflict is caused by: The user requested pyside6 6.5.6+commercial (from C:\Users\luchen\AppData\Local\qtpip\cache\QtForPython\6.5.6\PySide6-6.5.6+commercial-cp37-abi3-win_amd64.whl) The user requested pyside6 6.5.6 (from C:\Users\luchen\AppData\Local\qtpip\cache\QtForPython\6.5.6\PySide6-6.5.6-cp37-abi3-win_amd64.whl) To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict
Seem like that qtpip is confused by commercial/noncommercial packages here.
Attachments
For Gerrit Dashboard: PYSIDE-2867 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
591392,3 | qtpip: fix shiboken6-generator installation | main | pyside/tqtc-qtpip | Status: MERGED | +2 | 0 |
591806,2 | Cache the result of Pip::list() | main | pyside/tqtc-qtpip | Status: MERGED | +2 | 0 |