Created
December 18, 2020 06:50
-
-
Save trufanov-nok/d332caf714d4ebb6461df42e8516d7e1 to your computer and use it in GitHub Desktop.
Installing TA-Lib on Jupyter Notebook
This file contains 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
!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=$HOME | |
!make | |
!make install | |
!TA_LIBRARY_PATH=~/lib TA_INCLUDE_PATH=~/include pip install ta-lib |
On a regular desktop linux machine you would need sudo apt-get install wget
to get wget onboard (but it usually preinstalled).
As for Jupiter Notebook - it seems the recipe is outdated and as I'm not a python coder, I can't help with this anymore.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are two errors:
'wget' is not recognized as an internal or external command, operable program or batch file.
tar: Error opening archive: Failed to open 'ta-lib-0.4.0-src.tar.gz' '.' is not recognized as an internal or external command, operable program or batch file. 'make' is not recognized as an internal or external command, operable program or batch file. 'make' is not recognized as an internal or external command, operable program or batch file. 'TA_LIBRARY_PATH' is not recognized as an internal or external command, operable program or batch file.