Unable to install MetaTrader5
Question:
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
Answers:
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.
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.
- sudo apt update -y
- sudo apt upgrade -y
- sudo apt install wine64
- cd ~/Desktop
- wget https://www.python.org/ftp/python/3.8.0/python-3.8.0-amd64.exe –no-check-certificate
- wget https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe –no-check-certificate
- wine64 uninstaller -> select install and then select mt5setup.exe
- wine64 cmd
- cd /folder_where_python3.8_setup.exe
- python-3.8.0-amd64.exe
- c:
- cd windows
- copy py.exe python.exe
- python -m pip install pip –upgrade
- exit
- wine64 cmd
- pip3 –version
- pip3 install jupyter
- pip3 install MetaTrader5
- jupyter notebook
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.
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
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.
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.
- sudo apt update -y
- sudo apt upgrade -y
- sudo apt install wine64
- cd ~/Desktop
- wget https://www.python.org/ftp/python/3.8.0/python-3.8.0-amd64.exe –no-check-certificate
- wget https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe –no-check-certificate
- wine64 uninstaller -> select install and then select mt5setup.exe
- wine64 cmd
- cd /folder_where_python3.8_setup.exe
- python-3.8.0-amd64.exe
- c:
- cd windows
- copy py.exe python.exe
- python -m pip install pip –upgrade
- exit
- wine64 cmd
- pip3 –version
- pip3 install jupyter
- pip3 install MetaTrader5
- jupyter notebook
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.