Skip to content

Instantly share code, notes, and snippets.

@trufanov-nok
Created December 18, 2020 06:50
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save trufanov-nok/d332caf714d4ebb6461df42e8516d7e1 to your computer and use it in GitHub Desktop.
Save trufanov-nok/d332caf714d4ebb6461df42e8516d7e1 to your computer and use it in GitHub Desktop.
Installing TA-Lib on Jupyter Notebook
!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
@RobertSzaszak
Copy link

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.

@trufanov-nok
Copy link
Author

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