Homebrew安装python3时出现“Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks”解决办法

  1. 先创建提示中的目录“/usr/local/Frameworks”
>sudo mkdir /usr/local/Frameworks

2.改变该目录的用户和群组

>sudo chown 此处换成用户名:admin /usr/local/Frameworks

3.重新安装

>brew install python3

发现提示 Warning: python 3.7.3 is already installed, it's just not linked,原来是已经安装了,还没链接。

4.重新链接

>brew link python

你可能感兴趣的:(Homebrew安装python3时出现“Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks”解决办法)