GraphLab installation when Python 2.7 is no longer supported

蓝咒 提交于 2020-06-27 16:59:46

问题


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 ?


回答1:


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.

  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)

  5. When your environment ready you can open it with the terminal as follows.

  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!




回答2:


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


来源:https://stackoverflow.com/questions/61720574/graphlab-installation-when-python-2-7-is-no-longer-supported

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!