Closed CaioVSales closed 1 year ago
Nothing yet, sorry. I need to make time to take a pass through all four layers adding 3.10 and latest Qt 6. Of course, macOS now has two architectures that they package together so I need a PyPI file size limit increase. Also, the build matrix got too big for GitHub Actions' 256 job limit so I need to drop builds for some older versions.
Thanks for your interest and my apologies for the wait.
Thanks for the reply, i'll be waiting for new releases soon and keep working with python 3.9.
Closed
I'd leave this open for others to see. The question was answered but the support isn't here yet. :]
Additionally, PyPi version requires PyQt5 5.15.4 while only 5.15.5 is compatible with Python 3.10. Pyqt5-plugins also need to be updated.
Workaround:
Remove all PyQt5 software.
Download from PyPi file PyQt5-5.15.4-cp36.cp37.cp38.cp39-none-win_amd64.whl. Rename it to PyQt5-5.15.4-py3-none-win_amd64.whl. Install this file by pip.
Download from PyPi file pyqt5_plugins-5.15.4.2.2-cp39-cp39-win_amd64.whl. Rename it to pyqt5_plugins-5.15.4.2.2-py3-none-win_amd64.whl. Install this file by pip.
Install pyqt5-tools by pip form PyPi.
Additionally, PyPi version requires PyQt5 5.15.4 while only 5.15.5 is compatible with Python 3.10. Pyqt5-plugins also need to be updated.
Workaround:
Remove all PyQt5 software.
Download from PyPi file PyQt5-5.15.4-cp36.cp37.cp38.cp39-none-win_amd64.whl. Rename it to PyQt5-5.15.4-py3-none-win_amd64.whl. Install this file by pip.
Download from PyPi file pyqt5_plugins-5.15.4.2.2-cp39-cp39-win_amd64.whl. Rename it to pyqt5_plugins-5.15.4.2.2-py3-none-win_amd64.whl. Install this file by pip.
Install pyqt5-tools by pip form PyPi.
Thanks, I tried your hacks. It seems installed successfully now.
D:\Downloads>pip install PyQt5-5.15.4-py3-none-win_amd64.whl
Processing d:\downloads\pyqt5-5.15.4-py3-none-win_amd64.whl
Requirement already satisfied: PyQt5-sip<13,>=12.8 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt5==5.15.4) (12.9.1)
Requirement already satisfied: PyQt5-Qt5>=5.15 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt5==5.15.4) (5.15.2)
Installing collected packages: PyQt5
Successfully installed PyQt5-5.15.4
D:\Downloads>pip install pyqt5_plugins-5.15.4.2.2-py3-none-win_amd64.whl
Processing d:\downloads\pyqt5_plugins-5.15.4.2.2-py3-none-win_amd64.whl
Collecting click
Using cached click-8.0.4-py3-none-any.whl (97 kB)
Collecting qt5-tools<5.15.2.2,>=5.15.2.1.2
Downloading qt5_tools-5.15.2.1.2-py3-none-any.whl (13 kB)
Requirement already satisfied: pyqt5==5.15.4 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt5-plugins==5.15.4.2.2) (5.15.4)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt5==5.15.4->pyqt5-plugins==5.15.4.2.2) (12.9.1)
Requirement already satisfied: PyQt5-Qt5>=5.15 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt5==5.15.4->pyqt5-plugins==5.15.4.2.2) (5.15.2)
Collecting click
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.8/82.8 KB 665.5 kB/s eta 0:00:00
Collecting qt5-applications<5.15.2.3,>=5.15.2.2.2
Downloading qt5_applications-5.15.2.2.2-py3-none-win_amd64.whl (60.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 MB 6.4 MB/s eta 0:00:00
Installing collected packages: qt5-applications, click, qt5-tools, pyqt5-plugins
Successfully installed click-7.1.2 pyqt5-plugins-5.15.4.2.2 qt5-applications-5.15.2.2.2 qt5-tools-5.15.2.1.2
D:\Downloads>pip install pyqt5-tools
Collecting pyqt5-tools
Using cached pyqt5_tools-5.15.4.3.2-py3-none-any.whl (29 kB)
Requirement already satisfied: pyqt5==5.15.4 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt5-tools) (5.15.4)
Collecting python-dotenv
Using cached python_dotenv-0.19.2-py2.py3-none-any.whl (17 kB)
Requirement already satisfied: pyqt5-plugins<5.15.4.3,>=5.15.4.2.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt5-tools) (5.15.4.2.2)
Requirement already satisfied: click in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt5-tools) (7.1.2)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt5==5.15.4->pyqt5-tools) (12.9.1)
Requirement already satisfied: PyQt5-Qt5>=5.15 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt5==5.15.4->pyqt5-tools) (5.15.2)
Requirement already satisfied: qt5-tools<5.15.2.2,>=5.15.2.1.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt5-plugins<5.15.4.3,>=5.15.4.2.2->pyqt5-tools) (5.15.2.1.2)
Requirement already satisfied: qt5-applications<5.15.2.3,>=5.15.2.2.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from qt5-tools<5.15.2.2,>=5.15.2.1.2->pyqt5-plugins<5.15.4.3,>=5.15.4.2.2->pyqt5-tools) (5.15.2.2.2)
Installing collected packages: python-dotenv, pyqt5-tools
Successfully installed pyqt5-tools-5.15.4.3.2 python-dotenv-0.19.2
D:\Downloads>
In such way, I can remove PyQt5Designer
.
C:\Users\Liu.D.H>pip uninstall PyQt5Designer
Found existing installation: PyQt5Designer 5.14.1
Uninstalling PyQt5Designer-5.14.1:
Would remove:
c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt5designer-5.14.1.dist-info\*
c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\qtdesigner\*
c:\users\liu.d.h\appdata\local\programs\python\python310\scripts\designer.exe
c:\users\liu.d.h\appdata\local\programs\python\python310\scripts\linguist.exe
c:\users\liu.d.h\appdata\local\programs\python\python310\scripts\qmlview.exe
Proceed (Y/n)?
Successfully uninstalled PyQt5Designer-5.14.1
C:\Users\Liu.D.H>
I also tried this method for install pyqt6 and pyqt6-tools.
D:\Downloads>pip install pyqt6
Collecting pyqt6
Downloading PyQt6-6.2.3-cp36-abi3-win_amd64.whl (6.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 8.8 MB/s eta 0:00:00
Collecting PyQt6-Qt6>=6.2.3
Downloading PyQt6_Qt6-6.2.3-py3-none-win_amd64.whl (44.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.3/44.3 MB 7.8 MB/s eta 0:00:00
Collecting PyQt6-sip<14,>=13.2
Downloading PyQt6_sip-13.2.1-cp310-cp310-win_amd64.whl (71 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.5/71.5 KB 972.6 kB/s eta 0:00:00
Installing collected packages: PyQt6-Qt6, PyQt6-sip, pyqt6
Successfully installed PyQt6-Qt6-6.2.3 PyQt6-sip-13.2.1 pyqt6-6.2.3
C:\Users\Liu.D.H>pip install pyqt6-tools
Collecting pyqt6-tools
Downloading pyqt6_tools-6.1.0.3.2-py3-none-any.whl (29 kB)
Collecting pyqt6==6.1.0
Downloading PyQt6-6.1.0.tar.gz (946 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 946.9/946.9 KB 2.9 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
Traceback (most recent call last):
File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 156, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module>
main()
File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 160, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\api.py", line 51, in build_wheel
project = AbstractProject.bootstrap('pep517')
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\abstract_project.py", line 83, in bootstrap
project.setup(pyproject, tool, tool_description)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\project.py", line 594, in setup
self.apply_user_defaults(tool)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-install-ae7pa7a1\pyqt6_eb834344bcbf42b79bfb789f44b16f69\project.py", line 60, in apply_user_defaults
super().apply_user_defaults(tool)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\pyqtbuild\project.py", line 70, in apply_user_defaults
super().apply_user_defaults(tool)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\project.py", line 241, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\pyqtbuild\builder.py", line 67, in apply_user_defaults
raise PyProjectOptionException('qmake',
sipbuild.pyproject.PyProjectOptionException
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
D:\Downloads>pip install PyQt6==6.1.0
Collecting PyQt6==6.1.0
Using cached PyQt6-6.1.0.tar.gz (946 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
Traceback (most recent call last):
File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 156, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module>
main()
File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 160, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\api.py", line 51, in build_wheel
project = AbstractProject.bootstrap('pep517')
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\abstract_project.py", line 83, in bootstrap
project.setup(pyproject, tool, tool_description)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\project.py", line 594, in setup
self.apply_user_defaults(tool)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-install-luh6vdjm\pyqt6_cae5baf00ec5444eaa2150fa96004ea7\project.py", line 60, in apply_user_defaults
super().apply_user_defaults(tool)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\pyqtbuild\project.py", line 70, in apply_user_defaults
super().apply_user_defaults(tool)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\project.py", line 241, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\pyqtbuild\builder.py", line 67, in apply_user_defaults
raise PyProjectOptionException('qmake',
sipbuild.pyproject.PyProjectOptionException
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
D:\Downloads>
D:\Downloads>pip uninstall PyQt6
......
c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\Qt6\translations\qtwebsockets_pl.qm
c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\Qt6\translations\qtwebsockets_ru.qm
c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\Qt6\translations\qtwebsockets_uk.qm
c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\sip.cp310-win_amd64.pyd
Proceed (Y/n)? y
Successfully uninstalled PyQt6-6.2.3
D:\Downloads># wget https://files.pythonhosted.org/packages/ec/a6/f7807ca2d41b99a451fab83eee4f2f8afab3272cdbc82a17a2a093c12426/PyQt6-6.1.0-cp36.cp37.cp38.cp39-none-win_amd64.whl
D:\Downloads># wget https://files.pythonhosted.org/packages/59/42/c5d942af97f9792a32029aca02055bce00d3b454be30a432bfb38a647a95/pyqt6_plugins-6.1.0.2.2-cp39-cp39-win_amd64.whl
D:\Downloads>mv PyQt6-6.1.0-cp36.cp37.cp38.cp39-none-win_amd64.whl PyQt6-6.1.0-py3-none-win_amd64.whl
D:\Downloads>mv pyqt6_plugins-6.1.0.2.2-cp39-cp39-win_amd64.whl pyqt6_plugins-6.1.0.2.2-py3-none-win_amd64.whl
D:\Downloads>pip install PyQt6-6.1.0-py3-none-win_amd64.whl
Processing d:\downloads\pyqt6-6.1.0-py3-none-win_amd64.whl
Requirement already satisfied: PyQt6-Qt6>=6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6==6.1.0) (6.2.3)
Requirement already satisfied: PyQt6-sip<14,>=13.1 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6==6.1.0) (13.2.1)
Installing collected packages: PyQt6
Successfully installed PyQt6-6.1.0
D:\Downloads>pip install pyqt6_plugins-6.1.0.2.2-py3-none-win_amd64.whl
Processing d:\downloads\pyqt6_plugins-6.1.0.2.2-py3-none-win_amd64.whl
Requirement already satisfied: pyqt6==6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6-plugins==6.1.0.2.2) (6.1.0)
Collecting qt6-tools<6.1.0.2,>=6.1.0.1.2
Downloading qt6_tools-6.1.0.1.2-py3-none-any.whl (13 kB)
Requirement already satisfied: click in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6-plugins==6.1.0.2.2) (7.1.2)
Requirement already satisfied: PyQt6-sip<14,>=13.1 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->pyqt6-plugins==6.1.0.2.2) (13.2.1)
Requirement already satisfied: PyQt6-Qt6>=6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->pyqt6-plugins==6.1.0.2.2) (6.2.3)
Collecting qt6-applications<6.1.0.3,>=6.1.0.2.2
Downloading qt6_applications-6.1.0.2.2-py3-none-win_amd64.whl (60.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.4/60.4 MB 5.7 MB/s eta 0:00:00
Installing collected packages: qt6-applications, qt6-tools, pyqt6-plugins
Successfully installed pyqt6-plugins-6.1.0.2.2 qt6-applications-6.1.0.2.2 qt6-tools-6.1.0.1.2
D:\Downloads>pip install PyQt6-tools
Collecting PyQt6-tools
Using cached pyqt6_tools-6.1.0.3.2-py3-none-any.whl (29 kB)
Requirement already satisfied: pyqt6==6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (6.1.0)
Requirement already satisfied: click in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (7.1.2)
Requirement already satisfied: python-dotenv in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (0.19.2)
Requirement already satisfied: pyqt6-plugins<6.1.0.3,>=6.1.0.2.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (6.1.0.2.2)
Requirement already satisfied: PyQt6-Qt6>=6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->PyQt6-tools) (6.2.3)
Requirement already satisfied: PyQt6-sip<14,>=13.1 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->PyQt6-tools) (13.2.1)
Requirement already satisfied: qt6-tools<6.1.0.2,>=6.1.0.1.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6-plugins<6.1.0.3,>=6.1.0.2.2->PyQt6-tools) (6.1.0.1.2)
Requirement already satisfied: qt6-applications<6.1.0.3,>=6.1.0.2.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from qt6-tools<6.1.0.2,>=6.1.0.1.2->pyqt6-plugins<6.1.0.3,>=6.1.0.2.2->PyQt6-tools) (6.1.0.2.2)
Installing collected packages: PyQt6-tools
Successfully installed PyQt6-tools-6.1.0.3.2
D:\Downloads>
its not working
https://github.com/altendky/pyqt-tools/issues/98#issuecomment-968296553
This rename method did not work for me. I'm using: pyqt6_tools-6.1.0.3.2
, PyQt6-6.3.1
.
Any help to get this working will be appreciated.
Well, seems like I have crashed into another wall trying to install pyqt6-tools this way after these months.
''' CZ@DarkTitan MINGW64 / $ pip show pyqt6 Name: PyQt6 Version: 6.1.0 Summary: Python bindings for the Qt cross platform application toolkit Home-page: https://www.riverbankcomputing.com/software/pyqt/ Author: Riverbank Computing Limited Author-email: info@riverbankcomputing.com License: GPL v3 Location: f:\python310\lib\site-packages Requires: PyQt6-Qt6, PyQt6-sip Required-by:
CZ@DarkTitan MINGW64 / $ pip install pyqt6_plugins-6.1.0.2.2-py3-win_amd64.whl ERROR: pyqt6_plugins-6.1.0.2.2-py3-win_amd64.whl is not a valid wheel filename. '''
I also tried this method for install pyqt6 and pyqt6-tools.
D:\Downloads>pip install pyqt6 Collecting pyqt6 Downloading PyQt6-6.2.3-cp36-abi3-win_amd64.whl (6.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 8.8 MB/s eta 0:00:00 Collecting PyQt6-Qt6>=6.2.3 Downloading PyQt6_Qt6-6.2.3-py3-none-win_amd64.whl (44.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.3/44.3 MB 7.8 MB/s eta 0:00:00 Collecting PyQt6-sip<14,>=13.2 Downloading PyQt6_sip-13.2.1-cp310-cp310-win_amd64.whl (71 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.5/71.5 KB 972.6 kB/s eta 0:00:00 Installing collected packages: PyQt6-Qt6, PyQt6-sip, pyqt6 Successfully installed PyQt6-Qt6-6.2.3 PyQt6-sip-13.2.1 pyqt6-6.2.3 C:\Users\Liu.D.H>pip install pyqt6-tools Collecting pyqt6-tools Downloading pyqt6_tools-6.1.0.3.2-py3-none-any.whl (29 kB) Collecting pyqt6==6.1.0 Downloading PyQt6-6.1.0.tar.gz (946 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 946.9/946.9 KB 2.9 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [29 lines of output] Traceback (most recent call last): File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 156, in prepare_metadata_for_build_wheel hook = backend.prepare_metadata_for_build_wheel AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module> main() File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 160, in prepare_metadata_for_build_wheel whl_basename = backend.build_wheel(metadata_directory, config_settings) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\api.py", line 51, in build_wheel project = AbstractProject.bootstrap('pep517') File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\abstract_project.py", line 83, in bootstrap project.setup(pyproject, tool, tool_description) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\project.py", line 594, in setup self.apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-install-ae7pa7a1\pyqt6_eb834344bcbf42b79bfb789f44b16f69\project.py", line 60, in apply_user_defaults super().apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\pyqtbuild\project.py", line 70, in apply_user_defaults super().apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\project.py", line 241, in apply_user_defaults self.builder.apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\pyqtbuild\builder.py", line 67, in apply_user_defaults raise PyProjectOptionException('qmake', sipbuild.pyproject.PyProjectOptionException [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. D:\Downloads>pip install PyQt6==6.1.0 Collecting PyQt6==6.1.0 Using cached PyQt6-6.1.0.tar.gz (946 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [29 lines of output] Traceback (most recent call last): File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 156, in prepare_metadata_for_build_wheel hook = backend.prepare_metadata_for_build_wheel AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module> main() File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 160, in prepare_metadata_for_build_wheel whl_basename = backend.build_wheel(metadata_directory, config_settings) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\api.py", line 51, in build_wheel project = AbstractProject.bootstrap('pep517') File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\abstract_project.py", line 83, in bootstrap project.setup(pyproject, tool, tool_description) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\project.py", line 594, in setup self.apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-install-luh6vdjm\pyqt6_cae5baf00ec5444eaa2150fa96004ea7\project.py", line 60, in apply_user_defaults super().apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\pyqtbuild\project.py", line 70, in apply_user_defaults super().apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\project.py", line 241, in apply_user_defaults self.builder.apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\pyqtbuild\builder.py", line 67, in apply_user_defaults raise PyProjectOptionException('qmake', sipbuild.pyproject.PyProjectOptionException [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. D:\Downloads> D:\Downloads>pip uninstall PyQt6 ...... c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\Qt6\translations\qtwebsockets_pl.qm c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\Qt6\translations\qtwebsockets_ru.qm c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\Qt6\translations\qtwebsockets_uk.qm c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\sip.cp310-win_amd64.pyd Proceed (Y/n)? y Successfully uninstalled PyQt6-6.2.3 D:\Downloads># wget https://files.pythonhosted.org/packages/ec/a6/f7807ca2d41b99a451fab83eee4f2f8afab3272cdbc82a17a2a093c12426/PyQt6-6.1.0-cp36.cp37.cp38.cp39-none-win_amd64.whl D:\Downloads># wget https://files.pythonhosted.org/packages/59/42/c5d942af97f9792a32029aca02055bce00d3b454be30a432bfb38a647a95/pyqt6_plugins-6.1.0.2.2-cp39-cp39-win_amd64.whl D:\Downloads>mv PyQt6-6.1.0-cp36.cp37.cp38.cp39-none-win_amd64.whl PyQt6-6.1.0-py3-none-win_amd64.whl D:\Downloads>mv pyqt6_plugins-6.1.0.2.2-cp39-cp39-win_amd64.whl pyqt6_plugins-6.1.0.2.2-py3-none-win_amd64.whl D:\Downloads>pip install PyQt6-6.1.0-py3-none-win_amd64.whl Processing d:\downloads\pyqt6-6.1.0-py3-none-win_amd64.whl Requirement already satisfied: PyQt6-Qt6>=6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6==6.1.0) (6.2.3) Requirement already satisfied: PyQt6-sip<14,>=13.1 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6==6.1.0) (13.2.1) Installing collected packages: PyQt6 Successfully installed PyQt6-6.1.0 D:\Downloads>pip install pyqt6_plugins-6.1.0.2.2-py3-none-win_amd64.whl Processing d:\downloads\pyqt6_plugins-6.1.0.2.2-py3-none-win_amd64.whl Requirement already satisfied: pyqt6==6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6-plugins==6.1.0.2.2) (6.1.0) Collecting qt6-tools<6.1.0.2,>=6.1.0.1.2 Downloading qt6_tools-6.1.0.1.2-py3-none-any.whl (13 kB) Requirement already satisfied: click in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6-plugins==6.1.0.2.2) (7.1.2) Requirement already satisfied: PyQt6-sip<14,>=13.1 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->pyqt6-plugins==6.1.0.2.2) (13.2.1) Requirement already satisfied: PyQt6-Qt6>=6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->pyqt6-plugins==6.1.0.2.2) (6.2.3) Collecting qt6-applications<6.1.0.3,>=6.1.0.2.2 Downloading qt6_applications-6.1.0.2.2-py3-none-win_amd64.whl (60.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.4/60.4 MB 5.7 MB/s eta 0:00:00 Installing collected packages: qt6-applications, qt6-tools, pyqt6-plugins Successfully installed pyqt6-plugins-6.1.0.2.2 qt6-applications-6.1.0.2.2 qt6-tools-6.1.0.1.2 D:\Downloads>pip install PyQt6-tools Collecting PyQt6-tools Using cached pyqt6_tools-6.1.0.3.2-py3-none-any.whl (29 kB) Requirement already satisfied: pyqt6==6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (6.1.0) Requirement already satisfied: click in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (7.1.2) Requirement already satisfied: python-dotenv in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (0.19.2) Requirement already satisfied: pyqt6-plugins<6.1.0.3,>=6.1.0.2.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (6.1.0.2.2) Requirement already satisfied: PyQt6-Qt6>=6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->PyQt6-tools) (6.2.3) Requirement already satisfied: PyQt6-sip<14,>=13.1 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->PyQt6-tools) (13.2.1) Requirement already satisfied: qt6-tools<6.1.0.2,>=6.1.0.1.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6-plugins<6.1.0.3,>=6.1.0.2.2->PyQt6-tools) (6.1.0.1.2) Requirement already satisfied: qt6-applications<6.1.0.3,>=6.1.0.2.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from qt6-tools<6.1.0.2,>=6.1.0.1.2->pyqt6-plugins<6.1.0.3,>=6.1.0.2.2->PyQt6-tools) (6.1.0.2.2) Installing collected packages: PyQt6-tools Successfully installed PyQt6-tools-6.1.0.3.2 D:\Downloads>
Please were you able to solve it cus I'm facing the same problem sir
https://github.com/altendky/pyqt-tools/issues/98#issuecomment-968296553
This rename method did not work for me. I'm using:
pyqt6_tools-6.1.0.3.2
,PyQt6-6.3.1
.Any help to get this working will be appreciated.
I'm also facing the same issues 💔💔💔😭😭
Everytime I start the method to trouble shoot my errors regarding pyQT I get
C:\Users\admin>pip install PyQt5-5.15.4-py3-none-win_amd64.whl WARNING: Requirement 'PyQt5-5.15.4-py3-none-win_amd64.whl' looks like a filename, but the file does not exist ERROR: PyQt5-5.15.4-py3-none-win_amd64.whl is not a supported wheel on this platform.
Everytime I start the method to trouble shoot my errors regarding pyQT I get
C:\Users\admin>pip install PyQt5-5.15.4-py3-none-win_amd64.whl WARNING: Requirement 'PyQt5-5.15.4-py3-none-win_amd64.whl' looks like a filename, but the file does not exist ERROR: PyQt5-5.15.4-py3-none-win_amd64.whl is not a supported wheel on this platform.
I was able to solve why I'm getting the warning error above.
Everytime I start the method to trouble shoot my errors regarding pyQT I get C:\Users\admin>pip install PyQt5-5.15.4-py3-none-win_amd64.whl WARNING: Requirement 'PyQt5-5.15.4-py3-none-win_amd64.whl' looks like a filename, but the file does not exist ERROR: PyQt5-5.15.4-py3-none-win_amd64.whl is not a supported wheel on this platform.
I was able to solve why I'm getting the warning error above.
Now I'm only getting this error
ERROR: PyQt5-5.15.4-py3-none-win_amd64.whl is not a supported wheel on this platform.
Ok so I found a pretty decent work around. Downloading PySide2. It has everything that pyqt5-tools has from what I read and
Everytime I start the method to trouble shoot my errors regarding pyQT I get C:\Users\admin>pip install PyQt5-5.15.4-py3-none-win_amd64.whl WARNING: Requirement 'PyQt5-5.15.4-py3-none-win_amd64.whl' looks like a filename, but the file does not exist ERROR: PyQt5-5.15.4-py3-none-win_amd64.whl is not a supported wheel on this platform.
I was able to solve why I'm getting the warning error above.
Now I'm only getting this error
ERROR: PyQt5-5.15.4-py3-none-win_amd64.whl is not a supported wheel on this platform.
Ok so I found a pretty decent work around. Downloading PySide2. It has everything that pyqt5-tools has from what I read and if you're looking for the Qt designer app specifically it is found in the PySide2 folder once it is downloaded. Also If you create a GUI from the designer app and then try to export it as python code and it throws an error, you have to create a "bin" folder and then move the "uic" executable, that is already in the PySide2 folder, to the "bin" folder. Then you should be able to export the UI as python or c++ code.
This rename method did not work for me. I'm using:
pyqt6_tools-6.1.0.3.2
,PyQt6-6.3.1
.Any help to get this working will be appreciated.
I also tried this method for install pyqt6 and pyqt6-tools.
D:\Downloads>pip install pyqt6 Collecting pyqt6 Downloading PyQt6-6.2.3-cp36-abi3-win_amd64.whl (6.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 8.8 MB/s eta 0:00:00 Collecting PyQt6-Qt6>=6.2.3 Downloading PyQt6_Qt6-6.2.3-py3-none-win_amd64.whl (44.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.3/44.3 MB 7.8 MB/s eta 0:00:00 Collecting PyQt6-sip<14,>=13.2 Downloading PyQt6_sip-13.2.1-cp310-cp310-win_amd64.whl (71 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.5/71.5 KB 972.6 kB/s eta 0:00:00 Installing collected packages: PyQt6-Qt6, PyQt6-sip, pyqt6 Successfully installed PyQt6-Qt6-6.2.3 PyQt6-sip-13.2.1 pyqt6-6.2.3 C:\Users\Liu.D.H>pip install pyqt6-tools Collecting pyqt6-tools Downloading pyqt6_tools-6.1.0.3.2-py3-none-any.whl (29 kB) Collecting pyqt6==6.1.0 Downloading PyQt6-6.1.0.tar.gz (946 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 946.9/946.9 KB 2.9 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [29 lines of output] Traceback (most recent call last): File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 156, in prepare_metadata_for_build_wheel hook = backend.prepare_metadata_for_build_wheel AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module> main() File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 160, in prepare_metadata_for_build_wheel whl_basename = backend.build_wheel(metadata_directory, config_settings) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\api.py", line 51, in build_wheel project = AbstractProject.bootstrap('pep517') File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\abstract_project.py", line 83, in bootstrap project.setup(pyproject, tool, tool_description) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\project.py", line 594, in setup self.apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-install-ae7pa7a1\pyqt6_eb834344bcbf42b79bfb789f44b16f69\project.py", line 60, in apply_user_defaults super().apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\pyqtbuild\project.py", line 70, in apply_user_defaults super().apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\sipbuild\project.py", line 241, in apply_user_defaults self.builder.apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-1ob6si3l\overlay\Lib\site-packages\pyqtbuild\builder.py", line 67, in apply_user_defaults raise PyProjectOptionException('qmake', sipbuild.pyproject.PyProjectOptionException [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. D:\Downloads>pip install PyQt6==6.1.0 Collecting PyQt6==6.1.0 Using cached PyQt6-6.1.0.tar.gz (946 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [29 lines of output] Traceback (most recent call last): File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 156, in prepare_metadata_for_build_wheel hook = backend.prepare_metadata_for_build_wheel AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module> main() File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 160, in prepare_metadata_for_build_wheel whl_basename = backend.build_wheel(metadata_directory, config_settings) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\api.py", line 51, in build_wheel project = AbstractProject.bootstrap('pep517') File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\abstract_project.py", line 83, in bootstrap project.setup(pyproject, tool, tool_description) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\project.py", line 594, in setup self.apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-install-luh6vdjm\pyqt6_cae5baf00ec5444eaa2150fa96004ea7\project.py", line 60, in apply_user_defaults super().apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\pyqtbuild\project.py", line 70, in apply_user_defaults super().apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\sipbuild\project.py", line 241, in apply_user_defaults self.builder.apply_user_defaults(tool) File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-jqfgw2xj\overlay\Lib\site-packages\pyqtbuild\builder.py", line 67, in apply_user_defaults raise PyProjectOptionException('qmake', sipbuild.pyproject.PyProjectOptionException [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. D:\Downloads> D:\Downloads>pip uninstall PyQt6 ...... c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\Qt6\translations\qtwebsockets_pl.qm c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\Qt6\translations\qtwebsockets_ru.qm c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\Qt6\translations\qtwebsockets_uk.qm c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages\pyqt6\sip.cp310-win_amd64.pyd Proceed (Y/n)? y Successfully uninstalled PyQt6-6.2.3 D:\Downloads># wget https://files.pythonhosted.org/packages/ec/a6/f7807ca2d41b99a451fab83eee4f2f8afab3272cdbc82a17a2a093c12426/PyQt6-6.1.0-cp36.cp37.cp38.cp39-none-win_amd64.whl D:\Downloads># wget https://files.pythonhosted.org/packages/59/42/c5d942af97f9792a32029aca02055bce00d3b454be30a432bfb38a647a95/pyqt6_plugins-6.1.0.2.2-cp39-cp39-win_amd64.whl D:\Downloads>mv PyQt6-6.1.0-cp36.cp37.cp38.cp39-none-win_amd64.whl PyQt6-6.1.0-py3-none-win_amd64.whl D:\Downloads>mv pyqt6_plugins-6.1.0.2.2-cp39-cp39-win_amd64.whl pyqt6_plugins-6.1.0.2.2-py3-none-win_amd64.whl D:\Downloads>pip install PyQt6-6.1.0-py3-none-win_amd64.whl Processing d:\downloads\pyqt6-6.1.0-py3-none-win_amd64.whl Requirement already satisfied: PyQt6-Qt6>=6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6==6.1.0) (6.2.3) Requirement already satisfied: PyQt6-sip<14,>=13.1 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6==6.1.0) (13.2.1) Installing collected packages: PyQt6 Successfully installed PyQt6-6.1.0 D:\Downloads>pip install pyqt6_plugins-6.1.0.2.2-py3-none-win_amd64.whl Processing d:\downloads\pyqt6_plugins-6.1.0.2.2-py3-none-win_amd64.whl Requirement already satisfied: pyqt6==6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6-plugins==6.1.0.2.2) (6.1.0) Collecting qt6-tools<6.1.0.2,>=6.1.0.1.2 Downloading qt6_tools-6.1.0.1.2-py3-none-any.whl (13 kB) Requirement already satisfied: click in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6-plugins==6.1.0.2.2) (7.1.2) Requirement already satisfied: PyQt6-sip<14,>=13.1 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->pyqt6-plugins==6.1.0.2.2) (13.2.1) Requirement already satisfied: PyQt6-Qt6>=6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->pyqt6-plugins==6.1.0.2.2) (6.2.3) Collecting qt6-applications<6.1.0.3,>=6.1.0.2.2 Downloading qt6_applications-6.1.0.2.2-py3-none-win_amd64.whl (60.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.4/60.4 MB 5.7 MB/s eta 0:00:00 Installing collected packages: qt6-applications, qt6-tools, pyqt6-plugins Successfully installed pyqt6-plugins-6.1.0.2.2 qt6-applications-6.1.0.2.2 qt6-tools-6.1.0.1.2 D:\Downloads>pip install PyQt6-tools Collecting PyQt6-tools Using cached pyqt6_tools-6.1.0.3.2-py3-none-any.whl (29 kB) Requirement already satisfied: pyqt6==6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (6.1.0) Requirement already satisfied: click in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (7.1.2) Requirement already satisfied: python-dotenv in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (0.19.2) Requirement already satisfied: pyqt6-plugins<6.1.0.3,>=6.1.0.2.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from PyQt6-tools) (6.1.0.2.2) Requirement already satisfied: PyQt6-Qt6>=6.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->PyQt6-tools) (6.2.3) Requirement already satisfied: PyQt6-sip<14,>=13.1 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6==6.1.0->PyQt6-tools) (13.2.1) Requirement already satisfied: qt6-tools<6.1.0.2,>=6.1.0.1.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from pyqt6-plugins<6.1.0.3,>=6.1.0.2.2->PyQt6-tools) (6.1.0.1.2) Requirement already satisfied: qt6-applications<6.1.0.3,>=6.1.0.2.2 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from qt6-tools<6.1.0.2,>=6.1.0.1.2->pyqt6-plugins<6.1.0.3,>=6.1.0.2.2->PyQt6-tools) (6.1.0.2.2) Installing collected packages: PyQt6-tools Successfully installed PyQt6-tools-6.1.0.3.2 D:\Downloads>
Please were you able to solve it cus I'm facing the same problem sir
Yes, finally fixed! You just need to do what he said in another post: "I have to overwrite Requires-Dist: pyqt5 section from Requires-Dist: pyqt5 (==5.15.4) to Requires-Dist: pyqt5 in pyqt5_plugins-5.15.4.2.2-py3-none-win_amd64.whl/pyqt5_plugins-5.15.4.2.2.dist-info/METADATA."
Steps:
I was having the same problem and this worked for me, installed pyqt6 on python 3.11.
This rename method did not work for me. I'm using:
pyqt6_tools-6.1.0.3.2
,PyQt6-6.3.1
.Any help to get this working will be appreciated.
Its working for me now! You just need to do what he said in another post for pyqt5, but addapted to pyqt6: "I have to overwrite Requires-Dist: pyqt5 section from Requires-Dist: pyqt5 (==5.15.4) to Requires-Dist: pyqt5 in pyqt5_plugins-5.15.4.2.2-py3-none-win_amd64.whl/pyqt5_plugins-5.15.4.2.2.dist-info/METADATA." (link of the post: https://github.com/altendky/pyqt-tools/issues/108#issue-1465640948)
Steps:
I was having the same problem and this worked for me, installed pyqt6 on python 3.11.
On python 3.10.6 this worked for me with only PATH related warnings in the end
python3 -m pip install --upgrade pip setuptools wheel
I'm trying to get an updated release... https://github.com/altendky/pyqt-tools/issues/110
Also, if you don't need the plugins and just want the Qt applications, consider the qt5-tools
and qt6-tools
packages that aren't dependent on PyQt and are also not specific to any Python 3 version. Though yes, even those are behind and not providing the latest Qt application versions.
Hey all, this is a common note I'm adding to several issues.
I apologize for the hassle you have all dealt with around this project. I don't work with Qt anymore and every time I've come back to this I have run into various problems trying to get it going again. This time I made it through the five days of work to get the release out (fingers crossed that it actually works). It would be great to get some community involvement around updating and debugging whatever issues come up. Maybe the next Python, Qt, or PyQt release will provide an opportunity for someone to offer that. Maybe I'll find time to continue cleaning this up so it's a bit more maintainable. If interested, there's been some discussion about the project at https://github.com/altendky/pyqt-tools/issues/110.
In an effort to make it easier to monitor issues around the latest release I am closing this issue. Discussion can continue if still applicable, but I want to make it easier to move forward. If there are issues with the new releases, please open new issues.
Things to be aware of that may ease some cases:
qt-tools
which provides helpers around qt-applications
. This skips the PyQt specific layers. You won't have access to the plugins, such as for showing custom PyQt Designer widget plugins in Designer, but you also won't have the hassle of needing a version matching your PyQt version. At least not quite as closely.PYQT_VERSION=6.5.0 QT_VERSION=6.5.2 venv/bin/pip install git+https://github.com/altendky/qt-applications@v2.3
for example would try to build and install qt-applications v2.3 including (a theoretical future) PyQt version 6.5.0 and Qt 6.5.2. I'm sure there are corners around this, but it would be relevant.Additionally, PyPi version requires PyQt5 5.15.4 while only 5.15.5 is compatible with Python 3.10. Pyqt5-plugins also need to be updated.
Workaround:
Remove all PyQt5 software.
Download from PyPi file PyQt5-5.15.4-cp36.cp37.cp38.cp39-none-win_amd64.whl. Rename it to PyQt5-5.15.4-py3-none-win_amd64.whl. Install this file by pip.
Download from PyPi file pyqt5_plugins-5.15.4.2.2-cp39-cp39-win_amd64.whl. Rename it to pyqt5_plugins-5.15.4.2.2-py3-none-win_amd64.whl. Install this file by pip.
Install pyqt5-tools by pip form PyPi.
Worked for me, TYSM !
Hello!
Is there any support for python 3.10? I tried to install pyqt5-tools with python 3.10 but it throw me an error, but when i tried with python 3.9.7 it worked.