python
config_error
ai_generated
true
ERROR: Could not find a version that satisfies the requirement mypackage[extra] (from versions: none)
ID: python/pip-requirements-extras-not-found
80%Fix Rate
85%Confidence
0Evidence
2024-12-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.8 | active | — | — | — |
| 3.9 | active | — | — | — |
| 3.10 | active | — | — | — |
Root Cause
The specified extra (e.g., [extra]) does not exist for the package on PyPI.
generic中文
指定的额外选项(例如 [extra])在 PyPI 上的包中不存在。
Workarounds
-
95% success Check the package's available extras on PyPI
Visit https://pypi.org/project/mypackage/ or run `pip show mypackage` to see the list of extras.
-
80% success Install the package without extras and manually add dependencies
`pip install mypackage` then `pip install dependency1 dependency2` (as listed in the package's documentation).
Dead Ends
Common approaches that don't work:
-
Assuming the extra is misspelled and trying random variations
70% fail
Without knowing the correct extra name, guesses are unlikely to succeed.
-
Installing the package without the extra
30% fail
This may miss required dependencies for the desired functionality.