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的主要内容,如果未能解决你的问题,请参考以下文章