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

 

I found solution.

https://pypi.org/project/MetaTrader5/

So if you are using any version other than this you will not be able to install it.

MetaTrader5
  • 2023.04.21
  • pypi.org
API Connector to MetaTrader 5 Terminal
 
only python 3.8 working packeg MetaTrader5  
 
PS C:\Windows\system32\example\project_2>  poetry add metatrader5
Using version ^5.0.45 for metatrader5

Updating dependencies
Resolving dependencies... (0.1s)

Package operations: 1 install, 0 updates, 0 removals

  • Installing metatrader5 (5.0.45): Failed

  RuntimeError

  Unable to find installation candidates for metatrader5 (5.0.45) 
at ~\AppData\Roaming\Python\Python312\site-packages\poetry\installation\chooser.py:73 in choose_for
       69│
       70│             links.append(link)
       71│
       72│         if not links:
    →  73│             raise RuntimeError(f"Unable to find installation candidates for {package}")
       74│
       75│         # Get the best link
       76│         chosen = max(links, key=lambda link: self._sort_key(package, link))
       77
Cannot install metatrader5.

any solution for this issue