My Python can't install streamlit library

Hi guys, I’m having a problem installing the “Streamlit” library.

I’ve tried various ways, but nothing works

by the way this happened because of what??

Please help me to solve it


pip version 22.3
python version 3.11.0

(venv) E:\>python -m pip install streamlit
Collecting streamlit
  Downloading streamlit-1.17.0-py2.py3-none-any.whl (9.3 MB)
     ---------------------------------------- 9.3/9.3 MB 2.5 MB/s eta 0:00:00
Collecting altair>=3.2.0
  Downloading altair-4.2.0-py3-none-any.whl (812 kB)
     ---------------------------------------- 812.8/812.8 kB 2.6 MB/s eta 0:00:00
Collecting blinker>=1.0.0
  Downloading blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting cachetools>=4.0
  Downloading cachetools-5.2.1-py3-none-any.whl (9.3 kB)
Collecting click>=7.0
  Downloading click-8.1.3-py3-none-any.whl (96 kB)
     ---------------------------------------- 96.6/96.6 kB 5.4 MB/s eta 0:00:00
Collecting importlib-metadata>=1.4
  Downloading importlib_metadata-6.0.0-py3-none-any.whl (21 kB)
Collecting numpy
  Downloading numpy-1.24.1-cp311-cp311-win_amd64.whl (14.8 MB)
     ---------------------------------------- 14.8/14.8 MB 2.6 MB/s eta 0:00:00
Collecting packaging>=14.1
  Downloading packaging-23.0-py3-none-any.whl (42 kB)
     ---------------------------------------- 42.7/42.7 kB ? eta 0:00:00
Collecting pandas>=0.21.0
  Downloading pandas-1.5.2-cp311-cp311-win_amd64.whl (10.3 MB)
     ---------------------------------------- 10.3/10.3 MB 2.5 MB/s eta 0:00:00
Collecting pillow>=6.2.0
  Downloading Pillow-9.4.0-cp311-cp311-win_amd64.whl (2.5 MB)
     ---------------------------------------- 2.5/2.5 MB 2.6 MB/s eta 0:00:00
Collecting protobuf<4,>=3.12
  Downloading protobuf-3.20.3-py2.py3-none-any.whl (162 kB)
     ---------------------------------------- 162.1/162.1 kB 3.2 MB/s eta 0:00:00
Collecting pyarrow>=4.0
  Downloading pyarrow-10.0.1-cp311-cp311-win_amd64.whl (20.2 MB)
     ---------------------------------------- 20.2/20.2 MB 2.5 MB/s eta 0:00:00
Collecting pympler>=0.9
  Downloading Pympler-1.0.1-py3-none-any.whl (164 kB)
     ---------------------------------------- 164.8/164.8 kB 3.3 MB/s eta 0:00:00
Collecting python-dateutil
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ---------------------------------------- 247.7/247.7 kB 3.0 MB/s eta 0:00:00
Collecting requests>=2.4
  Downloading requests-2.28.2-py3-none-any.whl (62 kB)
     ---------------------------------------- 62.8/62.8 kB 3.5 MB/s eta 0:00:00
Collecting rich>=10.11.0
  Downloading rich-13.0.1-py3-none-any.whl (238 kB)
     ---------------------------------------- 238.1/238.1 kB 2.4 MB/s eta 0:00:00
Collecting semver
  Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting toml
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting typing-extensions>=3.10.0.0
  Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting tzlocal>=1.1
  Downloading tzlocal-4.2-py3-none-any.whl (19 kB)
Collecting validators>=0.2
  Downloading validators-0.20.0.tar.gz (30 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 103
  ╰─> [1 lines of output]
      No Python at '"..\python\python.exe'
      [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.

This sounds like it would be more appropriate in the Python Help category. This one is for discussing how to improve Python packaging, not for technical support with installation issues.