{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/41712","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/41712/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/41712/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/41712/events","html_url":"https://github.com/Homebrew/homebrew/issues/41712","id":94989714,"number":41712,"title":"Python post-install step fails on Yosemite","user":{"login":"saulspatz","id":2007229,"avatar_url":"https://avatars.githubusercontent.com/u/2007229?v=3","gravatar_id":"","url":"https://api.github.com/users/saulspatz","html_url":"https://github.com/saulspatz","followers_url":"https://api.github.com/users/saulspatz/followers","following_url":"https://api.github.com/users/saulspatz/following{/other_user}","gists_url":"https://api.github.com/users/saulspatz/gists{/gist_id}","starred_url":"https://api.github.com/users/saulspatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saulspatz/subscriptions","organizations_url":"https://api.github.com/users/saulspatz/orgs","repos_url":"https://api.github.com/users/saulspatz/repos","events_url":"https://api.github.com/users/saulspatz/events{/privacy}","received_events_url":"https://api.github.com/users/saulspatz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/python","name":"python","color":"9af51f"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-14T16:51:07Z","updated_at":"2015-07-14T17:03:20Z","closed_at":null,"body":"When running \"brew upgrade\" I get these messages:\r\n\r\n/usr/local/Cellar/python/2.7.10_2/bin/python -s setup.py --no-user-cfg install --force --verbose --single-version-externally-managed -\r\ncopying pip/_vendor/requests/cacert.pem -> build/lib/pip/_vendor/requests\r\ncopying pip/_vendor/distlib/_backport/sysconfig.cfg -> build/lib/pip/_vendor/distlib/_backport\r\nrunning install_lib\r\ncopying build/lib/pip/__init__.py -> /usr/local/lib/python2.7/site-packages/pip\r\nerror: could not delete '/usr/local/lib/python2.7/site-packages/pip/__init__.py': Permission denied\r\nWarning: The post-install step did not complete successfully\r\nYou can try again using `brew postinstall python`\r\n\r\nI tried again with \"brew postinstall python\" and got the same \"permission denied\" message.\r\nThe command \"pip\" no longer exists.\r\n\r\nI'm running Yosemite 10.10.4.  Please advise. "},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/121309480","html_url":"https://github.com/Homebrew/homebrew/issues/41712#issuecomment-121309480","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/41712","id":121309480,"user":{"login":"saulspatz","id":2007229,"avatar_url":"https://avatars.githubusercontent.com/u/2007229?v=3","gravatar_id":"","url":"https://api.github.com/users/saulspatz","html_url":"https://github.com/saulspatz","followers_url":"https://api.github.com/users/saulspatz/followers","following_url":"https://api.github.com/users/saulspatz/following{/other_user}","gists_url":"https://api.github.com/users/saulspatz/gists{/gist_id}","starred_url":"https://api.github.com/users/saulspatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saulspatz/subscriptions","organizations_url":"https://api.github.com/users/saulspatz/orgs","repos_url":"https://api.github.com/users/saulspatz/repos","events_url":"https://api.github.com/users/saulspatz/events{/privacy}","received_events_url":"https://api.github.com/users/saulspatz/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T17:03:20Z","updated_at":"2015-07-14T17:03:20Z","body":"Yes, all the files in that directory have permissions root:admin\n\n\nOn Tue, Jul 14, 2015 at 12:01 PM, Dominyk Tiller <notifications@github.com>\nwrote:\n\n> Well, the /usr/local directory itself looks fine. What about the same\n> command on /usr/local/lib/python2.7/site-packages/pip? Does anything in\n> that directory not have the permissions saul:admin?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Homebrew/homebrew/issues/41712#issuecomment-121308959>\n> .\n>\n"}}