Monday, July 4, 2016

Install TA-LIB for Python in Ubuntu

Step 1.  Install pip:
  a.  sudo apt-get update
  b. curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
  c. sudo python get-pip.py
  d. rehash

Step 2. Install talib for linux:
  a. Download ta-lib-0.4.0-src.tar.gz
  b.  untar and cd to the untared directory
  c. ./configure --prefix=/usr
  d. make
  e.  sudo make install

Step 3.  install necessary python modules:
  a. sudo apt-get install python-dev libxml2-dev libxslt-dev

Step 4. Install TA_LIB Python Wrapper:
a. sudo pip install TA-Lib

No comments:

Post a Comment