Python Forum

Full Version: Python 3.10 and PyQt5(6)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I moved a project from python 3.9 to a new env using python 3.10. I can not install PyQt5(or 6). It tries to install several versions and then errors out. It seems as if PyQt is interpreting python 3.10 as a 3.1 derivative. Any thoughts?

Error message:

WARNING: Discarding https://files.pythonhosted.org/packages/...58b0568127
bffd7147f461d74bbf06249177eae908efed8099eec30984f1b3 (from https://pypi.org/simple/pyqt6/) (requires-python:>=3.6.1). Command errored out with exit status 1: 'c:\use
rs\mount\.virtualenvs\_mydashboard\scripts\python.exe' 'c:\users\mount\.virtualenvs\_mydashboard\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' prep
are_metadata_for_build_wheel 'C:\Users\mount\AppData\Local\Temp\tmp9c74r0ic' Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement pyqt6 (from versions: 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.1.0)
ERROR: No matching distribution found for pyqt6
Did you see it?

Output:
requires-python:>=3.6.1
It is a reported bug.

https://bugs.python.org/msg395136