me neither. Same error when importing mt5
import MetaTrader5 as mt5 RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xe Traceback (most recent call last): File "<ipython-input-8-0f7ab8e877b0>", line 1, in <module> import MetaTrader5 as mt5 File "C:\Users\admin\anaconda3\lib\site-packages\MetaTrader5\__init__.py", line 257, in <module> from ._core import * ImportError: numpy.core.multiarray failed to import
any clues?
Thank you
What version of python are you using?
Currently I believe that the MT5 API only supports v3.5 up to v3.10
Python 3.8.8 using Anaconda (Spyder)
Done, I reinstalled numpy. InAnaconda Prompt, typing:
conda install -c anaconda numpy
It works for meThank you
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
I'm getting error while importing MetaTrader5 as shown below:
import MetaTrader5 as mt5
RuntimeError Traceback (most recent call last) RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xe
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) ~\AppData\Local\Temp\ipykernel_2036\3445222804.py in <module> ----> 1 import MetaTrader5 as mt5 ~\anaconda3\lib\site-packages\MetaTrader5\__init__.py in <module> 255 256 # import C methods to our module --> 257 from ._core import * 258 259 # internal order send ImportError: numpy.core.multiarray failed to import kindly help!