GraphLab installation when Python 2.7 is no longer supported

664 Views Asked by At

i need to install GraphLab in jupyter notebook to do a coursera project but all instructions that i found and my research in stackoverflow shows that it require python-2.x or now python-2.7 is no longer supported so what can i do ?

2

There are 2 best solutions below

0
Ransaka Ravihara On BEST ANSWER

I faced the same issue. This is how I solved it. I hope it'll help you too.

  1. First, you need to open your anaconda navigator.
  2. Then Go to the Environment tab. enter image description here

  3. Click create option

  4. Then provide a name for your environment and choose the appropriate python version. (GraphLab Create installation requires a Python 2.7.x environment and pip version >= 7) enter image description here

  5. When your environment ready you can open it with the terminal as follows.enter image description here

  6. In command prompt type conda update pip to ensure pip is updated to the latest version
  7. Now run this command 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
  8. To Install or update IPython and IPython Notebook conda install ipython-notebook

I hope it will help you. Thanks!

3
sharone On

Step 4. Creating conda env is taking a long time and seems not working. The following is the error in conda prompt:

Users\sharone\Anaconda2>conda create -n gl-env python=2.7 anaconda=4.0.0
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ....
Solving package specifications: .
Error:  Dependencies missing in current win-64 channels:
  - anaconda 4.0|4.0.0* -> scipy 0.17.0 np110py27_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> numpy 1.10.4 py35_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> scipy 0.17.0 np110py34_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> scikit-learn 0.17.1 np110py27_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> numexpr 2.5 np110py35_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> scikit-learn 0.17.1 np110py34_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> pytables 3.2.2 np110py35_2 -> numexpr 2.5* -> numpy 1.11* -> blas * mkl
  - anaconda 4.0|4.0.0* -> pytables 3.2.2 np110py34_2 -> numexpr 2.5* -> numpy 1.11* -> blas * mkl
  - anaconda 4.0|4.0.0* -> scipy 0.17.0 np110py35_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> pytables 3.2.2 np110py27_2 -> numexpr 2.5* -> numpy 1.11* -> blas * mkl
  - anaconda 4.0|4.0.0* -> pytables 3.2.2 np110py35_2 -> numexpr 2.5* -> blas * mkl
  - anaconda 4.0|4.0.0* -> numpy 1.10.4 py34_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> numexpr 2.5 np110py34_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> numpy 1.10.4 py27_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> scikit-learn 0.17.1 np110py35_0 -> blas * mkl
  - anaconda 4.0|4.0.0* -> pytables 3.2.2 np110py27_2 -> numexpr 2.5* -> blas * mkl
  - anaconda 4.0|4.0.0* -> pytables 3.2.2 np110py34_2 -> numexpr 2.5* -> blas * mkl
  - anaconda 4.0|4.0.0* -> numexpr 2.5 np110py27_0 -> blas * mkl

You can search for this package on anaconda.org with:

anaconda search -t conda blas * mkl