GraphLab创建安装错误:找不到针对graphlab-create> = 2.1的匹配发行版

时间:2018-07-28 16:46:51

标签: python-3.x virtualenv graphlab windows64

无法通过邮件中的链接安装Graphlab create。 面临以下问题。有人可以在以下问题上提供帮助吗?

(env) C:\Windows\system32>pip install --upgrade --no-cache-dir https://get.graphlab.com/GraphLab-Create/2.1/sinha.dibyojyoti@gmail.com/xxxxxxx/GraphLab-Create-License.tar.gz

Collecting https://get.graphlab.com/GraphLab-Create/2.1/sinha.dibyojyoti@gmail.com/xxxxx/GraphLab-Create-License.tar.gz
Downloading https://get.graphlab.com/GraphLab-Create/2.1/sinha.dibyojyoti@gmail.com/xxxxx/GraphLab-Create-License.tar.gz
Collecting graphlab-create>=2.1 (from GraphLab-Create-License==2.1)
Could not find a version that satisfies the requirement graphlab-create>=2.1 
(from GraphLab-Create-License==2.1) (from versions: )

No matching distribution found for graphlab-create>=2.1 (from GraphLab-Create-License==2.1)

2 个答案:

答案 0 :(得分:1)

问题是您试图在 Python 3 环境而不是 Python 2 环境中安装GraphLab Create。请参考此链接-> https://turi.com/download/install-graphlab-create-command-line.html,并仔细阅读option2中提到的安装过程。

我发现安装GraphLab Create的最佳方法是使用 virtualenv 创建 python 2虚拟环境 ,然后通过点安装

注意:出于谨慎起见,我不会公开发布产品许可证密钥。

答案 1 :(得分:0)

我解决了问题。在conda终端上,使用conda create -n gl-env python = 2.7命令创建一个虚拟环境。请确保最后添加python = 2.7。然后将典型的graphlab create命令与您的电子邮件和产品密钥一起使用。

注意:这是版本兼容性问题。