本文主要是介绍brew link python3出错,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
brew安装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/Frameworks
发现/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
这篇关于brew link python3出错的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!