Error when importing Graphlab

User 878 | 10/23/2014, 4:43:05 AM

I am getting following error when importing graphlab. My instance was 2.6 earlier and I updated it to 2.7 in order to use grphlab. It installed without error but I am getting this error when importing !!

import graphlab as gl File "/home/ec2-user/graphlab/lib/python2.7/site-packages/graphlab/", line 7, in <module> import as aws File "/home/ec2-user/graphlab/lib/python2.7/site-packages/graphlab/connect/", line 7, in <module> from graphlabutil.config import DEFAULTCONFIG as defaultlocalconf File "/home/ec2-user/graphlab/lib/python2.7/site-packages/graphlabutil/", line 12, in <module> logging.config.dictConfig({ AttributeError: 'module' object has no attribute 'dictConfig'


User 15 | 10/23/2014, 5:29:45 PM

This error occurs when GraphLab Create is trying to use Python 2.6. Installing 2 python versions can be very tricky, and it is common for this to happen. For instance, there is a separate 'easy_install', 'pip', and 'virtualenv' for each Python version. You need to make sure you used the 2.7 version of each of these utilities at every step of installing GraphLab Create. Using virtualenv is extremely important when you have 2 python versions installed on your system. Also, NEVER try to change the default system python to a different version, as this will often break many crucial OS utilities.

Here is a guide I've often used to install Python 2.7 on a machine that comes with 2.6:

This guide is also pretty helpful, though I would rely on the first link:

User 972 | 11/22/2014, 4:19:58 PM

Hi I have the same problem. and there is no problem related to two python versions. Because I have just one python 2.7. Please guide me what is the problem? How I can solve it?