搭建graphlab环境

  1. 安装graphlab,最好不用使用install.exe方式来安装,因为我的电脑就报错了,然后anconda重装(浪费了不少时间)。具体安装步骤如下:

Step 1:

Download Anaconda2 v4.0.0

Step 2: Install Anaconda

# Run Anaconda2 v4.0.0 installer.# Double-click the .exe file to install Anaconda and follow the instructions on the screen.

Step 3: Create conda environment

# Create a new conda environment with Python 2.7.xconda create -n gl-env python=2.7 anaconda=4.0.0# Activate the conda environmentactivate gl-env

Step 4: Ensure pip version >= 7

# Ensure pip is updated to the latest version# miniconda users may need to install pip first, using 'conda install pip'conda update pip

Step 5: Install GraphLab Create

# Install your licensed copy of GraphLab Createpip install --upgrade --no-cache-dir https://get.graphlab.com/GraphLab-Create/2.1/****.com/****/GraphLab-Create-License.tar.gz

此处的是自己的licence,每个license可以使用免费申请一年。

Step 4: Ensure installation of IPython and IPython Notebook

# Install or update IPython and IPython Notebookconda install ipython-notebook
  1. 在jupyter notebook中执行graphlab.get_dependencies(),解决缺少libstdc++-6.dll 和 libgcc_s_seh-1.dll
    的问题

3.import graphlab

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

友情链接更多精彩内容