{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2106","repository_url":"https://api.github.com/repos/Microsoft/vscode-python","labels_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2106/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2106/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2106/events","html_url":"https://github.com/Microsoft/vscode-python/issues/2106","id":339067316,"node_id":"MDU6SXNzdWUzMzkwNjczMTY=","number":2106,"title":"Setting up virtualenv on mac","user":{"login":"karthiknadig","id":3840081,"node_id":"MDQ6VXNlcjM4NDAwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/3840081?v=4","gravatar_id":"","url":"https://api.github.com/users/karthiknadig","html_url":"https://github.com/karthiknadig","followers_url":"https://api.github.com/users/karthiknadig/followers","following_url":"https://api.github.com/users/karthiknadig/following{/other_user}","gists_url":"https://api.github.com/users/karthiknadig/gists{/gist_id}","starred_url":"https://api.github.com/users/karthiknadig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karthiknadig/subscriptions","organizations_url":"https://api.github.com/users/karthiknadig/orgs","repos_url":"https://api.github.com/users/karthiknadig/repos","events_url":"https://api.github.com/users/karthiknadig/events{/privacy}","received_events_url":"https://api.github.com/users/karthiknadig/received_events","type":"User","site_admin":false},"labels":[{"id":717153660,"node_id":"MDU6TGFiZWw3MTcxNTM2NjA=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/feature-*","name":"feature-*","color":"006b75","default":false},{"id":724043695,"node_id":"MDU6TGFiZWw3MjQwNDM2OTU=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/needs%20decision","name":"needs decision","color":"fbca04","default":false},{"id":806932016,"node_id":"MDU6TGFiZWw4MDY5MzIwMTY=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/platform-macOS","name":"platform-macOS","color":"8bddf4","default":false},{"id":716013201,"node_id":"MDU6TGFiZWw3MTYwMTMyMDE=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/type-enhancement","name":"type-enhancement","color":"f9d0c4","default":false},{"id":920798386,"node_id":"MDU6TGFiZWw5MjA3OTgzODY=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/x-virtualenv","name":"x-virtualenv","color":"221089","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-07-06T20:48:26Z","updated_at":"2018-08-06T19:03:52Z","closed_at":"2018-07-09T23:54:33Z","author_association":"MEMBER","body":"Question from survey feedback:\r\n\r\n> I looked at that page, and this one:\r\n> \r\n> https://code.visualstudio.com/docs/python/environments#_where-the-extension-looks-for-environments\r\n> \r\n> But it's not clear what I have to do to make sure that VSCode can find virtualenvs. They are in the typical (for mac) virtualenv location of: \r\n> \r\n>  ~/.virtualenvs/\r\n> And I use pyenv so the dropdown seems to see the python versions from pyenv, but those aren't taking into account attaching the virtualenv. So could you tell me which of these environment variables I need to set for ~/.virtualenvs/* to be found on MacOS?\r\n> Alternatively, I'm happy to use a Dockerfile to eliminate the need for pyenv and virtualenv, but it's not clear how that would work with VSCode.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/comments/410818145","html_url":"https://github.com/Microsoft/vscode-python/issues/2106#issuecomment-410818145","issue_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2106","id":410818145,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDgxODE0NQ==","user":{"login":"alexwhittemore","id":332827,"node_id":"MDQ6VXNlcjMzMjgyNw==","avatar_url":"https://avatars0.githubusercontent.com/u/332827?v=4","gravatar_id":"","url":"https://api.github.com/users/alexwhittemore","html_url":"https://github.com/alexwhittemore","followers_url":"https://api.github.com/users/alexwhittemore/followers","following_url":"https://api.github.com/users/alexwhittemore/following{/other_user}","gists_url":"https://api.github.com/users/alexwhittemore/gists{/gist_id}","starred_url":"https://api.github.com/users/alexwhittemore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexwhittemore/subscriptions","organizations_url":"https://api.github.com/users/alexwhittemore/orgs","repos_url":"https://api.github.com/users/alexwhittemore/repos","events_url":"https://api.github.com/users/alexwhittemore/events{/privacy}","received_events_url":"https://api.github.com/users/alexwhittemore/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T19:03:52Z","updated_at":"2018-08-06T19:03:52Z","author_association":"NONE","body":"> The .virtualenvs directory in the user's home is the canonical design for virtualenvwrapper AFAICT:\r\nYes, I thought I'd picked up that pattern from somewhere logical and mainstream.\r\n\r\nAgree about leaving virtualenvs in the project directory. On the one hand I totally get the \"well where else\" argument, but I don't know why Python decided with venv to do it that way, since, yeah, SCM nightmare."}}
{"actor":{"display_login":"alexwhittemore"}}