11

I could not install MetaTrader5 by:

pip install MetaTrader5

I got the following error:

ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none) ERROR: No matching distribution found for MetaTrader5

Knowing that I am on MAC laptop and I have Python 3.7.6

Thanks in advance to provide me the solution

Yazen WAKED
  • 133
  • 1
  • 5

2 Answers2

5

MetaTrader5 provides a lot of binary wheels but only for w32 and w64. No Linux, no MacOS and no source code. It seems the software is Windows-only.

Their site recommends to use one of the w32/w64 emulators on MacOS.

phd
  • 82,685
  • 13
  • 120
  • 165
1

Folks at MQT5 haven't compiled any version for Linux so far and the only method available is to Installed Python3.x for Windows inside Wine64 and then continue further pip installation accordingly.

I'm on Ubuntu 22.04 and successfully installed MetaTrader5, here are the steps.

This seems to work, I can access MetaTrader5 repository however jupyter crashes when any ipynb file is loaded. Haven't found any solution for this problem but if you save everything in a .py file and execute it normally, it works fine.

Janib Soomro
  • 446
  • 6
  • 12
  • 1
    I can confirm this works as of 2023. Please note that you must use python >= 3.8, up to python 3.10 (as of 2023, jan) since the MT5 pip package only supports those versions currently. Otherwise you will get the error "No matching distribution found for MetaTrader5" – g-radam Feb 03 '23 at 07:05