vnpy/install.bat
nanoric 4573424e0c [Mod] use python -m pip instead of pip
ibapi & rqdatac is installed from 3rd-party source. old version of pip can't handle this correctly.
upgrading pip might make /usr/bin/pip(3) unable to execute. So python -m pip is safer to run pip.
2019-05-15 16:36:56 +08:00

13 lines
464 B
Batchfile

:: Upgrade pip & setuptools
python -m pip install --upgrade pip setuptools
::Install talib and ibapi
python -m pip install https://pip.vnpy.com/colletion/rqdatac-2.1.0.tar.gz
python -m pip install https://pip.vnpy.com/colletion/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl
python -m pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl
::Install Python Modules
python -m pip install -r requirements.txt
:: Install vn.py
python -m pip install .