在 macos 上运行 opam init (OCaml) 时,出现致命错误../opt/homebrew/Cellar/wget: 遇到权限被拒绝

问题描述 投票:0回答:1

尝试在 macos(Venturaa 13.4、Apple M2 Pro)上运行 opam init(OCaml 包管理器)时,遇到以下错误:

<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
Fatal error:
/usr/local/bin/opam: "create_process" failed on /opt/homebrew/Cellar/wget: Permission denied
macos ocaml opam
1个回答
0
投票

以下内容适用于我的设置:

brew remove wget

然后再次运行 opam init


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
...
© www.soinside.com 2019 - 2024. All rights reserved.