问题
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.
- First, you need to open your anaconda navigator.
Then Go to the Environment tab.
Click create option
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)
When your environment ready you can open it with the terminal as follows.
- In command prompt type
conda update pip
to ensure pip is updated to the latest version - 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
- 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