Created
April 30, 2023 00:50
-
-
Save farzadhallaji/591a69519d0bc54b9ec97bfc30a15b94 to your computer and use it in GitHub Desktop.
installing Ta-Lib in google colab
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
!pip uninstall numpy -y | |
!pip install numpy==1.24.2 | |
!wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz | |
!tar -xzvf ta-lib-0.4.0-src.tar.gz | |
%cd ta-lib | |
!./configure --prefix=/usr | |
!make | |
!make install | |
%cd .. | |
!pip install TA-Lib==0.4.24 | |
!pip install python-telegram-bot |
to run in background:
!pip uninstall numpy -y > /dev/null 2>&1
!pip install numpy==1.24.2 > /dev/null 2>&1
!wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz -q
!tar -xzvf ta-lib-0.4.0-src.tar.gz > /dev/null 2>&1
%cd ta-lib
!./configure --prefix=/usr > /dev/null 2>&1
!make > /dev/null 2>&1
!make install > /dev/null 2>&1
%cd ..
!pip install TA-Lib==0.4.24 > /dev/null 2>&1
!pip install python-telegram-bot
also can run plotly dash app on google colab:
!pip uninstall numpy -y > /dev/null 2>&1
!pip install numpy==1.24.2 > /dev/null 2>&1
!wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz -q
!tar -xzvf ta-lib-0.4.0-src.tar.gz > /dev/null 2>&1
%cd ta-lib
!./configure --prefix=/usr > /dev/null 2>&1
!make > /dev/null 2>&1
!make install > /dev/null 2>&1
%cd ..
!pip install TA-Lib==0.4.24 > /dev/null 2>&1
# !pip install python-telegram-bot
!pip install pyngrok > /dev/null 2>&1
!pip install dash > /dev/null 2>&1
!ngrok authtoken <token>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
init