[英]GraphLab installation when Python 2.7 is no longer supported
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?我需要在 jupyter notebook 中安装 GraphLab 来做一个 coursera 项目,但我发现的所有说明和我在 stackoverflow 中的研究表明它需要 python-2.x 或者现在不再支持 python-2.7 那么我该怎么办?
I faced the same issue.我遇到了同样的问题。 This is how I solved it.这就是我解决它的方法。 I hope it'll help you too.我希望它也能帮助你。
Click create option点击创建选项
Then provide a name for your environment and choose the appropriate python version.然后为您的环境提供一个名称并选择适当的 python 版本。 (GraphLab Create installation requires a Python 2.7.x environment and pip version >= 7) (GraphLab Create 安装需要 Python 2.7.x 环境和 pip 版本 >= 7)
When your environment ready you can open it with the terminal as follows.准备好环境后,您可以使用终端打开它,如下所示。
conda update pip
to ensure pip is updated to the latest version在命令提示符下键入conda update pip
以确保 pip 更新到最新版本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
现在运行此命令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
conda install ipython-notebook
安装或更新 IPython 和 IPython Notebook conda install ipython-notebook
I hope it will help you.我希望它会帮助你。 Thanks!谢谢!
Step 4. Creating conda env is taking a long time and seems not working.第 4 步。创建 conda env 需要很长时间,而且似乎不起作用。 The following is the error in conda prompt:以下是conda提示中的错误:
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.org 上搜索此 package:
anaconda search -t conda blas * mkl
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.