mac上安装ta-lib

Posted 疯吻IT

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mac上安装ta-lib相关的知识,希望对你有一定的参考价值。

Now I am ready to start installing TA-Lib.

Generally I followed the steps listed in?here.

1. Install Mac OS X brew install ?by opening terminal and run

ruby -e “$(curl -fsSL?https://raw.github.com/Homebrew/homebrew/go/install)”

2. Install TA-Lib

brew install ta-lib

3. Because Anaconda already have cython, we can skip this step

4. Install?ta-lib wrapper?by running this in terminal

sudo pip install ta-lib

By now, since you are in testenv, all necessary packages have been installed. You can check by running

pip list

and see that TA-Lib has been installed.

Now in your python file, you can import talib and run help(talib) to see the help file for TALIB.

?

以上是关于mac上安装ta-lib的主要内容,如果未能解决你的问题,请参考以下文章

安装Ta-lib会导致gcc错误

无法在 ubuntu 上安装 Ta-lib - pip 和 make [重复] 错误

ta-lib依赖安装问题

[转]TA-Lib 安装

TA-lib 库未安装在 pydroid 3 中?

量化指标程序库 ta-lib 安装方法