python
config_error
ai_generated
true
ERROR: Unsupported environment marker: python_version < '3.8'
ID: python/pip-environment-markers-unsupported
80%Fix Rate
82%Confidence
0Evidence
2024-08-30First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.6 | active | — | — | — |
| 3.7 | active | — | — | — |
| 3.8 | active | — | — | — |
Root Cause
The environment marker in the package's metadata is not recognized by the current pip version.
generic中文
包元数据中的环境标记不被当前 pip 版本识别。
Workarounds
-
70% success
pip install --upgrade pip
-
90% success
python3.8 -m venv venv && source venv/bin/activate && pip install pkg
Dead Ends
Common approaches that don't work:
-
60% fail
May install incompatible versions for the current Python.
-
50% fail
If the marker is malformed, upgrading won't help.