Install Python TA-Lib (Ubuntu)

November 2, 2020

Install TA-Lib

wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar -xzf ta-lib-0.4.0-src.tar.gz
cd ta-lib/
./configure --prefix=/usr
make
sudo make install

Install Python TA-Lib

pip install TA-Lib

You will get the following error if you didn’t install TA-Lib as per the above.

fatal error: ta-lib/ta_libc.h: No such file or directory

References:

This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.