I am trying to install Ta-Lib on macOS, but I am encountering the following error:

Kindly assist with the below query!

you need to first install ta-lib library How do I install TA-lib in python 3 in Mac OS High Sierra? - Stack Overflow