安装talib 的一些经验尝试。首先我是python 27版本,win32系统。
错误尝试1.pip install talib,出错error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat).Get it from http://aka.ms/vcpython27
果断去http://aka.ms/vcpython27 下载了VCForPython27 软件,并加以安装,尝试pip install talib,依然出错,找不到合适版本
参考该网页http://blog.csdn.net/kuaile20/article/details/68491552
正确做法:1.安装轮子http://www.lfd.uci.edu/~gohlke/pythonlibs/,找到合适的whl文件,
我的是TA_Lib-0.4.10-cp27-cp27m-win32.whl,下载下来,放在C:\Python27\Lib文件夹下面
到cmd 窗口,将默认C:\Users\wenjing 切换到C:\Python27\Lib, 操作为 cd C:\Python27\Lib
此时cd C:\Python27\Lib pip install TA_Lib-0.4.10-cp27-cp27m-win32.whl
Processing C:\Python27\Lib pip install TA_Lib-0.4.10-cp27-cp27m-win32.whl
Installing collected packages: TA-Lib
Successfully installed TA-Lib-0.4.10
成功啦!!!!