Problem with 'pip install MetaTrader5' - MetaTrader module for integration with Python - page 2

 
@Tarick Miraji #: still having the same problem, Python fail to connect with MetaTrader5 module on my windows 10 pc
Did you enable the Python API in MetaTrader's Options?
 
pip install mt5linux
 
Fernando Carreiro, what do you mean by "Did you enable the Python API in MetaTrader's Options?" where is that option?
 
@lazymesh #: Fernando Carreiro, what do you mean by "Did you enable the Python API in MetaTrader's Options?" where is that option?

Exactly what it states ...


 
#Fernando  Carreiro  : Exactly what it states ...

I also have the same problem. I checked all these options, but the problem is still there.

 
J M #:

I also have the same problem. I checked all these options, but the problem is still there.

About  Python with Metatrader 5?
read this summary thread for all the particularities:

MetaTrader 5 Python User Group - the summary - Metatrader 5 and python integration: Practical application of neural networks in trading
MetaTrader 5 Python User Group - the summary - Metatrader 5 and python integration: Practical application of neural networks in trading
  • 2019.03.14
  • www.mql5.com
Metatrader 5 and python integration: receiving and sending data  - the article   practical application of neural networks in trading. New metatrader 5 platform build 2085: integration with python and strategy tester improvements
 

OK thanks.

But, unfortunately, I followed all that... but no solution.

So I feel like MetaQuotes must have stopped providing this API.

Because the installation of the module goes without any problem. Only, after installation, I see that no works are installed in this package.

 

Amazing that this hasn't been fixed at todays date. 

I am running Mac but I also have Parallels with a virtual Windows 11 Pro on and even there it dosn't work either.

If Metatrader wanna be part of the Quant evolution they need to step up.

 

My solution: Downgrade the python to version 3.8

For window: uninstall completely the current python version. And then install the python version 3.8

 
cmkwong12312 #:

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:

The error:

Have any solution?


Hi, just in case you are still having this problem, see this: https://www.mql5.com/en/forum/457940
A guide to successfully install MT5 and MetaTrader5 package for Python on Linux.
A guide to successfully install MT5 and MetaTrader5 package for Python on Linux.
  • 2023.11.23
  • www.mql5.com
I have successfully installed and used the MetaTrader5 package on Ubuntu without any difference on Windows. Here are the instructions. 1...