1 2
| $ brew link python Linking /usr/local/Cellar/python/3.7.3... Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks
|
解决方法:
1 2
| $ sudo mkdir /usr/local/Frameworks $ sudo chown $(whoami):admin /usr/local/Frameworks
|
验证:
1 2
| $ brew link python Linking /usr/local/Cellar/python/3.7.3... 1 symlinks created
|
参考:
https://github.com/Homebrew/homebrew-core/issues/19286