Last active
September 19, 2025 03:48
-
-
Save MkDierz/ef3a116ccf13eefb102a640a109a4266 to your computer and use it in GitHub Desktop.
Script to install 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
| { | |
| "nbformat": 4, | |
| "nbformat_minor": 0, | |
| "metadata": { | |
| "colab": { | |
| "provenance": [] | |
| }, | |
| "kernelspec": { | |
| "name": "python3", | |
| "display_name": "Python 3" | |
| }, | |
| "language_info": { | |
| "name": "python" | |
| } | |
| }, | |
| "cells": [ | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "metadata": { | |
| "id": "Djk81coUFRQt" | |
| }, | |
| "outputs": [], | |
| "source": [ | |
| "# download TA-Lib\n", | |
| "!wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz\n", | |
| "import os\n", | |
| "os.chdir('ta-lib') # Can't use !cd in co-lab\n", | |
| "!./configure --prefix=/usr\n", | |
| "!make\n", | |
| "!make install\n", | |
| "# wait ~ 30s\n", | |
| "os.chdir('../')\n", | |
| "!pip install TA-Lib" | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment