{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/703","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/703/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/703/events","html_url":"https://github.com/tensorflow/tensorflow/pull/703","id":125101894,"number":703,"title":"Test the TensorFlow installation location using inspect","user":{"login":"eerwitt","id":1329385,"avatar_url":"https://avatars.githubusercontent.com/u/1329385?v=3","gravatar_id":"","url":"https://api.github.com/users/eerwitt","html_url":"https://github.com/eerwitt","followers_url":"https://api.github.com/users/eerwitt/followers","following_url":"https://api.github.com/users/eerwitt/following{/other_user}","gists_url":"https://api.github.com/users/eerwitt/gists{/gist_id}","starred_url":"https://api.github.com/users/eerwitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eerwitt/subscriptions","organizations_url":"https://api.github.com/users/eerwitt/orgs","repos_url":"https://api.github.com/users/eerwitt/repos","events_url":"https://api.github.com/users/eerwitt/events{/privacy}","received_events_url":"https://api.github.com/users/eerwitt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-06T03:16:58Z","updated_at":"2016-01-06T03:16:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/703","html_url":"https://github.com/tensorflow/tensorflow/pull/703","diff_url":"https://github.com/tensorflow/tensorflow/pull/703.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/703.patch"},"body":"While testing an installation I executed `python -c 'import site; print(\"\\n\".join(site.getsitepackages()))'` from within a virtualenv environment. This raised the same error mentioned in #392.\r\n\r\nAccording to pypa/virtualenv#355 this is an issue with their custom site implementation and may not be updated soon.\r\n\r\nI updated the command in the documentation to output the directory where TensorFlow is installed using [inspect](https://docs.python.org/2/library/inspect.html).\r\n\r\n```python\r\nimport os\r\nimport inspect\r\nimport tensorflow\r\n\r\nprint(os.path.dirname(inspect.getfile(tensorflow)))\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/169208032","html_url":"https://github.com/tensorflow/tensorflow/pull/703#issuecomment-169208032","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/703","id":169208032,"user":{"login":"tensorflow-jenkins","id":16359713,"avatar_url":"https://avatars.githubusercontent.com/u/16359713?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow-jenkins","html_url":"https://github.com/tensorflow-jenkins","followers_url":"https://api.github.com/users/tensorflow-jenkins/followers","following_url":"https://api.github.com/users/tensorflow-jenkins/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow-jenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow-jenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow-jenkins/subscriptions","organizations_url":"https://api.github.com/users/tensorflow-jenkins/orgs","repos_url":"https://api.github.com/users/tensorflow-jenkins/repos","events_url":"https://api.github.com/users/tensorflow-jenkins/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow-jenkins/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T03:16:59Z","updated_at":"2016-01-06T03:16:59Z","body":"Can one of the admins verify this patch?"}}