{"action":"created","issue":{"url":"https://api.github.com/repos/limix/bgen-reader-py/issues/11","repository_url":"https://api.github.com/repos/limix/bgen-reader-py","labels_url":"https://api.github.com/repos/limix/bgen-reader-py/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/limix/bgen-reader-py/issues/11/comments","events_url":"https://api.github.com/repos/limix/bgen-reader-py/issues/11/events","html_url":"https://github.com/limix/bgen-reader-py/issues/11","id":341462227,"node_id":"MDU6SXNzdWUzNDE0NjIyMjc=","number":11,"title":"Error when installing with pip","user":{"login":"dissectroslin","id":15655420,"node_id":"MDQ6VXNlcjE1NjU1NDIw","avatar_url":"https://avatars1.githubusercontent.com/u/15655420?v=4","gravatar_id":"","url":"https://api.github.com/users/dissectroslin","html_url":"https://github.com/dissectroslin","followers_url":"https://api.github.com/users/dissectroslin/followers","following_url":"https://api.github.com/users/dissectroslin/following{/other_user}","gists_url":"https://api.github.com/users/dissectroslin/gists{/gist_id}","starred_url":"https://api.github.com/users/dissectroslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dissectroslin/subscriptions","organizations_url":"https://api.github.com/users/dissectroslin/orgs","repos_url":"https://api.github.com/users/dissectroslin/repos","events_url":"https://api.github.com/users/dissectroslin/events{/privacy}","received_events_url":"https://api.github.com/users/dissectroslin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-16T10:20:02Z","updated_at":"2018-07-16T10:23:44Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI was trying to install bgen-reader using pip (pip install bgen-reader --user), but at some point, I receive the error:\r\n\r\nGNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/bgen_reader._ffi.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/bgen_reader._ffi.o\r\n    build/temp.linux-x86_64-2.7/bgen_reader._ffi.c:492:18: fatal error: bgen.h: No such file or directory\r\n     #include \"bgen.h\"\r\n                      ^\r\n    compilation terminated.\r\n    error: command 'gcc' failed with exit status 1\r\n    \r\n    ----------------------------------------\r\nCommand \"/usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-install-zqQ5TK/bgen-reader/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-record-YLS4PR/install-record.txt --single-version-externally-managed --compile --user --prefix=\" failed with error code 1 in /tmp/pip-install-zqQ5TK/bgen-reader/\r\n\r\nIs there any workaround for this?\r\n\r\nBest regards,"},"comment":{"url":"https://api.github.com/repos/limix/bgen-reader-py/issues/comments/405205201","html_url":"https://github.com/limix/bgen-reader-py/issues/11#issuecomment-405205201","issue_url":"https://api.github.com/repos/limix/bgen-reader-py/issues/11","id":405205201,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTIwNTIwMQ==","user":{"login":"horta","id":514522,"node_id":"MDQ6VXNlcjUxNDUyMg==","avatar_url":"https://avatars2.githubusercontent.com/u/514522?v=4","gravatar_id":"","url":"https://api.github.com/users/horta","html_url":"https://github.com/horta","followers_url":"https://api.github.com/users/horta/followers","following_url":"https://api.github.com/users/horta/following{/other_user}","gists_url":"https://api.github.com/users/horta/gists{/gist_id}","starred_url":"https://api.github.com/users/horta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horta/subscriptions","organizations_url":"https://api.github.com/users/horta/orgs","repos_url":"https://api.github.com/users/horta/repos","events_url":"https://api.github.com/users/horta/events{/privacy}","received_events_url":"https://api.github.com/users/horta/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T10:23:44Z","updated_at":"2018-07-16T10:23:44Z","author_association":"COLLABORATOR","body":"Hi @dissectroslin , I think you are using python 2.7, and therefore pip had to compile the source code instead of downloading the binary. I will have a quick look why I did not support python 2.7 in the first place."}}
{"actor":{"display_login":"horta"}}