brew link 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
分享:

评论

  1. Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /data/htdocs/70data.host.smartgslb.com/usr/plugins/GravatarCache.php on line 247 青大将丸 青大将丸

    技术牛人

  2. Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /data/htdocs/70data.host.smartgslb.com/usr/plugins/GravatarCache.php on line 247 江水 江水

  3. 大兄弟 厉害了

  4. 我兄弟 牛逼

  5. 我兄弟 牛逼