Mac电脑 - 解决 brew install 报错Error: /usr/local/Homebrew is not writable. 的问题
2021-05-28 14:22
253 查看
问题背景
brew install autojump Error: /usr/local/Homebrew is not writable. You should change the ownership and permissions of /usr/local/Homebrew back to your user account: sudo chown -R $(whoami) /usr/local/Homebrew Error: The following directories are not writable by your user: /usr/local/Homebrew You should change the ownership of these directories to your user. sudo chown -R $(whoami) /usr/local/Homebrew And make sure that your user has write permission. chmod u+w /usr/local/Homebrew
按照它提示的步骤执行即可
sudo chown -R $(whoami) /usr/local/Homebrew chmod u+w /usr/local/Homebrew
相关文章推荐
- 关于homebrew使用时遇到的问题: Error: Could not symlink bin/gdb/usr/local/bin is not writable.
- Mac 解决问题:-bash: gdb: command not found &/usr/local/share/man/man5 is not writable.
- brew udpate出现错误“/usr/local is not writable.”的问题解决
- "The /usr/local directory is not writable."解决方法
- ERROR: '/usr/local/bin' is not writable - it is required for Homebrew, try 'brew doctor' to fix it!
- Homebrew: Could not symlink, /usr/local/* is not writable
- makebookpro下 命令行安装homebrew遇到的警告Warning: /usr/local/bin is not in your PATH.解决办法
- /usr/local/bin is not writable mac
- MAC版RDP访问Windows远程桌面报错问题的解决(The certificate or associated chain is not valid - RDP error)
- [置顶] 解决vux 引入组件时Error in render function: "TypeError: _vm.$t is not a function"问题
- 安装zookeeper时候,解决状态显示报错:Error contacting service. It is probably not running问题
- Zookeeper集群搭建(涵盖命令详解)与Error contacting service. It is probably not running的问题解决
- python_scrapy_TypeError: 'LuboavSpider' object is not iterable问题及解决
- NotSupportedError: Authentication plugin ‘caching_sha2_password’ is not supported 问题解决方法,亲测有效
- 解决tensorflow问题, NameError: name 'float32' is not defined
- NameError: name 'admin' is not defined 解决问题的方法
- nagios报错Error: No such CGI app - /usr/local/nagios/sbin/nagios/cgi-bin/status.cgi may not exist or is not executable by this process.
- 解决tensorflow安装中出现的ERROR: twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed.问题
- python 保存scv文件乱码与报错的问题解决TypeError: a bytes-like object is required, not 'str'
- Python 解决 :NameError: name 'reload' is not defined 问题