I managed to set up my environment, but attempts to connect to the terminal were futile and time consuming. I gave up.
Thank you for your answer. I will come and put an answer if I ever find the solution to my problem.
You absolutely have to be on Windows.
Hey, it seems the package is only available on windows.. Can't get it from linux/ Mac
Yes, I have same issue.
I can install the MT5 platform by using Wine 6.0 in Ubuntu 18.04
But I cannot install the package:
pip install MetaTrader5
The error:
ERROR: Could not find a version that satisfies the requirement MetaTrader5 ERROR: No matching distribution found for MetaTrader5
I think I have a solution that might work for linux.
The only way this can be done is to install the windows version of python inside of wine and run it from there. it works if I run the python script from the wine CMD (not the terminal) while metatrader is running on the same wine version.
I think that's because it depends on inter-processor communication tech from some windows DLL.
I hope this helps. feel free to contact me if it does not work for you that way on linux.
I'm sorry to hear that, although a credit for you for tiring to help.
Linux is the natural environment for python.
Installing python inside a wine virtual environment is dam stupid, while you can simply install Meta Trader 5 itself on wine.
Why MetaQuotes, which maintains the MetaTrader5 python package, does not fix the issue and compile it simply for Linux and Mac ???
I'm sorry to hear that, although a credit for you for tiring to help.
Linux is the natural environment for python.
Installing python inside a wine virtual environment is dam stupid, while you can simply install Meta Trader 5 itself on wine.
Why MetaQuotes, which maintains the MetaTrader5 python package, does not fix the issue and compile it simply for Linux and Mac ???
I agree - many IT savvy mt5 users must be really disappointed at this lack of non-windows functionality
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
Everything is OK with my Python environment in which I work every day, but when I want to import the MetaTrader5 library, I get an error message :
Where is the repository for MetaTrader5 lib ?
Thanks
https://www.mql5.com/en/docs/integration/python_metatrader5