在搭建 PYQT 的过程中我遇上了一个非常恶心的问题，在安装 sip 的时候编译源码之后的安装过程中一直提示我：
Operation not permitted，我甚至重装了系统也无济于事，最终通过查资料解决了问题。
下载 sip 源码包解压之后进入它的目录下：
python configure.py sudo make sudo make install
cp -f sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip cp: /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip: Operation not permitted make: *** [install] Error 1 make: *** [install] Error 2
su 登录 Shell，在重复以上过程，无果。
brew install sip，报同样的错误。
System Integrity Protection is a security technology in OS X El Capitan that’s designed to help prevent potentially malicious software from modifying protected files and folders on your Mac.
In OS X, the “root” user account previously had no permission restrictions and could access any system folder or application on your Mac. Software gained root-level access when you entered your administrator name and password to install it and could then modify or overwrite any system file or application.
System Integrity Protection restricts the root account and limits the actions that the root user can perform on protected parts of OS X.
Paths and applications protected by System Integrity Protection include:
Apps that are pre-installed with OS X
Paths and applications that third-party apps and installers can write to include:
System Integrity Protection is designed to allow modifications of these protected parts only by processes that are signed by Apple and have special entitlements to write to system files, like Apple software updates and Apple installers.
Apps that you download from the Mac App Store already work with System Integrity Protection. Other third-party software that conflicts with System Integrity Protection might be set aside when you upgrade to OS X El Capitan.
System Integrity Protection also helps prevent software from changing your startup volume. To boot your Mac from a different volume, you can use the Startup Disk pane in System Preferences or you can hold down the Option key while you reboot, and select a volume from the list.
Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Risks are inherent in the use of the Internet. Contact the vendor for additional information. Other company and product names may be trademarks of their respective owners.
其实解决方案就已经很简单了，既然是系统中有 SIP 的问题，那么我们把它关闭就好了：
这时我们再重新编译安装 sip 就没有任何问题了。