03 安装(Install)
安装
使用pip安装 PyPI:
|
|
Or checkout the sources and run setup.py
yourself:
|
|
如果安装发生错误
|
|
如果你遇到这样的编译错误,它通常意味着它找不到底层的库,需要安装:
Dependencies 依赖库文件
使用Python的TA库,你需要有安装底层库文件:下载TA-Lib底层库文件
安装底层库文件方法
Mac OS X
|
|
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:
|
|
If you build
TA-Lib
usingmake -jX
it will fail but that’s OK! Simply rerunmake -jX
followed by[sudo] make install
.