{"action":"opened","issue":{"url":"https://api.github.com/repos/chrmarti/testissues/issues/18483","repository_url":"https://api.github.com/repos/chrmarti/testissues","labels_url":"https://api.github.com/repos/chrmarti/testissues/issues/18483/labels{/name}","comments_url":"https://api.github.com/repos/chrmarti/testissues/issues/18483/comments","events_url":"https://api.github.com/repos/chrmarti/testissues/issues/18483/events","html_url":"https://github.com/chrmarti/testissues/issues/18483","id":317315883,"number":18483,"title":"conda activate fails in Visual Studio Code terminal","user":{"login":"vscodebot[bot]","id":28792856,"avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-24T17:05:45Z","updated_at":"2018-04-24T17:05:45Z","closed_at":null,"author_association":"NONE","body":"Issue Type: <b>Bug</b>\r\n\r\n_[Cross-posting](https://github-com/conda/conda/issues/7207) from the conda issue tracker._\r\n\r\nWhen opening a new bash shell in the Visual Studio Code terminal, and then activating a conda environment, the environment's packages are not available despite the environment appearing to have been activated. This occurs both when using source activate and conda activate. Issue does not reproduce in the Apple Terminal app, or in iTerm.\r\n\r\nA workaround is to call conda deactivate or source deactivate before the activate call.\r\n\r\nSteps to reproduce:\r\n```\r\n$ source activate gi\r\n(gi) $ python test.py\r\nTraceback (most recent call last):\r\n  File \"test.py\", line 5, in <module>\r\n    import pandas as pd\r\nImportError: No module named pandas\r\n```\r\n\r\nVS Code version: Code 1.22.2 (3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9, 2018-04-12T16:32:53.389Z)\r\nOS version: Darwin x64 17.5.0\r\n\r\n<details>\r\n<summary>System Info</summary>\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i5-7360U CPU ! 2.30GHz (4 x 2300)|\r\n|Load (avg)|3, 2, 2|\r\n|Memory (System)|8.00GB (0.02GB free)|\r\n|Process Argv|/Users/markedwards/Applications/Visual Studio Code.app/Contents/MacOS/Electron|\r\n|Screen Reader|no|\r\n|VM|0%|\r\n\r\n</details><details><summary>Extensions (15)</summary>\r\n\r\nExtension|Author (truncated)|Version\r\n---|---|---\r\ngc-excelviewer|Gra|2.0.20\r\nscala|dal|0.0.5\r\njupyter|don|1.1.4\r\nvscode-sort|hen|0.2.5\r\noctave|lea|0.1.1\r\nrainbow-csv|mec|0.2.1\r\nanaconda-extension-pack|ms-|1.0.0\r\npython|ms-|2018.3.1\r\njava|red|0.23.0\r\nvscode-yaml|red|0.0.11\r\nvscode-java-debug|vsc|0.8.0\r\nvscode-java-pack|vsc|0.3.0\r\nvscode-java-test|vsc|0.5.0\r\nvscode-maven|vsc|0.7.0\r\nmarkdown-all-in-one|yzh|1.2.0\r\n\r\n\r\n</details>\r\n<!-- generated by issue reporter -->"}}
{"actor":{"display_login":"vscodebot"}}