TA-Lib中文文档(二):talib安装
2018-08-11 22:04
477 查看
安装
使用pip安装 PyPI:
$ pip install TA-Lib
Or checkout the sources and run
setup.pyyourself:
$ python setup.py install
如果安装发生错误
func.c:256:28: fatal error: ta-lib/ta_libc.h: No such file or directory compilation terminated.
如果你遇到这样的编译错误,它通常意味着它找不到底层的库,需要安装:
Dependencies 依赖库文件
使用Python的TA库,你需要有安装底层库文件:下载TA-Lib底层库文件
安装底层库文件方法
Mac OS X
$ brew install ta-lib
Windows
Download ta-lib-0.4.0-msvc.zip
and unzip to
C:\ta-lib
Linux
Download ta-lib-0.4.0-src.tar.gz and:
$ untar and cd $ ./configure --prefix=/usr $ make $ sudo make install
If you build
TA-Libusingmake -jXit will fail but that's OK!
Simply rerunmake -jXfollowed by[sudo] make install.
链接:https://www.jianshu.com/p/cd88f6a0e81c
相关文章推荐
- TA-Lib中文文档(一):快速开始
- talib 中文文档(七):Overlap Studies Functions
- gvim安装中文文档
- Vim中文文档在Linux(常用Ubuntu)上的安装与卸载
- Theano 中文文档 0.9 - 5.1 Ubuntu安装说明
- debian安装中文man文档
- TA-Lib C/C++ API文档
- MySQL中文全文索引插件 mysqlcft 1.0.0 安装使用文档
- GitLab 官方安装文档中文翻译
- 【Scikit-Learn 中文文档 】安装 scikit-learn | ApacheCN
- windows安装TA-Lib
- Visual Studio2010英文版安装中文帮助文档
- talib 中文文档(五):文档导航
- Python的beautifulSoup 安装和中文文档网址
- Gauge中文文档(1)—安装
- Theano 中文文档 0.9 - 5.2 Mac OS安装说明
- 【Scikit-Learn 中文文档】安装 scikit-learn | ApacheCN
- debian8上安装pyspider - pyspider中文文档 - pyspider中文网
- jBPM 7.5中文文档——jBPM安装程序
- Windows下安装TA-Lib