Mac OS El Capitan, Python and SIP - arrrrggggg
Got my new mac and a simple task for installing GEVENT / other python modules is breaking with access denied (even when using SUDO)....
This is occurring since python was provided by Apple and its folders are protected by the System Integrity protection, and usually people try to install packages to the global (rather than local)
The best solution I found till now is built out of two steps
- PyEnv - ability to install different version of python in your system
- PyEnv-virtualenvs - ability to have separate packages folders (isolate)
Installation is a breeze using home-brew and please don't forget that you have 2 manual step (to update the .profile)
<Win-vs-Mac /> - Tell you the truth, today experience reminded me of the struggle we all had when we moved to windows 7/windows 2008 with the UAC....
Side note - it's true that you can install to local user (using --user arg) but I found above solution to be much better,
Thanks idownloadblog for the image
Thanks idownloadblog for the image
Mac OS El Capitan, Python and SIP - arrrrggggg
Reviewed by Ran Davidovitz
on
2:03 AM
Rating:
No comments:
Post a Comment