I want to install package MetaTrader5 on my Linux [Fedora], but this package is supported only for Windows.
And my question is: Is it possible to install Windows Python packages on Linux? and after installation import in my python file?
My Solution
- install
wine(learn more about wine) - download python for windows, than install with
wine <path to .exe> wine pip install MetaTrader5or another windows only library- (example) create virtual enviroment
wine venv <name project>and select - than import library to file, install package [3] in your virtual enviroment and you can you use it.
- run with
wine python <file.py>