i install TA-lib with below command,
pip install TA-lib
but got this error \"command \'gcc\' failed with exit status 1\":
If below answer did not work for you(in my case it did not) you can find compiled whl file and install from there.
Here's a link for compiled whl files for ta-lib.