MAC OS X upgrades Python six module version __python

Source: Internet
Author: User

Problem Description:

Mac system, using the sudo command to upgrade the Python six module, a operation not permitted error message appears



Error Location:

Http://stackoverflow.com/questions/29485741/unable-to-upgrade-python-six-package-in-mac-osx-10-10-2


Http://www.jianshu.com/p/e90fb15684fa


Summary: The new Mac system, added SIP features , even with sudo can not get the highest privileges, Mac system-level directory can not be changed


Solution:

To turn off SIP features:

1, reboot the MAC, press and hold command+r during reboot and enter Safe mode

2, open the terminal in the top menu bar, enter csrutil disable command to turn off SIP security features (want to open sip in the words on the Csrutil enable command)

3, restart the Mac, OK.


Reference: HTTP://WWW.JIANSHU.COM/P/E90FB15684FA


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: [email protected] and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.