i install TA-lib with below command,
pip install TA-lib
but got this error \"command \'gcc\' failed with exit status 1\":
This is how I fixed this issue in Linux: First I downloaded C dependency from: https://ta-lib.org/hdr_dw.html Installed it at a local directory using:
./configure --prefix=
make
make install
Then used pip
to install ta-lib
. Make sure to give --global-options
to point pip
to local library location.
pip install --upgrade --global-option=build_ext --global-option="-L/lib" --global-option="-I/include" --install-option="--prefix=" ta-lib