Last active
May 19, 2022 16:39
-
-
Save debaonline4u/ad70fd56c535f68fc9bc88b40d300e87 to your computer and use it in GitHub Desktop.
Install Ta-Lib on Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Ta-Lib on Linux | |
------------------------- | |
sudo apt-get -y install gcc build-essential | |
Install using Anaconda | |
---------------------- | |
wget -O inst_conda.sh "https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh" \ | |
&& /bin/bash inst_conda.sh -b \ | |
&& rm inst_conda.sh \ | |
&& ./anaconda3/bin/conda init \ | |
&& source ~/.bashrc \ | |
&& conda create -n quantra python=3.6.8 -y \ | |
&& conda activate quantra | |
Install using PIP | |
------------------ | |
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz \ | |
&& sudo tar -xzf ta-lib-0.4.0-src.tar.gz \ | |
&& sudo rm ta-lib-0.4.0-src.tar.gz \ | |
&& cd ta-lib/ \ | |
&& sudo ./configure --prefix=/usr \ | |
&& sudo make \ | |
&& sudo make install \ | |
&& cd ~ \ | |
&& sudo rm -rf ta-lib/ \ | |
&& pip install ta-lib | |
Ref: https://blog.quantinsti.com/install-ta-lib-python/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment