Install Python 3 to /usr/bin/ on macOS

前端 未结 3 617
梦如初夏
梦如初夏 2021-02-15 17:36

I installed python2.x and python3.x using homebrew and the executable python paths are listed below:

$ which python
/Library/Frameworks/Python.framework/Versions         


        
3条回答
  •  孤街浪徒
    2021-02-15 18:01

    This is NOT possible on Mac OS X El Capitan anymore as from then on System Integrity Protection prevents that. More info in Cannot create a symlink inside of /usr/bin even as sudo

提交回复
热议问题