{"action":"created","issue":{"url":"https://api.github.com/repos/yyuu/pyenv-virtualenv/issues/113","labels_url":"https://api.github.com/repos/yyuu/pyenv-virtualenv/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/yyuu/pyenv-virtualenv/issues/113/comments","events_url":"https://api.github.com/repos/yyuu/pyenv-virtualenv/issues/113/events","html_url":"https://github.com/yyuu/pyenv-virtualenv/issues/113","id":116378910,"number":113,"title":"Unclear about which virtualenv to set as local","user":{"login":"jagmoreira","id":13685125,"avatar_url":"https://avatars.githubusercontent.com/u/13685125?v=3","gravatar_id":"","url":"https://api.github.com/users/jagmoreira","html_url":"https://github.com/jagmoreira","followers_url":"https://api.github.com/users/jagmoreira/followers","following_url":"https://api.github.com/users/jagmoreira/following{/other_user}","gists_url":"https://api.github.com/users/jagmoreira/gists{/gist_id}","starred_url":"https://api.github.com/users/jagmoreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagmoreira/subscriptions","organizations_url":"https://api.github.com/users/jagmoreira/orgs","repos_url":"https://api.github.com/users/jagmoreira/repos","events_url":"https://api.github.com/users/jagmoreira/events{/privacy}","received_events_url":"https://api.github.com/users/jagmoreira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-11T17:08:11Z","updated_at":"2015-11-12T00:13:03Z","closed_at":null,"body":"I upgraded pyenv to 20151105 and pyenv-virtualenv to 20151103 and now every time I create a new virtual environment it appears in 2 places:\r\n\r\n```\r\n$ pyenv versions\r\n  system\r\n  2.7.10\r\n  2.7.10/envs/venv\r\n  3.5.0\r\n  3.5.0/envs/general\r\n* venv (set by <local folder>/.python-version)\r\n  general\r\n\r\n$ pyenv virtualenvs\r\n  2.7.10/envs/venv (created from <home folder>/.pyenv/versions/2.7.10)\r\n  3.5.0/envs/general (created from <home folder>/.pyenv/versions/3.5.0)\r\n  general (created from <home folder>/.pyenv/versions/3.5.0)\r\n* venv (created from <home folder>/.pyenv/versions/2.7.10)\r\n```\r\nAs you can see I set the virtual environment in with `pyenv local venv`.\r\n\r\nI didn't think too much about it but then I started seeing these whenever I used IPython (installed through `pip`):\r\n```\r\nWARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.\r\n```\r\nHowever if I instead do `pyenv local 2.7.10/envs/venv`, the message goes away.\r\n\r\nWhy is that?\r\nShould I always use the \"long name\" of the virtualenv whenever I set it as a local pyenv version?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28163751-unclear-about-which-virtualenv-to-set-as-local?utm_campaign=plugin&utm_content=tracker%2F335155&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F335155&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/yyuu/pyenv-virtualenv/issues/comments/155954331","html_url":"https://github.com/yyuu/pyenv-virtualenv/issues/113#issuecomment-155954331","issue_url":"https://api.github.com/repos/yyuu/pyenv-virtualenv/issues/113","id":155954331,"user":{"login":"yyuu","id":63651,"avatar_url":"https://avatars.githubusercontent.com/u/63651?v=3","gravatar_id":"","url":"https://api.github.com/users/yyuu","html_url":"https://github.com/yyuu","followers_url":"https://api.github.com/users/yyuu/followers","following_url":"https://api.github.com/users/yyuu/following{/other_user}","gists_url":"https://api.github.com/users/yyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/yyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyuu/subscriptions","organizations_url":"https://api.github.com/users/yyuu/orgs","repos_url":"https://api.github.com/users/yyuu/repos","events_url":"https://api.github.com/users/yyuu/events{/privacy}","received_events_url":"https://api.github.com/users/yyuu/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T00:13:03Z","updated_at":"2015-11-12T00:13:03Z","body":"It must be an problem of IPython. Basically you should ask why to IPython guys."}}