win10下GraphLab的安装时如何解决报错

1.激活环境

C:\Users\lxl>activate base

2.注册

首先进入官网在GraphLab create中按照要求进行注册,注册成功后,会得到以下图片
win10下GraphLab的安装时如何解决报错_第1张图片
注册成功之后会显示注册成功的邮箱和产品密钥,保存好

3.开始安装graphlab

pip install -i https://pypi.douban.com/simple/ --upgrade --no-cache-dir https://get.graphlab.com/GraphLab-Create/2.1/注册使用的邮箱/注册时给的产品密钥/GraphLab-Create-License.tar.gz

4.出现报错,如图

报错
内容提示为:ERROR: Cannot uninstall ‘certifi’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

5.解决方法

5.1 在conda list查看此时gl-env的pip版本:

在这里插入图片描述

5.2 将pip版本10.0,修改为9

依旧使用豆瓣源安装:
pip install -i https://pypi.douban.com/simple/ --user pip==9.0.1
安装后截图:
win10下GraphLab的安装时如何解决报错_第2张图片

5.3再次重新安装graphlab

代码:pip install -i https://pypi.douban.com/simple/ --upgrade --no-cache-dir https://get.graphlab.com/GraphLab-Create/2.1/注册使用的邮箱/注册时给的产品密钥/GraphLab-Create-License.tar.gz
截图:安装成功
win10下GraphLab的安装时如何解决报错_第3张图片

你可能感兴趣的:(win10下GraphLab的安装时如何解决报错)