搭建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

你可能感兴趣的:(搭建graphlab环境)