Registry / serialization / pyqt6-sip

pyqt6-sip

JSON →
library13.12.0pypypi✓ verified 28d ago

PyQt6-sip provides the runtime 'sip' extension module necessary for the PyQt6 framework. SIP is a crucial tool developed by Riverbank Computing Limited for automatically generating Python bindings for C and C++ libraries, originally created for PyQt. The pyqt6-sip package specifically contains the compiled 'sip' module that PyQt6 uses internally. It is actively maintained with frequent releases, often synchronized with PyQt6 and new Python version support. The current version is 13.11.1.

pip install pyqt6-sip
INSTALL
IMPORT
SIG · PYQT6-SIP
P
pyqt6-sip
serializationpythonv13.12.0
Install
1.6s avg
Import
—
Disk
17MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v13.12.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
build_error
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sip
✓ from PyQt6 import sip
✗ import sip
Importing 'sip' directly refers to the standalone SIP binding generator tool, not the runtime module provided for PyQt6. The PyQt6-specific SIP module is found within the PyQt6 namespace.

While pyqt6-sip is primarily a backend component for PyQt6, you can verify its presence and retrieve its version information by importing 'sip' from the PyQt6 package.

from PyQt6 import sip # Accessing a sip attribute to demonstrate the module is loaded print(f"PyQt6.sip version string: {sip.SIP_VERSION_STR}") print(f"PyQt6.sip API version: {sip.api_version}")
Debug
Known issues
gotchaModuleNotFoundError: No module named 'PyQt6.sip' errors are common. This often indicates an issue with the Python environment, virtual environment configuration, or incorrect installation paths where pyqt6-sip might be installed separately from other PyQt6 components.
fix
Ensure `pyqt6-sip` is installed in the same Python environment as `PyQt6`. Try uninstalling and reinstalling `pyqt6-sip`. When using virtual environments, activate the environment before installing.
affects: All versions
breakingPyQt6 6.7.1, when used with Python 3.13.0 (as of October 2024), experienced `ModuleNotFoundError: No module named 'PyQt6.sip'` errors. This points to potential compatibility issues with specific Python preview versions.
fix
As a temporary workaround, consider using a stable Python version (e.g., Python 3.12 or earlier) or switching to PySide6 if you encounter this specific version incompatibility. Keep an eye on official PyQt6 and pyqt6-sip release notes for compatibility updates.
affects: PyQt6 6.7.1 with Python 3.13.0, potentially other future Python versions.
gotchaThe `pyqt6-sip` package has a `Requires-Python` metadata that varies across its releases (e.g., >=3.7 for 13.5.0, >=3.8 for 13.8.0, >=3.10 for 13.11.1). Installing an incompatible version with your Python interpreter will lead to failures.
fix
Always check the `Requires-Python` metadata on PyPI for the specific `pyqt6-sip` version you intend to install, or rely on `pip` to automatically select a compatible version for your Python environment.
affects: All versions, when combined with incompatible Python interpreters.
breakingVersion 13.9.0 of `pyqt6-sip` was yanked from PyPI due to an 'Incorrect Requires-Python' dependency specification, indicating a critical metadata error that could lead to installation issues or runtime problems.
fix
Avoid installing `pyqt6-sip` version 13.9.0. Upgrade to a later stable release (e.g., 13.9.1 or newer).
affects: 13.9.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'PyQt6.sip'
The `pyqt6-sip` package, which provides the internal SIP module necessary for PyQt6, is not installed or not accessible in the current Python environment.
fix
pip install pyqt6-sip
ImportError: cannot import name 'sip' from 'PyQt6'
PyQt6 relies on the `sip` module provided by `pyqt6-sip`, which is either missing, corrupted, or incompatible with the installed PyQt6 version.
fix
pip install --upgrade pyqt6-sip
ERROR: Failed building wheel for pyqt6-sip
The `pyqt6-sip` package failed to compile from source during installation, often due to missing C/C++ build tools, an outdated pip/setuptools, or environmental issues.
fix
First, update build tools: `pip install --upgrade pip setuptools wheel`. Then, ensure C/C++ compilers are installed (e.g., Visual C++ Build Tools on Windows, `build-essential` on Linux) before retrying `pip install pyqt6-sip`.
Upgrade
Version history
13.12.0latest on PyPI · released Aug 2, 2026
Audit
Dependencies
pythonrequiredRequired Python version, varies by pyqt6-sip release. Current 13.11.1 requires >=3.10.
PyQt6optionalThis package provides the SIP module specifically for PyQt6; typically used implicitly by PyQt6 applications.
Agent activity
15 hits · last 30 days
node
14
Resources
pyqt6-sip — pip install pyqt6-sip · libregistry