{"action":"closed","issue":{"url":"https://api.github.com/repos/conda/conda/issues/6488","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/6488/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/6488/comments","events_url":"https://api.github.com/repos/conda/conda/issues/6488/events","html_url":"https://github.com/conda/conda/issues/6488","id":283016445,"node_id":"MDU6SXNzdWUyODMwMTY0NDU=","number":6488,"title":"Make stacked environments configurable","user":{"login":"dmitry-kabanov","id":500073,"node_id":"MDQ6VXNlcjUwMDA3Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/500073?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitry-kabanov","html_url":"https://github.com/dmitry-kabanov","followers_url":"https://api.github.com/users/dmitry-kabanov/followers","following_url":"https://api.github.com/users/dmitry-kabanov/following{/other_user}","gists_url":"https://api.github.com/users/dmitry-kabanov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitry-kabanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitry-kabanov/subscriptions","organizations_url":"https://api.github.com/users/dmitry-kabanov/orgs","repos_url":"https://api.github.com/users/dmitry-kabanov/repos","events_url":"https://api.github.com/users/dmitry-kabanov/events{/privacy}","received_events_url":"https://api.github.com/users/dmitry-kabanov/received_events","type":"User","site_admin":false},"labels":[{"id":360414999,"node_id":"MDU6TGFiZWwzNjA0MTQ5OTk=","url":"https://api.github.com/repos/conda/conda/labels/source-community","name":"source-community","color":"c2e0c6","default":false},{"id":865679648,"node_id":"MDU6TGFiZWw4NjU2Nzk2NDg=","url":"https://api.github.com/repos/conda/conda/labels/tag-shell","name":"tag-shell","color":"f4c5f9","default":false},{"id":16544532,"node_id":"MDU6TGFiZWwxNjU0NDUzMg==","url":"https://api.github.com/repos/conda/conda/labels/type-feature","name":"type-feature","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-18T20:52:47Z","updated_at":"2018-06-07T17:02:51Z","closed_at":"2018-06-07T17:02:51Z","author_association":"NONE","body":"When conda is activated, the `bin` directory of the `root` environment is in the `PATH`.\r\nWhen another environment is activated, its `bin` directory is prepended to the `PATH`, however, the root's `bin` is still in the `PATH` as the second item.\r\nIt leads to the situations like the following.\r\n\r\nI have `root` environment where `ipython` is installed, for example.\r\nThen I create a new environment, say, `test` and install some package there, which is not installed in my root environment, for example, `clawpack`. However, I forget to install `ipython` in the `test` environment.\r\n\r\nThen I activate my `test` environment, execute `ipython` and type `import clawpack`.\r\nWhat I get is an import error, because `ipython` that I use comes from the `root` environment, not from the `test` environment.\r\n\r\nA similar situation occurs when I install into the `test` environment a different version of a package.\r\n\r\nIt seems to me that the `bin` of the `root` environment should be removed from `PATH` when another environment is activated. Then, during deactivation, `root` environment should be pushed back to the `PATH`."}}
{"actor":{"display_login":"kalefranz"}}