python
config_error
ai_generated
true
pkg_resources.VersionConflict: (setuptools 58.0.0 (/usr/lib/python3/dist-packages), Requirement.parse('setuptools>=60.0'))
ID: python/setuptools-version-conflict
80%Fix Rate
86%Confidence
0Evidence
2024-05-18First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.9 | active | — | — | — |
Root Cause
A package requires a newer setuptools version than what is installed, but the older version is locked by the system.
generic中文
某个包需要比已安装的setuptools版本更新的版本,但旧版本被系统锁定。
Workarounds
-
90% success
python -m venv venv && source venv/bin/activate && pip install --upgrade setuptools
-
80% success
pip install --user --upgrade setuptools
-
70% success
Install Python 3.12 and use its pip
Dead Ends
Common approaches that don't work:
-
70% fail
May break system packages that depend on the old version.
-
80% fail
Package may not work correctly.
-
60% fail
May not be available or introduce other conflicts.