0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Homebrewでbrew doctorしたらWarning: "config" scripts exist outside your system or Homebrew directories.となった時の解決方法

Last updated at Posted at 2018-12-29

#はじめに
brew doctorしたらWarning(警告)が出たので、その解決方法をまとめました。

#Warningの内容
内容としてはHomebrewの管理外なconfigファイル(コンピューター上で動作するプログラム)があると衝突おこすかもよというものです。

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 what 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/Username/anaconda3/bin/icu-config
  /Users/Username/anaconda3/bin/freetype-config
  /Users/Username/anaconda3/bin/xslt-config
  /Users/Username/anaconda3/bin/libpng16-config
  /Users/Username/anaconda3/bin/python3.6m-config
  /Users/Username/anaconda3/bin/libpng-config
  /Users/Username/anaconda3/bin/xml2-config
  /Users/Username/anaconda3/bin/python3-config
  /Users/Username/anaconda3/bin/curl-config
  /Users/Username/anaconda3/bin/ncursesw6-config

#原因
どうやら、AnacondaとHomebrewは相性が悪く、お互い干渉する様です。
(Anacondaは、かなり前にpython環境を構築しようと思ってインストールしていたものです)

#解決方法
結論としては、Anacondaをアンインストールする事です。
手順はこちら

#対応後
brew doctorを実行して、

$ brew doctor
Your system is ready to brew.

と表示されれば、解決です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?