Mac-osx under PIP Install Python module permissions problem Resolution __python

Source: Internet
Author: User
Tags install pandas
1, the first to do sudo installation
sudo pip install pandas
Result Error:
OSError: [Errno 1] Operation not permitted:
2. Disable SIP mechanism in MAC Recovery mode (System Integrity Protection)
Reboot the computer, hold down the command+r (until the Apple flag appears) and enter recovery mode (recovery model)
Upper left corner menu find Utility-> Terminal
Enter Csrutil Disable carriage return
Restart the Mac
If you want to restart the SIP mechanism repeat the above steps using Csrutil enable
Csrutil status
System Integrity Protection status:disabled.
3. Pip Install Python module
sudo pip install pandas

If you encounter OSError under the Mac: [Errno 1] Operation not permitted: the problem, even with sudo can not solve, it is very likely that the SIP problem.
Related Article

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.