GraphLab Create的安装
前往Graphlab Create的官网:https://turi.com/
进入下载页面:https://turi.com/download/install-graphlab-create.html
选择对应版本下载。
下载完成后需要邮箱和密钥,我们可以去官网获取学术许可证
https://turi.com/download/academic.html
根据情况填写(乱填也可以)。
之后就可以获得学术许可密钥了。
点击下载好的安装包 输入邮箱和密钥就可以进行安装了
安装时请确保网络通畅,且安装时间有点长,请耐心等待。
GraphLab Create的配置
GraphLab Create安装完成后
在Jupyter Notebook 中执行import graphlab命令后,可能会出现以下提示:
ACTION REQUIRED: Dependencies libstdc++-6.dll and libgcc_s_seh-1.dll not found.

我在外网找到了三种解决方法:
1. Ensure user account has write permission to C:\Users\XXX\Anaconda2\envs\gl-env\lib\site-packages\graphlab
2. Run graphlab.get_dependencies() to download and install them.
3. Restart Python and import graphlab again.
第一种最简单。并且第一种对于我来说是有效的。所以这里我详细说说第一种。其他的过于麻烦不做说明。
翻译成中文为确保C:\Users\XXX\Anaconda2\envs\gl-env\lib\site-packages\graphlab 目录有写权限。
这个目录C:\Users\XXX\Anaconda2是你的graphLab的安装目录。

我在这里将所有组和用户都设置成了完全控制(可能会不太安全,但是我又不是在用Linux🙃)。
结果:成功导入

网友评论