Avatar
🚀

Follow me on:

Install TA-Lib Without Homebrew
Published by Mike Staszel on January 3, 2021

The only package I ever install using Homebrew is TA-Lib.

Everything else I need is already available.

TA-Lib isn’t updated often and it’s easy to install by compiling from source.

How-To

This guide will work on macOS 11.1 (Big Sur). It works perfectly on an M1 (or Intel) Mac.

First, download TA-Lib from SourceForge.

Then run:

tar xf ta-lib-0.4.0-src.tar.gz
cd ta-lib
./configure --prefix=/usr/local
make
sudo make install

That’s all it takes.

The --prefix flag is important. macOS Big Sur doesn’t let you modify /usr even when you use sudo.

Installing the Python TA-Lib library should work fine now:

pip install TA-Lib

Featured Posts

  1. A typical modern Spark stack nowadays most likely runs Spark jobs on a Kubernetes cluster, especially for heavy usage. Workloads are moving away from EMR on EC2 to either EMR on EKS or open-source Spark on EKS. When you’re running Spark on EKS, you probably want to scale your Kubernetes nodes up and down as you need them. You might only need to run a few jobs per day, or you might need to run hundreds of jobs, each with different resource requirements.

    aws development kubernetes

  2. Hi there, I’m Mike. 🔭 I’m currently working on big data engineering with Spark on k8s on AWS at iSpot.tv. 🌱 I’m focusing on mentoring and coaching my team to improve their skills and release awesome products. 🌎 I occasionally write blog posts about software engineering and other topics. Management and Software Engineering I consider myself to be a software engineer at heart. Nowadays I’m trying to do less code-writing and more of everything else:

    development