python
install_error
ai_generated
true
ERROR: Package 'somepkg' requires a different Python: 3.13.0 not in '<3.13,>=3.8'
ID: python/pip-python-version-not-supported
80%Fix Rate
86%Confidence
0Evidence
2025-05-22First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.11 | active | — | — | — |
| 3.12 | active | — | — | — |
| 3.13 | active | — | — | — |
Root Cause
The package has not yet been tested or built against the newest Python release and explicitly excludes it in metadata.
generic中文
该包尚未针对最新 Python 版本进行测试或构建,并在元数据中明确排除了该版本。
Workarounds
-
95% success
pyenv install 3.12.7 && pyenv local 3.12.7 && pip install <package>
-
60% success
pip install --pre <package>
Dead Ends
Common approaches that don't work:
-
70% fail
Installs untested code that may fail due to removed stdlib APIs or C-extension ABI changes.
-
90% fail
requires-python enforcement predates most pip versions.
-
85% fail
Bypasses the maintainer's compatibility guarantee and is overwritten on upgrade.