A quick solution is to use homebrew to install python into /usr/local/bin so that your pip can run against a user-modifiable python framework.
brew install python
Disabling System Integrity Protection is also an option, but I don't recommend that for anything but professionally managed and fire walled servers where you have the manpower to ...
Another viable option without a need to disable SIP or install other Python versions, is to install the modules only for the current user using
pip install --user <modulename>
If it is just your personal machine, this would be the simplest and safest solution.
This problem often arises when pip tries to install a manpage for IPython on El Capitan. The quick fix is to use a pip command like this:
sudo -H pip install --install-option '--install-data=/usr/local' <package>
However, System Integrity Protection (SIP) on El Capitan blocks several bad practices with pip that used to slide by, so you will probably ...
First, you're not disabling SIP as a way to address the issue. Sorry that's the reason that this folder creation is failing, but we have to work around it. Second, you lose all the niceties Apple thought they were giving you, like a bridge via pyObjC, when you install your own Python.
(I'll admit, they say you should install your own to /usr/local if you're ...
Welcome to the wonderful world of OS X Keychain and ssh-agent! From the man page:
ssh-agent is a program to hold private keys used for public key authentication (RSA, DSA, ECDSA). The
idea is that ssh-agent is started in the beginning of an X-session or a login session, and all other
windows or programs are started as clients to the ssh-...
You can boot into single user mode by pressing Cmd-S on startup (see OS X: How to start up in single-user or verbose mode for details) which should give you a root shell. Then run
mount -uw /
chown root:wheel /etc/sudoers
chmod 440 /etc/sudoers
to fix the problem and restart.
Maybe you have authorized Macs you no longer have.
Go to your account in iTunes, under Apple ID Overview you can see how many computers you have authorized and (once a year) you can deauthorize all, after that you should be able to reauthorize your Macs. (This does not affect iOS devices, as they do not count towards your 5 devices limit)
Some social engineering solutions :
Your iTunes account was presumably associated with your credit card, yes? You could attempt to prove you identity to Apple via that credit card connection. You could warn them that you plan on contesting credit card charges if they cannot restore the account.
If Apple won't help, then collect your old credit card bills ...
This isn't possible. Enabling Touch ID enables a passcode, which must be entered on the lock screen. If you do not wish to have a passcode, then you must disable Touch ID too. Also, because you have Touch ID enabled, you are unable to adjust the Require Passcode time in Settings → Touch ID & Passcode → Require Passcode.
The only workaround is to go to ...
Yosemite and earlier OSX keeps info on what permissions system files (i.e. files the OS installs) should be. Apple's doc
To restore this use Disk Utility.app.
Select the boot volume (by default called Macintosh HD) on the left hand side.
Click the Verify or Repair Disk Permissions - the latter will reapply the stored permissions.
To edit sudoers in the ...
Open Directory Utility (/System/Library/CoreServices/).
Click the lock icon to unlock it, then enter your administrator name and password.
Do one of the following:
Choose Edit > Enable Root User, then enter a root user password in the Password and Verify fields.
Choose Edit > Change Root Password, then enter a new root user password. You don't need an old ...
This is what the official Apple documentation says:
Your Apple ID can have up to 10 devices and computers (combined)
associated with it. Each computer must also be authorized using the
same Apple ID. Once a device or computer is associated with your Apple
ID, you cannot associate that device or computer with another Apple ID
for 90 days. You can ...
I have a possible work around.
The songs that you are missing, are they stored on an iPod?
If so use software such as Senuti which you can use for free to transfer 1000 files from your iPod into iTunes.
If you need more it is a small worth while fee.
I am not sure it will transfer songs already in iTunes so you may need to setup another user profile and ...
If you have triggered the account to be into a locked status due to too many failed log in attempts, you will need the help of a human to get it unlocked when you no longer can receive email or answer both the birth day question and the security question to a machine's satisfaction.
(yes, I'm sure you know your birthday, but it could have been entered ...
The iBooks authorization count is the same count you get for iTunes Store. They're the same thing. This covers Books, Music, Movies, etc... If you go to the Store menu item from iTunes or iBooks you can click View My Apple ID, enter your password and then you'll see the authorization count.
Basically if you have authorized another computer to use iTunes ...
I think its because of the SIP or System Integrity Protection, a kind of real-time file protection that feels like a windows anti-virus :) and stops any changes you want to make in the OS X system folders.
Apple simply decided to disable system modifications – to be sure you are fully protected from the evil of internet and other computer related evil forces ...
Believe me, you don't really want the library to write anything at that path.
It was previously not recommended, but possible to write into /System/Library/Frameworks/Python.framework/Versions/2.7/ , but now it's not supported due to Apple SIP and so it's the library owner problem.
The package distribution should be upgraded to work correctly with this ...
You can authorise a computer to play/access iTunes-purchased content without logging in to the store.
In the iTunes menubar: Store > Authorize This Computer…
You will be asked to enter your Apple ID and password. These are the same credentials you use for the iTunes Store. The iTunes Store will still ask for an Apple ID and password when anyone tries to ...
An in-app purchase confers the same rights and suchlike as a standard purchase. But it may be confusing to get it included depnding on how you purchased it. For iOS5 the App store has cleverly included informative info such as "install" or "installed" rather than just showing the price of an app. I would assume that apps that use in-app purchases that are ...
A very cool solution for this issue is using virtualenv (virtualenvwrapper), after you create a new environment for your project, you can use pip without issues, so I used virtualenvwrapper and these two lines fix the problem:
pip install <package_name>
Apple has worked hard to try to avoid the situation you mentioned. It is a major pain to have apps downloaded from different Apple IDs on one iOS device. For example, someone bought an app for me, but used (obviously) their Apple ID. Anytime I wanted to update that app, they had to enter their Apple ID in. That also meant that clicking "Update all" in the ...
You should explicitly deauthorize it. The standard way is to use iTunes.
But if you do not want to install or use iTunes, you can get Apple Support to help you:
Go to the Apple iTunes Support page
Click on the Contact iTunes Store support link (click OK when it prompts you about redirecting you to another page)
This currently takes you to the What's ...
Type sh or sudo sh (my case I accidentally set chown -R / so sudo is me, no need sudo anymore, using sh)
In sh, type cd /var/db/sudo/, then do ls -ln to check if its the same as these:
drwxr-xr-x 2 501 0 68 Oct 23 23:56 yourusername
drwx------ 3 501 0 102 Nov 24 00:57 ts
then type ls -la and you'll get these: