简体   繁体   English

GraphLab创建安装错误-Python 3.5.2

[英]GraphLab Create Installation Error - Python 3.5.2

在此处输入图片说明 I have been trying to install GraphLab Create on my system (64bit, Windows 10). 我一直试图在我的系统(64位,Windows 10)上安装GraphLab Create。
I used the Installation guide as given on the site https://turi.com/download/install-graphlab-create-command-line.html 我使用了网站https://turi.com/download/install-graphlab-create-command-line.html上提供的安装指南
I used the command line since I already had Anaconda3 installed in my system. 我使用了命令行,因为我已经在系统中安装了Anaconda3。
I tried the Method - 1 but it didn't work because I'm not using Python2.7, but Python3.5.2, so, I tried Method - 2 by using Virtual Environment. 我尝试了方法-1,但由于我没有使用Python2.7,而是Python3.5.2而无法使用,因此,我使用虚拟环境尝试了方法-2。
I am getting a Syntax error when I try the command: 尝试执行命令时出现语法错误:

virtualenv gl-env

I have already installed Virtual Environment through pip so this should not happen, right ? 我已经通过pip安装了虚拟环境,所以应该不会发生,对吧?
Please help me out on what could possibly be wrong. 请帮助我解决可能出错的地方。

From the installation instructions page : 从安装说明页面

GraphLab Create installation requires a Python 2.7.x environment and pip version >= 7 GraphLab Create安装需要Python 2.7.x环境和pip版本> = 7

You have to install GraphLab in a Python 2.7 environment, and not in a Python 3 one. 必须在python 2.7环境中安装GraphLab,而不是在Python 3环境中安装。
Thus, install python2 first and then follow the rest of the instructions: 因此,请先安装python2,然后按照其余说明进行操作:
conda create -n gl-env python=2.7 anaconda=4.0.0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM