{
  "id": 16300,
  "title": "Error in Importing graphlab",
  "url": "/competitions/dato-native/discussion/16300",
  "author_name": "",
  "post_date": "2015-09-03T02:20:55.500Z",
  "votes": null,
  "comment_count": 12,
  "views": 11370,
  "content": "<p>I have installed graphlab using anaconda as per the given instructions and it went pretty smooth but when I try to import it in iPython notebook it gives me below - </p>\n\n<p>import graphlab as gl</p>\n\n<p>ImportError                               Traceback (most recent call last)\n in ()\n----&gt; 1 import graphlab as gl</p>\n\n<p>ImportError: No module named graphlab</p>\n\n<p>Anyone else faced this any idea how to resolve this? I am using windows python.</p>",
  "messages": [
    {
      "id": "91430",
      "postDate": "09/03/2015 02:20:55",
      "content": "<p>I have installed graphlab using anaconda as per the given instructions and it went pretty smooth but when I try to import it in iPython notebook it gives me below - </p>\n\n<p>import graphlab as gl</p>\n\n<p>ImportError                               Traceback (most recent call last)\n in ()\n----&gt; 1 import graphlab as gl</p>\n\n<p>ImportError: No module named graphlab</p>\n\n<p>Anyone else faced this any idea how to resolve this? I am using windows python.</p>",
      "rawMarkdown": "I have installed graphlab using anaconda as per the given instructions and it went pretty smooth but when I try to import it in iPython notebook it gives me below - \r\n\r\nimport graphlab as gl\r\n\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-7-4a710214f762> in <module>()\r\n----> 1 import graphlab as gl\r\n\r\nImportError: No module named graphlab\r\n\r\nAnyone else faced this any idea how to resolve this? I am using windows python.",
      "votes": null
    },
    {
      "id": "91484",
      "postDate": "09/03/2015 13:47:08",
      "content": "<p>Did you try:</p>\n\n<p>activate dato-env</p>\n\n<p>before doing anything else (like starting ipython notebook) ?</p>\n\n<p>Just had the same problem....</p>",
      "rawMarkdown": "Did you try:\r\n\r\nactivate dato-env\r\n\r\nbefore doing anything else (like starting ipython notebook) ?\r\n\r\nJust had the same problem....",
      "votes": null
    },
    {
      "id": "91485",
      "postDate": "09/03/2015 14:04:30",
      "content": "<p>I have run the command activate &quot;dato-env&quot; on anaconda prompt. After that i opened ipython notebook. It did not help. Did you also face the same problem. Any idea how o resolve it.</p>",
      "rawMarkdown": "I have run the command activate \"dato-env\" on anaconda prompt. After that i opened ipython notebook. It did not help. Did you also face the same problem. Any idea how o resolve it.",
      "votes": null
    },
    {
      "id": "91496",
      "postDate": "09/03/2015 15:23:10",
      "content": "<p>Did you create the dato-env environment and install GraphLab there, as indicated in the instructions (I followed those for Windows) ?</p>\n\n<p>Looking on my drive, I have a folder &quot;C:\\Anaconda\\envs\\dato-env&quot; with inside that folder a complete python 2.7 installation, including the GraphLab libs etc.</p>\n\n<p>I use &quot;activate dato-env&quot; not on the anaconda prompt, but directly in the DOS box I open to launch my iPython notebook.</p>\n\n<p>So I first open a DOS window, then change directory to where my notebooks / datafiles are, then I do:</p>\n\n<p>activate dato-env</p>\n\n<p>ipython notebook</p>\n\n<p>Please have a look at the attached screenshot...</p>",
      "rawMarkdown": "Did you create the dato-env environment and install GraphLab there, as indicated in the instructions (I followed those for Windows) ?\r\n\r\nLooking on my drive, I have a folder \"C:\\Anaconda\\envs\\dato-env\" with inside that folder a complete python 2.7 installation, including the GraphLab libs etc.\r\n\r\nI use \"activate dato-env\" not on the anaconda prompt, but directly in the DOS box I open to launch my iPython notebook.\r\n\r\nSo I first open a DOS window, then change directory to where my notebooks / datafiles are, then I do:\r\n\r\nactivate dato-env\r\n\r\nipython notebook\r\n\r\nPlease have a look at the attached screenshot...",
      "votes": null
    },
    {
      "id": "91549",
      "postDate": "09/04/2015 05:44:00",
      "content": "<p>insad,\nThanks for your response. Everything is same as described by you. Please see screenshots. Only thing is import graphlab is not working for me.</p>",
      "rawMarkdown": "insad,\r\nThanks for your response. Everything is same as described by you. Please see screenshots. Only thing is import graphlab is not working for me.",
      "votes": null
    },
    {
      "id": "91687",
      "postDate": "09/06/2015 06:45:16",
      "content": "<p>@insad,\nThank you for helping me out, I had the same problem, but following your instructions I resolved it. graphlab is now up and running! The only issue is I have to follow the same routine every time I start graphlab! </p>",
      "rawMarkdown": "insad,\r\nThank you for helping me out, I had the same problem, but following your instructions I resolved it. graphlab is now up and running! The only issue is I have to follow the same routine every time I start graphlab!",
      "votes": null
    },
    {
      "id": "91973",
      "postDate": "09/10/2015 01:03:11",
      "content": "<p>However now I am facing the below issue while running the benchmark script. I have installed cssutils stills it is showing the error</p>\n\n<p>ImportError: No module named cssutils</p>\n\n<p>Any help?</p>",
      "rawMarkdown": "However now I am facing the below issue while running the benchmark script. I have installed cssutils stills it is showing the error\r\n\r\nImportError: No module named cssutils\r\n\r\nAny help?",
      "votes": null
    },
    {
      "id": "101857",
      "postDate": "12/17/2015 14:33:38",
      "content": "<p>After being hit with same issue here is what I understood and worked for me\ncommands 'activate dato-env'  and  'ipython notebook' in same terminal window</p>",
      "rawMarkdown": "After being hit with same issue here is what I understood and worked for me\r\ncommands 'activate dato-env'  and  'ipython notebook' in same terminal window",
      "votes": null
    },
    {
      "id": "116332",
      "postDate": "04/23/2016 10:20:20",
      "content": "<p>@Vikrant Kumar how did you manage to solve your issue if you did currently stuck with the same</p>",
      "rawMarkdown": "Vikrant Kumar how did you manage to solve your issue if you did currently stuck with the same",
      "votes": null
    },
    {
      "id": "119838",
      "postDate": "05/13/2016 02:07:58",
      "content": "<p>@Tinashe Jambo What worked for me is installing ipython notebook again after activating dato-env. Try these commands in that order and it might work for you as it did for me.</p>\n\n<p>activate dato-env\nconda install ipython-notebook\nipython-notebook</p>\n\n<p>Now you should be able to use graphlab package. After the first time, you just need to use commands 1 and 3 of course.</p>",
      "rawMarkdown": "Tinashe Jambo What worked for me is installing ipython notebook again after activating dato-env. Try these commands in that order and it might work for you as it did for me.\r\n\r\nactivate dato-env\r\nconda install ipython-notebook\r\nipython-notebook\r\n\r\nNow you should be able to use graphlab package. After the first time, you just need to use commands 1 and 3 of course.",
      "votes": null
    },
    {
      "id": "153164",
      "postDate": "12/30/2016 06:44:59",
      "content": "<p>I  have installed graphlab on my system and the required dependencies. But, when I import it, it is giving me an error saying no module named cy_unity. Could you help me out with this?</p>",
      "rawMarkdown": "I  have installed graphlab on my system and the required dependencies. But, when I import it, it is giving me an error saying no module named cy_unity. Could you help me out with this?",
      "votes": null
    },
    {
      "id": "170121",
      "postDate": "03/24/2017 06:09:39",
      "content": "<p>I tried to run it after following all the instructions but unable to do so. Here is the image of the installed file. Please let me know what I am doing wrong.. although it is working in the console but not in the jupyter notebook.</p>",
      "rawMarkdown": "I tried to run it after following all the instructions but unable to do so. Here is the image of the installed file. Please let me know what I am doing wrong.. although it is working in the console but not in the jupyter notebook.",
      "votes": null
    },
    {
      "id": "884437",
      "postDate": "06/13/2020 11:27:56",
      "content": "<p><a href=\"/vikrant24\">@vikrant24</a>  I've installed everything correctly .\n- But I'm still getting this error\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F5122803%2Fe5ea7a6fb3225e71cd3fb8662732805e%2Ferror.png?generation=1592047547149378&amp;alt=media\" alt=\"\">\nCan anyone help me with this 😣</p>",
      "rawMarkdown": "vikrant24  I've installed everything correctly .\n- But I'm still getting this error\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F5122803%2Fe5ea7a6fb3225e71cd3fb8662732805e%2Ferror.png?generation=1592047547149378&amp;alt=media)\nCan anyone help me with this 😣",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 91484,
      "author_name": "insad0",
      "author_url": "",
      "post_date": "09/03/2015 13:47:08",
      "content": "<p>Did you try:</p>\n\n<p>activate dato-env</p>\n\n<p>before doing anything else (like starting ipython notebook) ?</p>\n\n<p>Just had the same problem....</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 91485,
      "author_name": "vikrant24",
      "author_url": "",
      "post_date": "09/03/2015 14:04:30",
      "content": "<p>I have run the command activate &quot;dato-env&quot; on anaconda prompt. After that i opened ipython notebook. It did not help. Did you also face the same problem. Any idea how o resolve it.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 91496,
      "author_name": "insad0",
      "author_url": "",
      "post_date": "09/03/2015 15:23:10",
      "content": "<p>Did you create the dato-env environment and install GraphLab there, as indicated in the instructions (I followed those for Windows) ?</p>\n\n<p>Looking on my drive, I have a folder &quot;C:\\Anaconda\\envs\\dato-env&quot; with inside that folder a complete python 2.7 installation, including the GraphLab libs etc.</p>\n\n<p>I use &quot;activate dato-env&quot; not on the anaconda prompt, but directly in the DOS box I open to launch my iPython notebook.</p>\n\n<p>So I first open a DOS window, then change directory to where my notebooks / datafiles are, then I do:</p>\n\n<p>activate dato-env</p>\n\n<p>ipython notebook</p>\n\n<p>Please have a look at the attached screenshot...</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 91549,
      "author_name": "vikrant24",
      "author_url": "",
      "post_date": "09/04/2015 05:44:00",
      "content": "<p>insad,\nThanks for your response. Everything is same as described by you. Please see screenshots. Only thing is import graphlab is not working for me.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 91687,
      "author_name": "athinaeos",
      "author_url": "",
      "post_date": "09/06/2015 06:45:16",
      "content": "<p>@insad,\nThank you for helping me out, I had the same problem, but following your instructions I resolved it. graphlab is now up and running! The only issue is I have to follow the same routine every time I start graphlab! </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 91973,
      "author_name": "vikrant24",
      "author_url": "",
      "post_date": "09/10/2015 01:03:11",
      "content": "<p>However now I am facing the below issue while running the benchmark script. I have installed cssutils stills it is showing the error</p>\n\n<p>ImportError: No module named cssutils</p>\n\n<p>Any help?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 101857,
      "author_name": "priyankymukerjee",
      "author_url": "",
      "post_date": "12/17/2015 14:33:38",
      "content": "<p>After being hit with same issue here is what I understood and worked for me\ncommands 'activate dato-env'  and  'ipython notebook' in same terminal window</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 116332,
      "author_name": "jambotinase",
      "author_url": "",
      "post_date": "04/23/2016 10:20:20",
      "content": "<p>@Vikrant Kumar how did you manage to solve your issue if you did currently stuck with the same</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 119838,
      "author_name": "prasanthkoganti",
      "author_url": "",
      "post_date": "05/13/2016 02:07:58",
      "content": "<p>@Tinashe Jambo What worked for me is installing ipython notebook again after activating dato-env. Try these commands in that order and it might work for you as it did for me.</p>\n\n<p>activate dato-env\nconda install ipython-notebook\nipython-notebook</p>\n\n<p>Now you should be able to use graphlab package. After the first time, you just need to use commands 1 and 3 of course.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 153164,
      "author_name": "jasikasingh",
      "author_url": "",
      "post_date": "12/30/2016 06:44:59",
      "content": "<p>I  have installed graphlab on my system and the required dependencies. But, when I import it, it is giving me an error saying no module named cy_unity. Could you help me out with this?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 170121,
      "author_name": "sarveshsingh8",
      "author_url": "",
      "post_date": "03/24/2017 06:09:39",
      "content": "<p>I tried to run it after following all the instructions but unable to do so. Here is the image of the installed file. Please let me know what I am doing wrong.. although it is working in the console but not in the jupyter notebook.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 884437,
      "author_name": "shiva00",
      "author_url": "",
      "post_date": "06/13/2020 11:27:56",
      "content": "<p><a href=\"/vikrant24\">@vikrant24</a>  I've installed everything correctly .\n- But I'm still getting this error\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F5122803%2Fe5ea7a6fb3225e71cd3fb8662732805e%2Ferror.png?generation=1592047547149378&amp;alt=media\" alt=\"\">\nCan anyone help me with this 😣</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "91430": "I have installed graphlab using anaconda as per the given instructions and it went pretty smooth but when I try to import it in iPython notebook it gives me below - \r\n\r\nimport graphlab as gl\r\n\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-7-4a710214f762> in <module>()\r\n----> 1 import graphlab as gl\r\n\r\nImportError: No module named graphlab\r\n\r\nAnyone else faced this any idea how to resolve this? I am using windows python.",
    "91484": "Did you try:\r\n\r\nactivate dato-env\r\n\r\nbefore doing anything else (like starting ipython notebook) ?\r\n\r\nJust had the same problem....",
    "91485": "I have run the command activate \"dato-env\" on anaconda prompt. After that i opened ipython notebook. It did not help. Did you also face the same problem. Any idea how o resolve it.",
    "91496": "Did you create the dato-env environment and install GraphLab there, as indicated in the instructions (I followed those for Windows) ?\r\n\r\nLooking on my drive, I have a folder \"C:\\Anaconda\\envs\\dato-env\" with inside that folder a complete python 2.7 installation, including the GraphLab libs etc.\r\n\r\nI use \"activate dato-env\" not on the anaconda prompt, but directly in the DOS box I open to launch my iPython notebook.\r\n\r\nSo I first open a DOS window, then change directory to where my notebooks / datafiles are, then I do:\r\n\r\nactivate dato-env\r\n\r\nipython notebook\r\n\r\nPlease have a look at the attached screenshot...",
    "91549": "insad,\r\nThanks for your response. Everything is same as described by you. Please see screenshots. Only thing is import graphlab is not working for me.",
    "91687": "insad,\r\nThank you for helping me out, I had the same problem, but following your instructions I resolved it. graphlab is now up and running! The only issue is I have to follow the same routine every time I start graphlab!",
    "91973": "However now I am facing the below issue while running the benchmark script. I have installed cssutils stills it is showing the error\r\n\r\nImportError: No module named cssutils\r\n\r\nAny help?",
    "101857": "After being hit with same issue here is what I understood and worked for me\r\ncommands 'activate dato-env'  and  'ipython notebook' in same terminal window",
    "116332": "Vikrant Kumar how did you manage to solve your issue if you did currently stuck with the same",
    "119838": "Tinashe Jambo What worked for me is installing ipython notebook again after activating dato-env. Try these commands in that order and it might work for you as it did for me.\r\n\r\nactivate dato-env\r\nconda install ipython-notebook\r\nipython-notebook\r\n\r\nNow you should be able to use graphlab package. After the first time, you just need to use commands 1 and 3 of course.",
    "153164": "I  have installed graphlab on my system and the required dependencies. But, when I import it, it is giving me an error saying no module named cy_unity. Could you help me out with this?",
    "170121": "I tried to run it after following all the instructions but unable to do so. Here is the image of the installed file. Please let me know what I am doing wrong.. although it is working in the console but not in the jupyter notebook.",
    "884437": "vikrant24  I've installed everything correctly .\n- But I'm still getting this error\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F5122803%2Fe5ea7a6fb3225e71cd3fb8662732805e%2Ferror.png?generation=1592047547149378&amp;alt=media)\nCan anyone help me with this 😣"
  },
  "source": "meta"
}