{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/2590","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/2590/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/2590/comments","events_url":"https://api.github.com/repos/conda/conda/issues/2590/events","html_url":"https://github.com/conda/conda/issues/2590","id":158163314,"number":2590,"title":"Consider unsetting PYTHONPATH","user":{"login":"Zaharid","id":5675858,"avatar_url":"https://avatars.githubusercontent.com/u/5675858?v=3","gravatar_id":"","url":"https://api.github.com/users/Zaharid","html_url":"https://github.com/Zaharid","followers_url":"https://api.github.com/users/Zaharid/followers","following_url":"https://api.github.com/users/Zaharid/following{/other_user}","gists_url":"https://api.github.com/users/Zaharid/gists{/gist_id}","starred_url":"https://api.github.com/users/Zaharid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zaharid/subscriptions","organizations_url":"https://api.github.com/users/Zaharid/orgs","repos_url":"https://api.github.com/users/Zaharid/repos","events_url":"https://api.github.com/users/Zaharid/events{/privacy}","received_events_url":"https://api.github.com/users/Zaharid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-02T15:02:14Z","updated_at":"2016-06-03T20:54:41Z","closed_at":null,"body":"As the documentation correctly points out,\r\nhttp://conda.pydata.org/docs/troubleshooting.html\r\nhaving a PYTHONPATH environment variable interact with conda is asking for trouble. To give an example of how crazy it gets, when calling conda-build on some python 3 package, the tests were failing with a traceback from `/random/path/to/python27/site-packages/<package>/xxx.py` because the corresponding location happened to be in PYTHONPATH.\r\n\r\nGiven that having that environment variable causes trouble much more often than does something useful (and goes against all about reproducible builts and environments), I wonder if it would be possible to unset it in the activate script. Maybe also affecting the root enviornment would be too invasive. \r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/223692094","html_url":"https://github.com/conda/conda/issues/2590#issuecomment-223692094","issue_url":"https://api.github.com/repos/conda/conda/issues/2590","id":223692094,"user":{"login":"ilanschnell","id":334496,"avatar_url":"https://avatars.githubusercontent.com/u/334496?v=3","gravatar_id":"","url":"https://api.github.com/users/ilanschnell","html_url":"https://github.com/ilanschnell","followers_url":"https://api.github.com/users/ilanschnell/followers","following_url":"https://api.github.com/users/ilanschnell/following{/other_user}","gists_url":"https://api.github.com/users/ilanschnell/gists{/gist_id}","starred_url":"https://api.github.com/users/ilanschnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilanschnell/subscriptions","organizations_url":"https://api.github.com/users/ilanschnell/orgs","repos_url":"https://api.github.com/users/ilanschnell/repos","events_url":"https://api.github.com/users/ilanschnell/events{/privacy}","received_events_url":"https://api.github.com/users/ilanschnell/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T20:54:41Z","updated_at":"2016-06-03T20:54:41Z","body":"The Miniconda and Anaconda installers warn about `PYTHONPATH` being set already."}}
{"actor":{"display_login":"ilanschnell"}}