使用python3.10的pip安装streamlit失败,麻烦大神帮忙看一下

使用python3.10的pip安装streamlit失败
报错内容:

Using cached https://pypi.tuna.tsinghua.edu.cn/packages/cf/44/cc9590db23758ee7906d40cacff06c02a21c2a6166602e095a56cbf2f6f6/tornado-6.1.tar.gz (497 kB)
Preparing metadata (setup.py) … 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.

pip install setuptools

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.