Skip to content

Instantly share code, notes, and snippets.

@MkDierz
Last active September 19, 2025 03:48
Show Gist options
  • Select an option

  • Save MkDierz/ef3a116ccf13eefb102a640a109a4266 to your computer and use it in GitHub Desktop.

Select an option

Save MkDierz/ef3a116ccf13eefb102a640a109a4266 to your computer and use it in GitHub Desktop.

Revisions

  1. MkDierz revised this gist Sep 19, 2025. 1 changed file with 38 additions and 10 deletions.
    48 changes: 38 additions & 10 deletions install_ta_lib_collab.ipynb
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,38 @@
    # download TA-Lib
    !wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
    import os
    os.chdir('ta-lib') # Can't use !cd in co-lab
    !./configure --prefix=/usr
    !make
    !make install
    # wait ~ 30s
    os.chdir('../')
    !pip install TA-Lib
    {
    "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"
    ]
    }
    ]
    }
  2. MkDierz created this gist Sep 19, 2025.
    10 changes: 10 additions & 0 deletions install_ta_lib_collab.ipynb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    # download TA-Lib
    !wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
    import os
    os.chdir('ta-lib') # Can't use !cd in co-lab
    !./configure --prefix=/usr
    !make
    !make install
    # wait ~ 30s
    os.chdir('../')
    !pip install TA-Lib