{"action":"created","issue":{"url":"https://api.github.com/repos/konlpy/konlpy/issues/47","repository_url":"https://api.github.com/repos/konlpy/konlpy","labels_url":"https://api.github.com/repos/konlpy/konlpy/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/konlpy/konlpy/issues/47/comments","events_url":"https://api.github.com/repos/konlpy/konlpy/issues/47/events","html_url":"https://github.com/konlpy/konlpy/issues/47","id":58838810,"number":47,"title":"Mecab설치할때,  Python.h: No such file or directory 에러.","user":{"login":"stray-leone","id":5601181,"avatar_url":"https://avatars.githubusercontent.com/u/5601181?v=3","gravatar_id":"","url":"https://api.github.com/users/stray-leone","html_url":"https://github.com/stray-leone","followers_url":"https://api.github.com/users/stray-leone/followers","following_url":"https://api.github.com/users/stray-leone/following{/other_user}","gists_url":"https://api.github.com/users/stray-leone/gists{/gist_id}","starred_url":"https://api.github.com/users/stray-leone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stray-leone/subscriptions","organizations_url":"https://api.github.com/users/stray-leone/orgs","repos_url":"https://api.github.com/users/stray-leone/repos","events_url":"https://api.github.com/users/stray-leone/events{/privacy}","received_events_url":"https://api.github.com/users/stray-leone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/konlpy/konlpy/labels/linux","name":"linux","color":"5319e7"},{"url":"https://api.github.com/repos/konlpy/konlpy/labels/mecab","name":"mecab","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-25T02:04:56Z","updated_at":"2016-03-15T10:25:14Z","closed_at":"2015-02-25T02:06:30Z","body":"### Environment\r\n * ubuntu 14.04 64bit\r\n * python 2.7.6 \r\n\r\n* python-dev도 설치하고, Python.h도 아래처럼 있는데,\r\n```bash\r\nusr/include/python2.7@strawberry(2375)$ ll Py*\r\n-rw-r--r-- 1 root root 21113  3월 23  2014 Python-ast.h\r\n-rw-r--r-- 1 root root  4329  3월 23  2014 Python.h\r\n/usr/include/python2.7@strawberry(2376)$ pwd\r\n/usr/include/python2.7\r\n\r\n```\r\n * mecab를 install하면 error가 나네요\r\n```bash\r\n~/work/Kaist-nlp-kimhyunho/workshop/wsd/wikipedia_data@strawberry(2263)$ bash <(curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh)\r\nInstalling MeCab-ko\r\n--2015-02-25 10:55:50--  https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.1.tar.gz\r\n\r\n......................................\r\n\r\nrunning build_ext\r\nbuilding '_MeCab' extension\r\nx86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/include -I/usr/include/python3.4m -c M\r\neCab_wrap.cxx -o build/temp.linux-x86_64-3.4/MeCab_wrap.o\r\ncc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]\r\nMeCab_wrap.cxx:154:21: fatal error: Python.h: No such file or directory\r\n # include <Python.h>\r\n                     ^\r\ncompilation terminated.\r\nerror: command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\n```"},"comment":{"url":"https://api.github.com/repos/konlpy/konlpy/issues/comments/196756810","html_url":"https://github.com/konlpy/konlpy/issues/47#issuecomment-196756810","issue_url":"https://api.github.com/repos/konlpy/konlpy/issues/47","id":196756810,"user":{"login":"shaynekang","id":528040,"avatar_url":"https://avatars.githubusercontent.com/u/528040?v=3","gravatar_id":"","url":"https://api.github.com/users/shaynekang","html_url":"https://github.com/shaynekang","followers_url":"https://api.github.com/users/shaynekang/followers","following_url":"https://api.github.com/users/shaynekang/following{/other_user}","gists_url":"https://api.github.com/users/shaynekang/gists{/gist_id}","starred_url":"https://api.github.com/users/shaynekang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaynekang/subscriptions","organizations_url":"https://api.github.com/users/shaynekang/orgs","repos_url":"https://api.github.com/users/shaynekang/repos","events_url":"https://api.github.com/users/shaynekang/events{/privacy}","received_events_url":"https://api.github.com/users/shaynekang/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T10:25:14Z","updated_at":"2016-03-15T10:25:14Z","body":"저는 ```sudo apt-get install python3-dev```를 안 해서 생기는 문제였네요. \r\n\r\n  * Ubuntu 14.04\r\n  * Python 3.5.1 :: Anaconda 2.5.0 (64-bit)\r\n\r\n에서 일어났습니다~\r\n"}}