{"action":"created","issue":{"url":"https://api.github.com/repos/explosion/spaCy/issues/2015","repository_url":"https://api.github.com/repos/explosion/spaCy","labels_url":"https://api.github.com/repos/explosion/spaCy/issues/2015/labels{/name}","comments_url":"https://api.github.com/repos/explosion/spaCy/issues/2015/comments","events_url":"https://api.github.com/repos/explosion/spaCy/issues/2015/events","html_url":"https://github.com/explosion/spaCy/issues/2015","id":299301418,"number":2015,"title":"Issue in loading 'en_core_web_sm', getting **AttributeError: 'module' object has no attribute 'unpack'**","user":{"login":"Devadath","id":9653006,"avatar_url":"https://avatars1.githubusercontent.com/u/9653006?v=4","gravatar_id":"","url":"https://api.github.com/users/Devadath","html_url":"https://github.com/Devadath","followers_url":"https://api.github.com/users/Devadath/followers","following_url":"https://api.github.com/users/Devadath/following{/other_user}","gists_url":"https://api.github.com/users/Devadath/gists{/gist_id}","starred_url":"https://api.github.com/users/Devadath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Devadath/subscriptions","organizations_url":"https://api.github.com/users/Devadath/orgs","repos_url":"https://api.github.com/users/Devadath/repos","events_url":"https://api.github.com/users/Devadath/events{/privacy}","received_events_url":"https://api.github.com/users/Devadath/received_events","type":"User","site_admin":false},"labels":[{"id":621625469,"url":"https://api.github.com/repos/explosion/spaCy/labels/third-party","name":"third-party","color":"f6f6f6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-02-22T10:36:52Z","updated_at":"2018-02-22T12:05:11Z","closed_at":null,"author_association":"NONE","body":"**System details**\r\nOS name:         Linux\r\nOS architecture: amd64\r\nOS version:      4.4.0-112-generic\r\n\r\n**Error**\r\nPython 2.7.12 (default, Nov 20 2017, 18:23:56) \r\n[GCC 5.4.0 20160609] on linux2\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import spacy\r\n>>> **nlp = spacy.load('en_core_web_sm')**\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/__init__.py\", line 19, in load\r\n    return util.load_model(name, **overrides)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 115, in load_model\r\n    return load_model_from_package(name, **overrides)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 138, in load_model_from_package\r\n    return cls.load(**overrides)\r\n  File \"/usr/local/lib/python2.7/dist-packages/en_core_web_sm/__init__.py\", line 12, in load\r\n    return load_model_from_init_py(__file__, **overrides)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 177, in load_model_from_init_py\r\n    return load_model_from_path(data_path, meta, **overrides)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 159, in load_model_from_path\r\n    return nlp.from_disk(model_path)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/language.py\", line 638, in from_disk\r\n    util.from_disk(path, deserializers, exclude)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 522, in from_disk\r\n    reader(path / key)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/language.py\", line 625, in <lambda>\r\n    ('vocab', lambda p: self.vocab.from_disk(p)),\r\n  File \"vocab.pyx\", line 383, in spacy.vocab.Vocab.from_disk\r\n  File \"vectors.pyx\", line 372, in spacy.vectors.Vectors.from_disk\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 522, in from_disk\r\n    reader(path / key)\r\n  File \"vectors.pyx\", line 350, in spacy.vectors.Vectors.from_disk.load_key2row\r\n  File \"vectors.pyx\", line 351, in spacy.vectors.Vectors.from_disk.load_key2row\r\n  File \"/home/dheeyantra/.local/lib/python2.7/site-packages/msgpack_numpy.py\", line 184, in unpack\r\n    return _unpacker.unpack(stream, **kwargs)\r\n**AttributeError: 'module' object has no attribute 'unpack'**\r\n"},"comment":{"url":"https://api.github.com/repos/explosion/spaCy/issues/comments/367660534","html_url":"https://github.com/explosion/spaCy/issues/2015#issuecomment-367660534","issue_url":"https://api.github.com/repos/explosion/spaCy/issues/2015","id":367660534,"user":{"login":"Devadath","id":9653006,"avatar_url":"https://avatars1.githubusercontent.com/u/9653006?v=4","gravatar_id":"","url":"https://api.github.com/users/Devadath","html_url":"https://github.com/Devadath","followers_url":"https://api.github.com/users/Devadath/followers","following_url":"https://api.github.com/users/Devadath/following{/other_user}","gists_url":"https://api.github.com/users/Devadath/gists{/gist_id}","starred_url":"https://api.github.com/users/Devadath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Devadath/subscriptions","organizations_url":"https://api.github.com/users/Devadath/orgs","repos_url":"https://api.github.com/users/Devadath/repos","events_url":"https://api.github.com/users/Devadath/events{/privacy}","received_events_url":"https://api.github.com/users/Devadath/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T12:05:11Z","updated_at":"2018-02-22T12:05:11Z","author_association":"NONE","body":"Thanks @lahloug  your solution is working. @ines Thanks for quick response and hope you will be doing a permanent fix."}}
{"actor":{"display_login":"Devadath"}}