{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/2907","labels_url":"https://api.github.com/repos/pypa/pip/issues/2907/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/2907/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/2907/events","html_url":"https://github.com/pypa/pip/issues/2907","id":87963639,"number":2907,"title":"OS X 10.11 rootless mode causes crashes on some pip installations","user":{"login":"alistra","id":233144,"avatar_url":"https://avatars.githubusercontent.com/u/233144?v=3","gravatar_id":"","url":"https://api.github.com/users/alistra","html_url":"https://github.com/alistra","followers_url":"https://api.github.com/users/alistra/followers","following_url":"https://api.github.com/users/alistra/following{/other_user}","gists_url":"https://api.github.com/users/alistra/gists{/gist_id}","starred_url":"https://api.github.com/users/alistra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alistra/subscriptions","organizations_url":"https://api.github.com/users/alistra/orgs","repos_url":"https://api.github.com/users/alistra/repos","events_url":"https://api.github.com/users/alistra/events{/privacy}","received_events_url":"https://api.github.com/users/alistra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-13T08:40:07Z","updated_at":"2015-06-24T01:42:12Z","closed_at":null,"body":"As the new OS X 10.11 has the rootless mode enabled, even the root can't touch the /System subdirectory where the python is preinstalled.\r\n\r\n```\r\nsh-3.2# touch 1\r\ntouch: 1: Operation not permitted\r\nsh-3.2# whoami\r\nroot\r\nsh-3.2# pwd\r\n/System/Library/Frameworks/Python.framework\r\nsh-3.2# \r\n```\r\n\r\nThis causes me to be unable to install some packages, like:\r\n\r\n`pip install pytz`\r\nhttps://gist.github.com/alistra/fbcaac8f2472a87de229\r\n`pip install selenium`\r\nhttps://gist.github.com/alistra/eaf0f7faa4a962de8463\r\n`pip install python-dateutil`\r\nhttps://gist.github.com/alistra/c6c16e4b26736d318766\r\n\r\nSome packages still install properly.\r\nMy question is can this be fixed by `pip`? I saw some packages using /Library/ instead on /System/ subdirectories to install files, is this an option?\r\n\r\nOtherwise should this be fixable on Apple's side?"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/114695652","html_url":"https://github.com/pypa/pip/issues/2907#issuecomment-114695652","issue_url":"https://api.github.com/repos/pypa/pip/issues/2907","id":114695652,"user":{"login":"dstufft","id":145979,"avatar_url":"https://avatars.githubusercontent.com/u/145979?v=3","gravatar_id":"","url":"https://api.github.com/users/dstufft","html_url":"https://github.com/dstufft","followers_url":"https://api.github.com/users/dstufft/followers","following_url":"https://api.github.com/users/dstufft/following{/other_user}","gists_url":"https://api.github.com/users/dstufft/gists{/gist_id}","starred_url":"https://api.github.com/users/dstufft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstufft/subscriptions","organizations_url":"https://api.github.com/users/dstufft/orgs","repos_url":"https://api.github.com/users/dstufft/repos","events_url":"https://api.github.com/users/dstufft/events{/privacy}","received_events_url":"https://api.github.com/users/dstufft/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T01:42:12Z","updated_at":"2015-06-24T01:42:12Z","body":"This is probably because by default pip will attempt to uninstall those items if they are already installed. You might try ``pip install --ignore-installed``, or use ``pip install --user``, or install Python from Homebrew or pyenv instead."}}