Why can I not remove python 2.6 and 2.7 from usr/lib/?

129 Views Asked by At

MacBook-Pro:lib me$ sudo rm -rf python2.6 rm: python2.6: Operation not permitted

I tried with sudo, without sudo. Not sure why the operation is not permitted.

1

There are 1 best solutions below

0
Mayazcherquoi On BEST ANSWER

It is due to System Integrity Protection, introduced by Apple on OSX versions El Capitan and onwards.