{"action":"created","issue":{"url":"https://api.github.com/repos/yyuu/pyenv/issues/660","repository_url":"https://api.github.com/repos/yyuu/pyenv","labels_url":"https://api.github.com/repos/yyuu/pyenv/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/yyuu/pyenv/issues/660/comments","events_url":"https://api.github.com/repos/yyuu/pyenv/issues/660/events","html_url":"https://github.com/yyuu/pyenv/issues/660","id":166003368,"number":660,"title":"Unable to override system python on OSX","user":{"login":"danielabar","id":2428282,"avatar_url":"https://avatars.githubusercontent.com/u/2428282?v=3","gravatar_id":"","url":"https://api.github.com/users/danielabar","html_url":"https://github.com/danielabar","followers_url":"https://api.github.com/users/danielabar/followers","following_url":"https://api.github.com/users/danielabar/following{/other_user}","gists_url":"https://api.github.com/users/danielabar/gists{/gist_id}","starred_url":"https://api.github.com/users/danielabar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielabar/subscriptions","organizations_url":"https://api.github.com/users/danielabar/orgs","repos_url":"https://api.github.com/users/danielabar/repos","events_url":"https://api.github.com/users/danielabar/events{/privacy}","received_events_url":"https://api.github.com/users/danielabar/received_events","type":"User","site_admin":false},"labels":[{"id":12859237,"url":"https://api.github.com/repos/yyuu/pyenv/labels/question","name":"question","color":"cc317c","default":true},{"id":397065199,"url":"https://api.github.com/repos/yyuu/pyenv/labels/unconfirmed","name":"unconfirmed","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-18T00:10:38Z","updated_at":"2016-11-11T04:34:59Z","closed_at":null,"body":"On OSX 10.11.5, that came with Python 2.7.10.\n\nI installed pyenv with homebrew, then added the two lines recommended to .zshrc\n\n``` shell\nexport PYENV_ROOT=/usr/local/var/pyenv\nif which pyenv > /dev/null; then eval \"$(pyenv init -)\"; fi\n```\n\nThen ran `source ~/.zshrc`. Then tried to install Python 3 and use it as the global:\n\n```\npyenv install 3.5.2\npyenv global 3.5.2\n```\n\nThen confirmed the version `pyenv which python` returns `/usr/local/var/pyenv/versions/3.5.2/bin/python`.\n\nHowever, running `python -V` still shows 2.7.10. Same problem with `pyenv local 3.5.2`\n## <bountysource-plugin>\n\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36106362-unable-to-override-system-python-on-osx?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).\n</bountysource-plugin>\n"},"comment":{"url":"https://api.github.com/repos/yyuu/pyenv/issues/comments/259879248","html_url":"https://github.com/yyuu/pyenv/issues/660#issuecomment-259879248","issue_url":"https://api.github.com/repos/yyuu/pyenv/issues/660","id":259879248,"user":{"login":"alex-marmot","id":8434305,"avatar_url":"https://avatars.githubusercontent.com/u/8434305?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-marmot","html_url":"https://github.com/alex-marmot","followers_url":"https://api.github.com/users/alex-marmot/followers","following_url":"https://api.github.com/users/alex-marmot/following{/other_user}","gists_url":"https://api.github.com/users/alex-marmot/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-marmot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-marmot/subscriptions","organizations_url":"https://api.github.com/users/alex-marmot/orgs","repos_url":"https://api.github.com/users/alex-marmot/repos","events_url":"https://api.github.com/users/alex-marmot/events{/privacy}","received_events_url":"https://api.github.com/users/alex-marmot/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T04:34:59Z","updated_at":"2016-11-11T04:34:59Z","body":"Same issue as d10p.  I solved it by  add `eval \"$(pyenv init -)\"` in `.zshrc`"}}
{"actor":{"display_login":"alex-marmot"}}