解决mac下brew link python3出错brew Error: Permission denied @ dir_s_mkdir – /usr/local/Frameworks

mac上默认的python版本为2.7.10版本,需要升级到python3 版本,通过brew升级

$brew install python3

提示错误

$ brew install python3 Warning: python3 3.6.3 is already installed, it‘s just not linked. You can use `brew link python3` to link this version. $ brew link python3 Linking /usr/local/Cellar/python3/3.6.3… Error: Permission denied @ dir_s_mkdir

发现/usr/local/下没有路径/usr/local/Frameworks
需要新建该路径,并修改权限

解决:

$ sudo mkdir /usr/local/Frameworks
$ sudo chown $(whoami):admin /usr/local/Frameworks

成功:

$ brew link python3
Linking /usr/local/Cellar/python3/3.6.3... 1 symlinks created

参考:
https://github.com/Homebrew/homebrew-core/issues/19286

27 thoughts on “解决mac下brew link python3出错brew Error: Permission denied @ dir_s_mkdir – /usr/local/Frameworks

  1. Pingback: bang ty so bong da hom nay

  2. Pingback: 사설토토

  3. Pingback: alcohol

  4. Pingback: https://sportzdrowie.com.pl/forum/zele-masci-plastry-f15/paski-crest-pl-opinie-t408.html

  5. Pingback: porn

  6. Pingback: porn

  7. Pingback: 조커카지노

  8. Pingback: kiu

  9. Pingback: auto generated contents

  10. Pingback: mẹ mua em heo đất

  11. Pingback: Result Hk

  12. Pingback: Types Of Fishing Poles

  13. Pingback: Leptitox Review

  14. Pingback: garage floor epoxy coating

  15. Pingback: Fake Breitling Navitimer price

  16. Pingback: พิโกไฟแนนซ์

  17. Pingback: 서울출장샵

  18. Pingback: replica watches

  19. Pingback: social media marketing agency Hong Kong

  20. Pingback: level 3

  21. Pingback: savannah kittens for sale near me in usa canada uk australia europe cheap

  22. Pingback: sex

  23. Pingback: replica watches reddit

  24. Pingback: classic facebook

  25. Pingback: bitcoin loophole review

  26. Pingback: que es un bitcoin y como se genera

  27. Pingback: best wigs

Comments are closed.