#質問
macのターミナルでhomebrewインストールをして確認したところ次のようなWarningが出ました.消すにはどうすればよいでしょうか?
$ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks! Warning: "config" scripts exist outside your system or Homebrew directories. `./configure` scripts often look for *-config scripts to determine if software packages are installed, and which additional flags to use when compiling and linking. Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew-provided script of the same name. We found the following "config" scripts: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m-config /Library/Frameworks/Python.framework/Versions/3.6/bin/python3-config /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6-config
どうすれば直るか教えてください.
#追記(2019/11/09)
調べた結果
$ alias brew='PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin brew'
と打ち込むことで
$ brew doctor Your system is ready to brew.
と出たので,一件解決できたようにも見えます.
しかし,ターミナルを再起動すると,再びwarningが出ます.
もちろん,このコマンドで再びwarningは消えるのですが,面倒です.
ターミナルスタート時に自動でコマンドを実行するのも解決方法としては考えたのですが,やはり根本的な解決となってはいないため,根本を解決する方法があれば教えてください.
お願いします.
あなたの回答
tips
プレビュー