码迷,mamicode.com
首页 > 系统相关 > 详细

mac上安装ta-lib

时间:2017-02-10 16:24:29      阅读:773      评论:0      收藏:0      [点我收藏+]

标签:start   pypi   use   var   .com   ruby   ready   running   step   

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

标签:start   pypi   use   var   .com   ruby   ready   running   step   

原文地址:http://www.cnblogs.com/fengwenit/p/6386867.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!