本文介绍了如何在MacOS High Sierra上修复自制软件的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试将python安装到自制软件时,它下载了它,然后在最后弹出了一条错误消息,使它无法完成.当我再次尝试执行此操作时,它会要求我执行以下操作:
When I tried to install python onto homebrew it downloaded it and then an error message popped up at the end that stopped it from completing. When I try to do it again it asks me to do:
$ brew link python
输入后出现相同的错误消息:
After entering that the same error message appears:
permission denied @ dir_s_mkdir - /usr/local/lib
我试图做:
$ sudo chown -R $(whoami) /usr/local
然后我收到一条错误消息,内容为:
And I get an error message that reads:
推荐答案
sudo mkdir /usr/local/Frameworks
sudo chown $(whoami):admin /usr/local/Frameworks
brew link python3
这篇关于如何在MacOS High Sierra上修复自制软件的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!