Getting error on import graphlab

User 2485 | 3/11/2016, 8:27:00 PM

I ran the following before I started getting the following error - source activate dato-env pip install --upgrade --no-cache-dir https://get.dato.com/GraphLab-Create/1.8.4/email/license_key/GraphLab-Create-License.tar.gz

Launched using Anaconda Launcher's, ipython notebook


AttributeError Traceback (most recent call last) <ipython-input-8-a21b12965ef4> in <module>() 1 from future import division ----> 2 import graphlab 3 import math 4 import string

/Users/siddhartharai/anaconda/envs/dato-env/lib/python2.7/site-packages/graphlab/init.py in <module>() 42 from graphlab.util import setruntimeconfig 43 ---> 44 import graphlab.connect as _mt 45 import graphlab.connect.aws as aws 46 import visualization

AttributeError: 'module' object has no attribute 'connect'

Need to resolve for my coursera assignment, please help soon

Comments

User 2485 | 3/11/2016, 8:45:25 PM

also, the error i get is inconsistent

sometimes I get the folowing -


ImportError Traceback (most recent call last) <ipython-input-1-a21b12965ef4> in <module>() 1 from future import division ----> 2 import graphlab 3 import math 4 import string

/Users/siddhartharai/anaconda/envs/dato-env/lib/python2.7/site-packages/graphlab/init.pyc in <module>() 46 import visualization 47 ---> 48 from graphlab.datastructures.sgraph import Vertex, Edge 49 from graphlab.datastructures.sgraph import SGraph 50 from graphlab.data_structures.sarray import SArray

/Users/siddhartharai/anaconda/envs/dato-env/lib/python2.7/site-packages/graphlab/data_structures/init.py in <module>() 22 23 from . import image ---> 24 from . import sframe 25 from . import sarray 26 from . import sgraph

/Users/siddhartharai/anaconda/envs/dato-env/lib/python2.7/site-packages/graphlab/datastructures/sframe.py in <module>() 17 ''' 18 from .. import connect as mt ---> 19 from ..connect import main as glconnect 20 from ..cython.cyflexibletype import infertypeoflist 21 from ..cython.context import debugtrace as cython_context

/Users/siddhartharai/anaconda/envs/dato-env/lib/python2.7/site-packages/graphlab/connect/main.py in <module>() 24 # --------------------------------------------------------------------------- 25 ---> 26 from ..cython.cyunity import UnityGlobalProxy 27 from ..cython import cyipc 28 from ..cython.cy_server import EmbeddedServer

ImportError: dlopen(/Users/siddhartharai/anaconda/envs/dato-env/lib/python2.7/site-packages/graphlab/cython/cyunity.so, 2): no suitable image found. Did find: /Users/siddhartharai/anaconda/envs/dato-env/lib/python2.7/site-packages/graphlab/cython/cyunity.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00


User 954 | 3/11/2016, 8:59:11 PM

Hi, Please follow the instruction here: https://dato.com/download/install-graphlab-create-command-line.html

You need to provide your email address and your product key as part of the address: pip install --upgrade --no-cache-dir https://get.dato.com/GraphLab-Create/1.8.4/your registered email address here/your product key here/GraphLab-Create-License.tar.gz

Alternatively, you can install GraphLab Create through dato launcher: https://dato.com/download/install-graphlab-create.html