Collecting html Using cached html-1.16.tar.gz (7.6 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] ERROR: Can not execute `setup.py` since setuptools is not available in the build environment. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
时间: 2023-07-02 10:17:58 浏览: 363
数字验证覆盖率收集用户手册
这个错误是因为缺少 setuptools 模块导致的,可以尝试使用以下命令安装该模块:
```
pip install setuptools
```
如果还出现问题,可以尝试更新 pip:
```
pip install --upgrade pip
```
如果还是没有解决问题,可以考虑使用虚拟环境,或者尝试使用 conda 管理包依赖。
阅读全文