I was able to install Ta-lib on a raspberry pi 4 with Ubuntu using the following commands:
wget https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib_0.6.4_arm64.deb sudo dpkg -i ta-lib_0.6.4_arm64.deb pip install TA-Lib