Skip to content
Contact us
Insights

Install TA-LIB on Ubuntu Server

  • DateSeptember 18, 2021

Install TA-LIB on Ubuntu Server

What is TA-LIB?

TA-Lib is widely used by trading software developers requiring to perform technical analysis of financial market data.

Installation

1. Download: wget the ta-lib source, tar -xzf, cd ta-lib/

2. Install TA-LIB: sudo ./configure, sudo make, sudo make install (if configure fails, install gcc via apt-get install build-essential)

3. Install TA-LIB Python Wrapper: pip install ta-lib

4. Test: import talib. If you get ImportError: libta_lib.so.0: cannot open shared object file, add /usr/local/lib to your library path: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH, or for a permanent solution add /usr/local/lib to /etc/ld.so.conf and run ldconfig.

CONTACT

Get in touch

Tell us about your use case — we'll respond with a tailored next step.

We aim to reply within one business day.

Follow Cloudstrata on LinkedIn and Instagram to stay up to date with our work and openings.

Details used only to respond. Data privacy

Install TA-LIB on Ubuntu Server | cloudstrata