ModuleNotFoundError: No module named 'altair.vegalite.v4'

I have streamlit version 1.18.1 and altair 4.0.0 but still having error ;(
Any reason?

 $ streamlit run app.py
Traceback (most recent call last):
  File "/opt/homebrew/bin/streamlit", line 5, in <module>
    from streamlit.web.cli import main
  File "/opt/homebrew/lib/python3.11/site-packages/streamlit/__init__.py", line 55, in <module>
    from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
  File "/opt/homebrew/lib/python3.11/site-packages/streamlit/delta_generator.py", line 43, in <module>
    from streamlit.elements.arrow_altair import ArrowAltairMixin
  File "/opt/homebrew/lib/python3.11/site-packages/streamlit/elements/arrow_altair.py", line 36, in <module>
    from altair.vegalite.v4.api import Chart
ModuleNotFoundError: No module named 'altair.vegalite.v4'
 ~/files/chatGPT/langchain-ask-pdf   main ●            1 ↵  5647  22:09:34
 $ pip show streamlit
Name: streamlit
Version: 1.18.1
Summary: The fastest way to build data apps in Python
Home-page: https://streamlit.io
Author: Snowflake Inc
Author-email: hello@streamlit.io
License: Apache License 2.0
Location: /Users/azizulhaque/.local/share/virtualenvs/streamlit-gDBanFGa/lib/python3.11/site-packages
Requires: altair, blinker, cachetools, click, gitpython, importlib-metadata, numpy, packaging, pandas, pillow, protobuf, pyarrow, pydeck, pympler, python-dateutil, requests, rich, semver, toml, tornado, typing-extensions, tzlocal, validators
Required-by:
 ~/files/chatGPT/langchain-ask-pdf   main ●              ✔  5648  22:09:49
 $ pip show altair
Name: altair
Version: 4.0.0
Summary: Altair: A declarative statistical visualization library for Python.
Home-page: http://altair-viz.github.io
Author: Brian E. Granger / Jake VanderPlas
Author-email: jakevdp@gmail.com
License: BSD 3-clause
Location: /Users/azizulhaque/.local/share/virtualenvs/streamlit-gDBanFGa/lib/python3.11/site-packages
Requires: entrypoints, jinja2, jsonschema, numpy, pandas, toolz
Required-by: streamlit