GraphLab Installation for Windows 10



When I started my coursera course - Machine Learning offered by University of Washington , I have faced a lot of troubles when installing GraphLab. I found these steps to solve this trouble. I hope this will help so much to you as well.

Step 1 : Install Anaconda

Go to https://www.anaconda.com/products/individual and install Anaconda 2.7 version to your PC. 

Step 2 : Create virtual environment

Then open Anaconda Navigator and create new virtual environment according to following snapshot.


If your PC has installed python 3.7 or any other version can be select when create virtual environment. But for GraphLab ,we need to use python 2.7 version. Remember that select this version before creating the virtual environment.



Step 3 : Open terminal

After creating virtual environment then open terminal.

Step 4 : Install notebook to virtual environment

Run  pip install notebook  command in terminal. 

Step 5 : Get academic license to create GraphLab

For installing GraphLab Create it requires academic license. So go to this link https://turi.com/download/academic.html  and register in it. 

Step 6 : Install GraphLab-Create into virtual environment

After Registration ,following page will load automatically.


Click view instructions button and copy the command that marked below. Run this command in the terminal.

Step 7 : Open jupyter notebook

Run  jupyter notebook  command in terminal.

Step 8 : Import graphlab

Then I got the following error.

Step 9 : Download & Install GraphLab dependencies

Run this command  graphlab.get_dependencies()  in jupyter notebook.

Step 10 : Restart kernel

import graphlab again. It will work nicely.

Comments

Post a Comment