前提・実現したいこと
brew doctorで、以下のような警告が出ました。
発生している問題・エラーメッセージ
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: /Users/ユーザー名/.pyenv/shims/python3.6m-config /Users/ユーザー名/.pyenv/shims/python-config /Users/ユーザー名/.pyenv/shims/python3-config /Users/ユーザー名/.pyenv/shims/python3.6-config
該当のソースコード
ソースコード
試したこと
https://qiita.com/takc923/items/45386905f70fde9af0e7
などのサイトを参考に、
echo 'alias brew="env PATH=${PATH//Users/ユーザー名/.pyenv/shims:/} brew"' >> .bash_profile
と入力し、ターミナルを再起動したのですが、brew doctorで同様の警告が出てしまいました。対処法について、ご教授いただければ幸いです。
補足情報(FW/ツールのバージョンなど)
使っているPCは、macOS Mojave バージョン10.14.4です。
あなたの回答
tips
プレビュー