2012-10-12 18 views
5

एक और नौसिखिया क्वेरी। मैं एक पायथन परियोजना के लिए matplotlib स्थापित करने के लिए संघर्ष कर रहा हूं, इसलिए सुझाए गए होमब्रू पैकेज प्रबंधन और निर्भरताओं के लिए एक ठोस समाधान था।होमब्रू डॉक्टर चेतावनियों को हल करने के लिए पथ कैसे ठीक करें

हालांकि जब मैं 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. 

इस एक अविश्वसनीय रूप से सरल प्रश्न है, लेकिन कैसे मैं पथ ठीक करते हैं?

अधिक महत्वपूर्ण बात यह है कि होमब्री पसंद का वर्तमान पैकेज है? मैंने फिंक और मैकपॉर्ट्स, easy_install और pip के आसपास इतने सारे लेख देखे हैं कि मैं सबसे अच्छा अभ्यास नहीं कर सकता हूं।

+0

[इस प्रश्न के लिए संभावित डुप्लिकेट] (http://stackoverflow.com/questions/10343834/homebrew-wants-me-to-amend-my-path -no-सुराग है कि कैसे) – avelis

उत्तर

6

समय बर्बाद करने के लिए क्षमा। पथ बदलने के बारे में महत्वपूर्ण सवाल पहले से ही इस प्रश्न में उत्तर दिया गया है: How to modify PATH for Homebrew?

 संबंधित मुद्दे

  • कोई संबंधित समस्या नहीं^_^