Unable to install PyQt6 from pip
C L
tuug at gmx.us
Fri Dec 20 15:31:00 GMT 2024
(venv) cc at pretty:~$ pip -v install pyqt6 --config-settings --confirm-license=
Using pip 24.3.1 from /home/cc/venv/lib64/python3.14t/site-packages/pip (python 3.14)
Collecting pyqt6
Using cached PyQt6-6.8.0.tar.gz (1.1 MB)
Running command pip subprocess to install build dependencies
Using pip 24.3.1 from /home/cc/venv/lib/python3.14t/site-packages/pip (python 3.14)
Collecting sip<7,>=6.9
Obtaining dependency information for sip<7,>=6.9 from https://files.pythonhosted.org/packages/0b/b5/aafbb1f35d53ae590d5c0455edc0694a355c3dac22a88392421789c4edd1/sip-6.9.1-py3-none-any.whl.metadata
Using cached sip-6.9.1-py3-none-any.whl.metadata (5.3 kB)
Collecting PyQt-builder<2,>=1.17
Obtaining dependency information for PyQt-builder<2,>=1.17 from https://files.pythonhosted.org/packages/a2/7c/e3ff1467ac5e1e094c210a877c75dd872d9110f8e602cb7c0a4d620fd47c/PyQt_builder-1.17.0-py3-none-any.whl.metadata
Using cached PyQt_builder-1.17.0-py3-none-any.whl.metadata (3.3 kB)
Collecting packaging (from sip<7,>=6.9)
Obtaining dependency information for packaging from https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl.metadata
Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting setuptools>=69.5 (from sip<7,>=6.9)
Obtaining dependency information for setuptools>=69.5 from https://files.pythonhosted.org/packages/55/21/47d163f615df1d30c094f6c8bbb353619274edccf0327b185cc2493c2c33/setuptools-75.6.0-py3-none-any.whl.metadata
Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB)
Using cached sip-6.9.1-py3-none-any.whl (471 kB)
Using cached PyQt_builder-1.17.0-py3-none-any.whl (3.7 MB)
Using cached setuptools-75.6.0-py3-none-any.whl (1.2 MB)
Using cached packaging-24.2-py3-none-any.whl (65 kB)
Installing collected packages: setuptools, packaging, sip, PyQt-builder
Creating /tmp/pip-build-env-udwqglpj/overlay/bin
changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-build to 755
changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-distinfo to 755
changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-install to 755
changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-module to 755
changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-sdist to 755
changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-wheel to 755
changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/pyqt-bundle to 755
changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/pyqt-qt-wheel to 755
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
sphinx 8.1.3 requires docutils<0.22,>=0.20, but you have docutils 0.16 which is incompatible.
Successfully installed PyQt-builder-1.17.0 packaging-24.2 setuptools-75.6.0 sip-6.9.1
Installing build dependencies ... done
Running command Getting requirements to build wheel
Getting requirements to build wheel ... done
Running command Preparing metadata (pyproject.toml)
Querying qmake about your Qt installation...
This is the GPL version of PyQt 6.8.0 (licensed under the GNU General Public License) for Python 3.14.0a2 on linux.
Found the license file 'pyqt-gpl.sip'.
Checking to see if the QtCore bindings can be built...
Checking to see if the QtNetwork bindings can be built...
Checking to see if the QtGui bindings can be built...
Disabled QtGui bindings features: PyQt_OpenGL_ES2.
Checking to see if the QtQml bindings can be built...
Checking to see if the QtWidgets bindings can be built...
Checking to see if the QtDBus bindings can be built...
Checking to see if the QtDesigner bindings can be built...
Checking to see if the QtHelp bindings can be built...
Checking to see if the QtOpenGL bindings can be built...
Checking to see if the QtOpenGLWidgets bindings can be built...
Checking to see if the QtPrintSupport bindings can be built...
Checking to see if the QtQuick bindings can be built...
Checking to see if the QtQuick3D bindings can be built...
Checking to see if the QtQuickWidgets bindings can be built...
Checking to see if the QtSql bindings can be built...
Checking to see if the QtSvg bindings can be built...
Checking to see if the QtSvgWidgets bindings can be built...
Checking to see if the QtTest bindings can be built...
Checking to see if the QtXml bindings can be built...
Checking to see if the QtMultimedia bindings can be built...
Checking to see if the QtMultimediaWidgets bindings can be built...
Checking to see if the QtPositioning bindings can be built...
Checking to see if the QtRemoteObjects bindings can be built...
Checking to see if the QtSensors bindings can be built...
Checking to see if the QtSerialPort bindings can be built...
Checking to see if the QtWebChannel bindings can be built...
Checking to see if the QtWebSockets bindings can be built...
Checking to see if the QtBluetooth bindings can be built...
Checking to see if the QtNfc bindings can be built...
Checking to see if the QtPdf bindings can be built...
Checking to see if the QtPdfWidgets bindings can be built...
Checking to see if the QtSpatialAudio bindings can be built...
Checking to see if the QtTextToSpeech bindings can be built...
Checking to see if the QAxContainer bindings can be built...
Checking to see if the dbus-python support should be built...
The dbus-python package does not seem to be installed.
These bindings will be built: QtCore, QtNetwork, QtGui, QtWidgets, QtDBus, QtOpenGL, QtOpenGLWidgets, QtPrintSupport, QtSql, QtTest, QtXml.
Generating the QtCore bindings...
Generating the QtNetwork bindings...
Generating the QtGui bindings...
Generating the QtWidgets bindings...
Generating the QtDBus bindings...
Generating the QtOpenGL bindings...
Generating the QtOpenGLWidgets bindings...
Generating the QtPrintSupport bindings...
Generating the QtSql bindings...
Generating the QtTest bindings...
Generating the QtXml bindings...
Generating the .pro file for the QtCore module...
Generating the .pro file for the QtNetwork module...
Generating the .pro file for the QtGui module...
Generating the .pro file for the QtWidgets module...
Generating the .pro file for the QtDBus module...
Generating the .pro file for the QtOpenGL module...
Generating the .pro file for the QtOpenGLWidgets module...
Generating the .pro file for the QtPrintSupport module...
Generating the .pro file for the QtSql module...
Generating the .pro file for the QtTest module...
Generating the .pro file for the QtXml module...
Generating the top-level .pro file...
Generating the Makefiles...
Compiling the project...
_in_process.py: 'make' failed returning 2
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/cc/venv/bin/python3.14t /home/cc/venv/lib64/python3.14t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpvcipq46h
cwd: /tmp/pip-install-8ukfvg3e/pyqt6_3bab347013614fa486b79ee26b339281
Preparing metadata (pyproject.toml) ... error
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.
More information about the PyQt
mailing list