windows
-
先下载https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib (注意与python3.9.*版本一致)
pip install TA_Lib‑0.4.0‑cp39‑cp39‑win_amd64.whl pip install talib
-
linux
sudo apt-get install libta-lib0 libta-lib0-dev pip install talib
先下载https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib (注意与python3.9.*版本一致)
pip install TA_Lib‑0.4.0‑cp39‑cp39‑win_amd64.whl
pip install talib
linux
sudo apt-get install libta-lib0 libta-lib0-dev
pip install talib