2012-10-12 20 views
5

もう一つの初心者の質問。私は、Pythonプロジェクト用のmatplotlibをインストールするのに苦労しています。そのため、Homebrewの提案を読んでみると、パッケージ管理と依存関係のための確かな解決策でした。私は、次のエラーが表示自作の診断を実行するときHomebrewの医師の警告を解決する方法を修正する方法

は、しかし:

$ 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 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: 

/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config 
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config 
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config 
Warning: /usr/bin occurs before /usr/local/bin 
This means that system-provided programs will be used instead of those 
provided by Homebrew. The following tools exist at both paths: 

2to3 
2to3-2.7 
idle 
idle2.7 
pydoc 
pydoc2.7 
python 
python-config 
python2.7 
python2.7-config 
pythonw 
pythonw2.7 
smtpd.py 
smtpd2.7.py 
tclsh 
tclsh8.5 
wish 
wish8.5 

Consider amending your PATH so that /usr/local/bin 
occurs before /usr/bin in your PATH. 

を私は、これは非常に単純なクエリである知っているが、私はパスをどのように修正するのですか?

もっと重要なのは、ホームブルートは現在選択しているパッケージですか?私はFinkとMacPorts、easy_installとpipを取り巻く多くの記事を見てきましたが、私はベストプラクティスを理解することができません。

+0

[この質問に重複している可能性があります](http://stackoverflow.com/questions/10343834/homebrew-wants-me-to-amend-my-path -no-clue-how) – avelis

答えて

関連する問題