See the PyPI page for the correct spelling of the package name: MetaTrader5 · PyPI
thanks for reply
Which version of Python are you using? PyPI has versions for Python 3.6 to Python 3.11 on Windows, but not Python 3.12.
pip install MetaTrader5 should happen outside of Python, just like
pip show MetaTrader5.
Thanks Matthew my problem is solved