Mac cannot upgrade six, NumPy, etc.

Source: Internet
Author: User

OS 10.10 Above, will appear you can not directly use the PIP to upgrade to six, NumPy, etc., the error is not a variety of permissions, plus sudo results are the same, the reason is MacOS System integrity Protection (SIP).
Here's a more detailed discussion:
Https://stackoverflow.com/questions/29485741/unable-to-upgrade-python-six-package-in-mac-osx-10-10-2

Solution: Click on the Mac Apple icon to select Restart and hold Command+r until you enter the Restore Mode selection utility, then click the terminal input csrutil disable press ENTER to restart the computer

If the change after the system security is not reduced, you can upgrade the first numpy and so on and then change back:
Just change the 5th step to Csrutil and enable it.

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: info-contact@alibabacloud.com 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.