#author("2020-07-21T12:20:14+00:00","default:yusami","yusami") #author("2020-07-21T12:25:19+00:00","default:yusami","yusami") #contents &tag(Homebrew,トラブル); * [[トラブル]] [#na7e391a] - [[Segmentation Fault on almost all brew commands · Issue #4485 · Homebrew/brew · GitHub>https://github.com/Homebrew/brew/issues/4485]] + Pythonのコマンドが見つからない (2020/07/21) $ /usr/local/bin/python3 zsh: no such file or directory: /usr/local/bin/python3 -- 原因:正しくリンクされていない為(古いバージョンが残っている等) $ brew info python3 Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to `python3`, `python3-config`, `pip3` etc., respectively, have been installed into /usr/local/opt/python@3.8/libexec/bin -- 対策:リンクを作成する $ brew link python@3.8 Linking /usr/local/Cellar/python@3.8/3.8.4... 41 symlinks created + [[Segmentation Fault on almost all brew commands · Issue #4485 · Homebrew/brew · GitHub>https://github.com/Homebrew/brew/issues/4485]] I encounter frequent segmentation fault running almost any of brew commands like: upgrade formulaname/doctor/cleanup -- 解決策:キャッシュをクリアしたところ、解消した。(2018/09/23) $ brew cleanup -s - [[macOS Mojave で brew install や brew update に失敗するときの解決法 - Qiita>https://qiita.com/noraworld/items/ce90783994ce2607a5ca]] + [[macOS Mojave で brew install や brew update に失敗するときの解決法 - Qiita>https://qiita.com/noraworld/items/ce90783994ce2607a5ca]] /usr/local/sbin と /usr/local/Frameworks が存在しない - [[Jenkins]]サービスが起動しない (2019/08/09) + [[Jenkins]]サービスが起動しない (2019/08/09) -- 原因:下記のコマンドでは ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist が上書きされる為、自分の設定が有効にならない。 $ brew services start jenkins -- 対策:自分で[[LaunchDaemons]]コマンドを呼び出せば良い。 $ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist * 関連 [#xfeb494e] #related #taglist(tag=Homebrew^トラブル)