windows系统最佳安装GraphLab Create方法
2017-05-23 本文已影响665人
Adapa
<h1>用命令安装GraphLab Create</h1>
<h3>Install GraphLab Create with Command Line</h3>

安装到Anaconda Python环境中
GraphLab创建安装需要Python 2.7.x环境和pip版本= 7和Anaconda2 v4.0.0(64位)。建议使用IPython笔记本。
1.下载Anaconda
下载地址(官网比较慢):https://www.continuum.io/downloads/
我们提供CDN下载地址:<a href="https://dns.worldlink.top/Anaconda2-4.3.1-Windows-x86_64.exe">点我下载</a>
我的SSL证书好像过期了(⊙o⊙)…会提示不安全
Anaconda 安装完毕后创建环境GraphLab Create:

找到这你文件(这是anaconda的更新源的配置文件修改为国内源)
2,将其中内容改为

channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- defaults
show_channel_urls: true
有可能出错,若出错,则即将defaults一行删掉即可
2.更新Anaconda
conda update conda
安装pip
conda install pip
配置pip更新源
找的PIP文件夹

新建一个pip.ini文件


[global]
timeout = 6000
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com
创建环境
conda create -n gl-env python=2.7 anaconda=4.0.0
激活环境
activate gl-env
确保pip版本= = 7
conda update pip
安装 GraphLab Create(注这看完,要填你的邮箱和KEY)
pip install --upgrade --no-cache-dir https://get.graphlab.com/GraphLab-Create/2.1/你的邮箱名/你的KEY/GraphLab-Create-License.tar.gz
如果没有申请请去https://turi.com/download/academic.html 申请
确保安装IPython和IPython Notebook
conda install ipython-notebook
完毕!(如有异议亲在留言处指出谢谢)