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.
This guide will work on macOS 11.1 (Big Sur). It works perfectly on an M1 Mac.
TA-Lib on macOS Big Sur (including Apple M1)
First, download TA-Lib from here.
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 is important. macOS Big Sur doesn't let you modify
/usr even when you use
TA-Lib on Ubuntu aarch64/arm64
It's also possible to install TA-Lib on Linux running on arm64. It needs an updated
config.guess file before
sudo apt install -y build-essential automake cd ta-lib cp /usr/share/automake-1.16/config.guess . ./configure --prefix=/usr make sudo make install
TA-Lib Python Library
Installing the Python TA-Lib library should work fine now:
pip install TA-Lib