Hello ,Hope you doing fine,,Did you solve the error??,,I have downgraded to numpy 1.21.6 but i cannot still use MetaTrader package,, How can i go about it?, Thanks in advance.
Same issue here, i have also reported to meta quotes. Hope this is addressed soon. It took me one entire day to figure out the issue.
Same here. The numpy downgrade to 1.26.4 isn't really a solution :/

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hey everyone,
I'm running Python 3.12.5 and trying to get MQL5's MetaTrader5 installed and running. In an empty venv (I purged the cache just to be sure), I use 'pip install MetaTrader5' which installs the package and also installs it's one dependency -> numpy. So my virtual environment has just those two packages, and they are both the latest and greatest (verified via PyPI). When I do a simple 'import MetaTrader5', python throws an error stating that MetaTrader5 was compiled using numpy 1.x and is *not* compatible with numpy 2.x. The funny part is that MetaTrader5 package automatically installs a numpy>=1.7 via pip (v2.1.1 is latest). I did downgrade numpy to 1.26.4 (last v1.x release) and I'm able to use the MetaTrader5 package. Is MQL5 really compiling their package with an old numpy while installing a non-supported version of numpy? Perhaps I'm missing something here. Thanks in advance!
:-)