Anaconda3下安装GraphLab Create

1、GraphLab Create根据下面文档说明,只能对应Python2.7.x和Anaconda2.x

https://turi.com/download/install-graphlab-create-command-line.html

 

2、想到建一个python2.7的虚拟环境

conda create -n gl-env python=2.7

 

3、注册GraphLab,获取用户名密码

(1)地址:https://turi.com/

(2)coursera students--->install graphlab create

(3)academic license:

(4)填好后,会出现如下页面:

(5)收到如下确认邮件:

产品码:8862-18BC-A187-AB2E-848C-05BC-6011-A1AD

 

4、安装GraphLab

(1)进入anaconda2环境安装

activate gl-env
conda update pip
pip install --upgrade --no-cache-dir https://get.graphlab.com/GraphLab-Create/2.1/your registered email address here/your product key here/GraphLab-Create-License.tar.gz
conda install ipython-notebook

对应我这里就是:

pip install --upgrade --no-cache-dir https://get.graphlab.com/GraphLab-Create/2.1/676285306@qq.com/8862-18BC-A187-AB2E-848C-05BC-6011-A1AD/GraphLab-Create-License.tar.gz

出现如下错误:

Installing collected packages: certifi, genson, multipledispatch, boto, jmespath, python-dateutil, botocore, docutils, bcdoc, colorama, pyasn1, rsa, awscli, functools32, jsonschema, psclient, backports.ssl-match-hostname, singledispatch, backports-abc, tornado, graphlab-create, GraphLab-Create-License
  Found existing installation: certifi 2018.4.16
Cannot uninstall 'certifi'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.Cannot uninstall 'certifi'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

 

(2)certifi问题解决

见我的博文:GraphLab安装出错:Cannot uninstall 'certifi'. It is a distutils installed project

 

(3)jupyter notebook进入gl-env环境,导入graphlab,出现如下错误:

解决方法见我的博文:

GraphLab安装出错(2):ACTION REQUIRED: Dependencies libstdc++-6.dll and libgcc_s_seh-1.dll not found

 

5、登陆新建的python2环境:

(1)打开Anaconda prompt

输入:activate gl-env

再输入:jupyter notebook

(2)这时,打开的notebook页面需要输入token value

再打开另外一个Anaconda Prompt页面,输入:jupyter notebook list

将token value输入到notebook登陆页面,即可登陆。而且可以新建python2的工程。

 

6、加载graphlab库成功

 

参考文章:

Anaconda3.x下安装Graphlab-Create

如何安装GraphLab Create

评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值