{"action":"created","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/878","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/878/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/878/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/878/events","html_url":"https://github.com/LLNL/spack/issues/878","id":152569363,"number":878,"title":"'import site' failed; use -v for traceback","user":{"login":"adamjstewart","id":12021217,"avatar_url":"https://avatars.githubusercontent.com/u/12021217?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjstewart","html_url":"https://github.com/adamjstewart","followers_url":"https://api.github.com/users/adamjstewart/followers","following_url":"https://api.github.com/users/adamjstewart/following{/other_user}","gists_url":"https://api.github.com/users/adamjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjstewart/subscriptions","organizations_url":"https://api.github.com/users/adamjstewart/orgs","repos_url":"https://api.github.com/users/adamjstewart/repos","events_url":"https://api.github.com/users/adamjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/adamjstewart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-02T14:50:47Z","updated_at":"2016-05-17T20:38:13Z","closed_at":null,"body":"As the title suggests, I'm seeing a weird error message when I run any Spack command:\r\n```\r\n$ spack purge\r\n'import site' failed; use -v for traceback\r\n$ spack edit elk\r\n'import site' failed; use -v for traceback\r\n```\r\nThis usually happens after an install crashes, and it goes away as soon as I log out and log back in. Has anyone else seen this before?"},"comment":{"url":"https://api.github.com/repos/LLNL/spack/issues/comments/219846095","html_url":"https://github.com/LLNL/spack/issues/878#issuecomment-219846095","issue_url":"https://api.github.com/repos/LLNL/spack/issues/878","id":219846095,"user":{"login":"adamjstewart","id":12021217,"avatar_url":"https://avatars.githubusercontent.com/u/12021217?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjstewart","html_url":"https://github.com/adamjstewart","followers_url":"https://api.github.com/users/adamjstewart/followers","following_url":"https://api.github.com/users/adamjstewart/following{/other_user}","gists_url":"https://api.github.com/users/adamjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjstewart/subscriptions","organizations_url":"https://api.github.com/users/adamjstewart/orgs","repos_url":"https://api.github.com/users/adamjstewart/repos","events_url":"https://api.github.com/users/adamjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/adamjstewart/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T20:38:13Z","updated_at":"2016-05-17T20:38:13Z","body":"Hmm, it certainly shouldn't. Other Google results suggest something changing the PYTHONPATH or PYTHONHOME. I'll print out my env the next time this happens. It's so difficult to debug transient problems like this."}}