Cannot find ta-lib library, installation may fail.

在windows10上安装ta-lib库的时候失败,报如题的错误,解决办法:

http://www.lfd.uci.edu/~gohlke/pythonlibs/ 找到TA-Lib板块,在下面这些库中找到你需要的,比如,我的python版本是3.5,64位系统,所以,我选择TA_Lib‑0.4.10‑cp35‑cp35m‑win_amd64.whl

TA_Lib‑0.4.10‑cp27‑cp27m‑win32.whl
TA_Lib‑0.4.10‑cp27‑cp27m‑win_amd64.whl
TA_Lib‑0.4.10‑cp34‑cp34m‑win32.whl
TA_Lib‑0.4.10‑cp34‑cp34m‑win_amd64.whl
TA_Lib‑0.4.10‑cp35‑cp35m‑win32.whl
TA_Lib‑0.4.10‑cp35‑cp35m‑win_amd64.whl
TA_Lib‑0.4.10‑cp36‑cp36m‑win32.whl
TA_Lib‑0.4.10‑cp36‑cp36m‑win_amd64.whl

然后去文件所在目录,执行:

pip install TA_Lib‑0.4.10‑cp35‑cp35m‑win_amd64.whl

即可。