I had the same problem. The problem is that the documentation says to install python3.8. To make it work, you need to use the latest python3 version that supports the metatrader5 package. In my case and at the time of this writing, this is python3.13.3. python3.14 is already available, but doesn't seem to support mt5, yet (so don't chose the latest python3 version blindly).
You can check which python versions are supported on the following website:
I found solution.
https://pypi.org/project/MetaTrader5/
So if you are using any version other than this you will not be able to install it.
any solution for this issue
This link shows available versions for it:
https://pypi.org/project/metatrader5/#files
Hello,
I had the same problem. The problem is that the documentation says to install python3.8. To make it work, you need to use the latest python3 version that supports the metatrader5 package. In my case and at the time of this writing, this is python3.13.3. python3.14 is already available, but doesn't seem to support mt5, yet (so don't chose the latest python3 version blindly).
You can check which python versions are supported on the following website:
https://pypi.org/project/metatrader5/
(see attached screenshot).
Cheers.