{"action":"closed","issue":{"url":"https://api.github.com/repos/explosion/spaCy/issues/650","repository_url":"https://api.github.com/repos/explosion/spaCy","labels_url":"https://api.github.com/repos/explosion/spaCy/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/explosion/spaCy/issues/650/comments","events_url":"https://api.github.com/repos/explosion/spaCy/issues/650/events","html_url":"https://github.com/explosion/spaCy/issues/650","id":191026572,"number":650,"title":"pycharm fail on spacy.load('en') : module' object has no attribute 'load'","user":{"login":"ihabZhaika","id":17564219,"avatar_url":"https://avatars.githubusercontent.com/u/17564219?v=3","gravatar_id":"","url":"https://api.github.com/users/ihabZhaika","html_url":"https://github.com/ihabZhaika","followers_url":"https://api.github.com/users/ihabZhaika/followers","following_url":"https://api.github.com/users/ihabZhaika/following{/other_user}","gists_url":"https://api.github.com/users/ihabZhaika/gists{/gist_id}","starred_url":"https://api.github.com/users/ihabZhaika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihabZhaika/subscriptions","organizations_url":"https://api.github.com/users/ihabZhaika/orgs","repos_url":"https://api.github.com/users/ihabZhaika/repos","events_url":"https://api.github.com/users/ihabZhaika/events{/privacy}","received_events_url":"https://api.github.com/users/ihabZhaika/received_events","type":"User","site_admin":false},"labels":[{"id":312256136,"url":"https://api.github.com/repos/explosion/spaCy/labels/docs","name":"docs","color":"09A3D5","default":false},{"id":111380490,"url":"https://api.github.com/repos/explosion/spaCy/labels/usage","name":"usage","color":"09A3D5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T14:46:52Z","updated_at":"2016-11-23T11:01:46Z","closed_at":"2016-11-23T11:01:46Z","body":"HI,\r\ni download the library and installed the language pack , i tried to run the DEMO  app with ipython and no problem , but with pycharm i get an error\r\n\r\nTHE CODE :\r\n\r\n```\r\nimport spacy\r\nnlp = spacy.load('en')\r\ndoc = nlp(u'I like green eggs and ham.')\r\nfor np in doc.noun_chunks:\r\n    print(np.text, np.root.text, np.root.dep_, np.root.head.text)\r\n```\r\n\r\nTHE ERROR\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/ihab/PycharmProjects/nlp/spacy.py\", line 1, in <module>\r\n    import spacy\r\n  File \"/home/ihab/PycharmProjects/nlp/spacy.py\", line 2, in <module>\r\n    nlp = spacy.load('en')\r\nAttributeError: 'module' object has no attribute 'load'\r\n\r\n```\r\n\r\n##  Environment\r\n* **Operating System:** \r\nubuntu 16.04\r\n* **Python Version Used:** \r\nPython 2.7.12+\r\n* **spaCy Version Used:** \r\n1.2.0\r\n"}}
{"actor":{"display_login":"honnibal"}}