python
install_error
ai_generated
true
error: invalid command 'egg_info'
ID: python/setuptools-invalid-command-egg-info
80%Fix Rate
88%Confidence
0Evidence
2024-03-30First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.9 | active | — | — | — |
| 3.10 | active | — | — | — |
Root Cause
setuptools not installed or shadowed by an incompatible distutils in the build environment.
generic中文
构建环境中未安装 setuptools,或被不兼容的 distutils 遮蔽。
Workarounds
-
95% success
python -m pip install -U pip setuptools wheel
-
85% success
python -m pip install . --use-pep517
Dead Ends
Common approaches that don't work:
-
90% fail
Same missing setuptools command; fails identically.
-
85% fail
Overkill; the issue is the packaging toolchain, not the interpreter.