{"action":"created","issue":{"url":"https://api.github.com/repos/bakwc/JamSpell/issues/55","repository_url":"https://api.github.com/repos/bakwc/JamSpell","labels_url":"https://api.github.com/repos/bakwc/JamSpell/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/bakwc/JamSpell/issues/55/comments","events_url":"https://api.github.com/repos/bakwc/JamSpell/issues/55/events","html_url":"https://github.com/bakwc/JamSpell/issues/55","id":362335375,"node_id":"MDU6SXNzdWUzNjIzMzUzNzU=","number":55,"title":"Unable to install in Mac","user":{"login":"HarshTrivedi","id":3285313,"node_id":"MDQ6VXNlcjMyODUzMTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3285313?v=4","gravatar_id":"","url":"https://api.github.com/users/HarshTrivedi","html_url":"https://github.com/HarshTrivedi","followers_url":"https://api.github.com/users/HarshTrivedi/followers","following_url":"https://api.github.com/users/HarshTrivedi/following{/other_user}","gists_url":"https://api.github.com/users/HarshTrivedi/gists{/gist_id}","starred_url":"https://api.github.com/users/HarshTrivedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarshTrivedi/subscriptions","organizations_url":"https://api.github.com/users/HarshTrivedi/orgs","repos_url":"https://api.github.com/users/HarshTrivedi/repos","events_url":"https://api.github.com/users/HarshTrivedi/events{/privacy}","received_events_url":"https://api.github.com/users/HarshTrivedi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-20T19:37:05Z","updated_at":"2018-09-23T20:52:59Z","closed_at":null,"author_association":"NONE","body":"After installing `swig`, I get following error on `pip install jamspell` in mac. On ubuntu system it worked though.\r\n\r\n```\r\nCollecting jamspell\r\n  Using cached https://files.pythonhosted.org/packages/5a/16/0a808e926a835604007066085cb2183b337694a06240a99945b31fa14f27/jamspell-0.0.11.tar.gz\r\nBuilding wheels for collected packages: jamspell\r\n  Running setup.py bdist_wheel for jamspell ... error\r\n  Complete output from command /Users/harshtrivedi/anaconda2/envs/allennlp051/bin/python -u -c \"import setuptools, tokenize;__file__='/private/var/folders/rf/trsjb3rx16df30mj3f4j_xxm0000gn/T/pip-install-n3pybnje/jamspell/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" bdist_wheel -d /private/var/folders/rf/trsjb3rx16df30mj3f4j_xxm0000gn/T/pip-wheel-2cy6892v --python-tag cp36:\r\n  running bdist_wheel\r\n  running build\r\n  running build_ext\r\n  building '_jamspell' extension\r\n  swigging jamspell.i to jamspell_wrap.cpp\r\n  /Users/harshtrivedi/anaconda2/envs/allennlp051/bin/swig -python -c++ -o jamspell_wrap.cpp jamspell.i\r\n  creating build\r\n  creating build/temp.macosx-10.7-x86_64-3.6\r\n  creating build/temp.macosx-10.7-x86_64-3.6/jamspell\r\n  creating build/temp.macosx-10.7-x86_64-3.6/contrib\r\n  creating build/temp.macosx-10.7-x86_64-3.6/contrib/cityhash\r\n  creating build/temp.macosx-10.7-x86_64-3.6/contrib/phf\r\n  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/harshtrivedi/anaconda2/envs/allennlp051/include -arch x86_64 -I/Users/harshtrivedi/anaconda2/envs/allennlp051/include -arch x86_64 -I. -Ijamspell -I/Users/harshtrivedi/anaconda2/envs/allennlp051/include/python3.6m -c jamspell/lang_model.cpp -o build/temp.macosx-10.7-x86_64-3.6/jamspell/lang_model.o -std=c++11 -O2\r\n  In file included from jamspell/lang_model.cpp:9:\r\n  jamspell/lang_model.hpp:3:10: fatal error: 'unordered_map' file not found\r\n  #include <unordered_map>\r\n           ^\r\n  1 error generated.\r\n  error: command 'gcc' failed with exit status 1\r\n\r\n  ----------------------------------------\r\n  Failed building wheel for jamspell\r\n  Running setup.py clean for jamspell\r\nFailed to build jamspell\r\nInstalling collected packages: jamspell\r\n  Running setup.py install for jamspell ... error\r\n    Complete output from command /Users/harshtrivedi/anaconda2/envs/allennlp051/bin/python -u -c \"import setuptools, tokenize;__file__='/private/var/folders/rf/trsjb3rx16df30mj3f4j_xxm0000gn/T/pip-install-n3pybnje/jamspell/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /private/var/folders/rf/trsjb3rx16df30mj3f4j_xxm0000gn/T/pip-record-evaofjjm/install-record.txt --single-version-externally-managed --compile:\r\n    running install\r\n    running build_ext\r\n    building '_jamspell' extension\r\n    swigging jamspell.i to jamspell_wrap.cpp\r\n    /Users/harshtrivedi/anaconda2/envs/allennlp051/bin/swig -python -c++ -o jamspell_wrap.cpp jamspell.i\r\n    creating build\r\n    creating build/temp.macosx-10.7-x86_64-3.6\r\n    creating build/temp.macosx-10.7-x86_64-3.6/jamspell\r\n    creating build/temp.macosx-10.7-x86_64-3.6/contrib\r\n    creating build/temp.macosx-10.7-x86_64-3.6/contrib/cityhash\r\n    creating build/temp.macosx-10.7-x86_64-3.6/contrib/phf\r\n    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/harshtrivedi/anaconda2/envs/allennlp051/include -arch x86_64 -I/Users/harshtrivedi/anaconda2/envs/allennlp051/include -arch x86_64 -I. -Ijamspell -I/Users/harshtrivedi/anaconda2/envs/allennlp051/include/python3.6m -c jamspell/lang_model.cpp -o build/temp.macosx-10.7-x86_64-3.6/jamspell/lang_model.o -std=c++11 -O2\r\n    In file included from jamspell/lang_model.cpp:9:\r\n    jamspell/lang_model.hpp:3:10: fatal error: 'unordered_map' file not found\r\n    #include <unordered_map>\r\n             ^\r\n    1 error generated.\r\n    error: command 'gcc' failed with exit status 1\r\n\r\n    ----------------------------------------\r\nCommand \"/Users/harshtrivedi/anaconda2/envs/allennlp051/bin/python -u -c \"import setuptools, tokenize;__file__='/private/var/folders/rf/trsjb3rx16df30mj3f4j_xxm0000gn/T/pip-install-n3pybnje/jamspell/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /private/var/folders/rf/trsjb3rx16df30mj3f4j_xxm0000gn/T/pip-record-evaofjjm/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /private/var/folders/rf/trsjb3rx16df30mj3f4j_xxm0000gn/T/pip-install-n3pybnje/jamspell/\r\n```\r\n\r\nAny suggestions?"},"comment":{"url":"https://api.github.com/repos/bakwc/JamSpell/issues/comments/423847060","html_url":"https://github.com/bakwc/JamSpell/issues/55#issuecomment-423847060","issue_url":"https://api.github.com/repos/bakwc/JamSpell/issues/55","id":423847060,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzg0NzA2MA==","user":{"login":"bakwc","id":1684011,"node_id":"MDQ6VXNlcjE2ODQwMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1684011?v=4","gravatar_id":"","url":"https://api.github.com/users/bakwc","html_url":"https://github.com/bakwc","followers_url":"https://api.github.com/users/bakwc/followers","following_url":"https://api.github.com/users/bakwc/following{/other_user}","gists_url":"https://api.github.com/users/bakwc/gists{/gist_id}","starred_url":"https://api.github.com/users/bakwc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakwc/subscriptions","organizations_url":"https://api.github.com/users/bakwc/orgs","repos_url":"https://api.github.com/users/bakwc/repos","events_url":"https://api.github.com/users/bakwc/events{/privacy}","received_events_url":"https://api.github.com/users/bakwc/received_events","type":"User","site_admin":false},"created_at":"2018-09-23T20:52:59Z","updated_at":"2018-09-23T20:52:59Z","author_association":"OWNER","body":"I made a possible fix. Please try to install, if ok I will merge it and release a version with fix.\r\n1) clone git repository\r\n2) checkout branch with fix: `git checkout tryFixMacInstall`\r\n3) install: `sudo python2.7 -m setup.py install` (where python2.7 - your python)"}}
{"actor":{"display_login":"bakwc"}}