FX31337 / FX-BT-Scripts

:page_facing_up: Useful scripts for backtesting.
MIT License
34 stars 39 forks source link

We need requirements.txt with required pip packages. #16

Closed kenorb closed 8 years ago

kenorb commented 8 years ago

Currently on Debian ./dl_bt_dukascopy.py --help fails with:

ImportError: No module named lzma

We need to have requirements.txt with required pip packages which can be installed via pip3 automatically.

This can be generated via:

pip3 freeze | grep lzma > requirements.txt

Then installed via:

pip3 -r requirements.txt

Tested, but it doesn't work as expected.

ghost commented 8 years ago

On which Debian version have you tried it?

ghost commented 8 years ago

Python LZMA backport was installed, dl_bt_dukascopy.py was updated, test was passed.

kenorb commented 8 years ago

Fixed by installing https://github.com/peterjc/backports.lzma which is backport of lzma into Python 3.2, where it's normally available in 3.3.