You can install from PyPI:
$ easy_install TA-Lib
Or checkout the sources and run
$ python setup.py install
func.c:256:28: fatal error: ta-lib/ta_libc.h: No such file or directory compilation terminated.
If you get build errors like this, it typically means that it can't find the
TA-Lib library and needs to be installed:
To use TA-Lib for python, you need to have the TA-Lib already installed:
$ brew install ta-lib
and unzip to
Download ta-lib-0.4.0-src.tar.gz and:
$ untar and cd $ ./configure --prefix=/usr $ make $ sudo make install
If you build
make -jXit will fail but that's OK! Simply rerun
make -jXfollowed by
[sudo] make install.