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.

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM