{"action":"created","issue":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/808","repository_url":"https://api.github.com/repos/MDAnalysis/mdanalysis","labels_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/808/labels{/name}","comments_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/808/comments","events_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/808/events","html_url":"https://github.com/MDAnalysis/mdanalysis/issues/808","id":144188203,"number":808,"title":"pip Installation does not work for a python 3 user","user":{"login":"jdetle","id":10944582,"avatar_url":"https://avatars.githubusercontent.com/u/10944582?v=3","gravatar_id":"","url":"https://api.github.com/users/jdetle","html_url":"https://github.com/jdetle","followers_url":"https://api.github.com/users/jdetle/followers","following_url":"https://api.github.com/users/jdetle/following{/other_user}","gists_url":"https://api.github.com/users/jdetle/gists{/gist_id}","starred_url":"https://api.github.com/users/jdetle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdetle/subscriptions","organizations_url":"https://api.github.com/users/jdetle/orgs","repos_url":"https://api.github.com/users/jdetle/repos","events_url":"https://api.github.com/users/jdetle/events{/privacy}","received_events_url":"https://api.github.com/users/jdetle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/labels/installation","name":"installation","color":"ab0420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-03-29T08:01:57Z","updated_at":"2016-04-19T00:16:26Z","closed_at":"2016-04-19T00:16:26Z","body":"### Expected behaviour\r\npip install --upgrade MDAnalysis should 'just work'\r\n\r\n### Actual behaviour\r\n`Command /usr/bin/python -c \"import setuptools, tokenize;__file__='/tmp/pip_build_jdetlefs/mdanalysis/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-RLxJ_v-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_jdetlefs/mdanalysis`\r\n\r\nStoring debug log for failure in /home/jdetlefs/.pip/pip.log\r\nFrom the log:\r\n```\r\nx86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -IMDAnalysis/coordinates/include -I/usr/include/python2.7 -c MDAnalysis/coordinates/src/dcd.c -o build/temp.linux-x86_64-2.7/MDAnalysis/coordinates/src/dcd.o\r\nMDAnalysis/coordinates/src/dcd.c:21:20: fatal error: Python.h: No such file or directory\r\n#include <Python.h>\r\n```\r\n### To reproduce the behavior\r\nOn a fresh ubuntu 14.04 system, install python 3.5 with conda, and then follow pip installation instructions. Do not install python-dev.\r\n\r\nI recognize that its kind of silly to use pip after downloading conda, but I still think that if this intended for scientists the installation instructions should be idiot-proofed. It would save some people some time to tell them on the website:\r\n\r\n\"If you have installed python 3.5, **do not try to use pip to install**, use conda to install. If you dont already have a python 2.7 virtual environment created, enter in terminal:\r\n```\r\nconda create -n py27 python=2.7 \r\nsource activate py27\r\n\r\n```\r\nthen enter\r\n```\r\nconda config --add channels MDAnalysis\r\nconda install mdanalysis\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/comments/211644233","html_url":"https://github.com/MDAnalysis/mdanalysis/issues/808#issuecomment-211644233","issue_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/808","id":211644233,"user":{"login":"orbeckst","id":237980,"avatar_url":"https://avatars.githubusercontent.com/u/237980?v=3","gravatar_id":"","url":"https://api.github.com/users/orbeckst","html_url":"https://github.com/orbeckst","followers_url":"https://api.github.com/users/orbeckst/followers","following_url":"https://api.github.com/users/orbeckst/following{/other_user}","gists_url":"https://api.github.com/users/orbeckst/gists{/gist_id}","starred_url":"https://api.github.com/users/orbeckst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbeckst/subscriptions","organizations_url":"https://api.github.com/users/orbeckst/orgs","repos_url":"https://api.github.com/users/orbeckst/repos","events_url":"https://api.github.com/users/orbeckst/events{/privacy}","received_events_url":"https://api.github.com/users/orbeckst/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T00:16:26Z","updated_at":"2016-04-19T00:16:26Z","body":"I read through the comments again and don't really find anything that can be resolved; if we can reproduce the error we can maybe spit out a better error message but in this case I ask that someone opens a new issue with a clear goal."}}