Một truy vấn newbie khác. Tôi đã đấu tranh để cài đặt matplotlib cho một dự án Python để đọc xung quanh đề xuất Homebrew là một giải pháp vững chắc cho quản lý gói và phụ thuộc.Cách sửa đường dẫn để giải quyết các cảnh báo bác sĩ Homebrew
Tuy nhiên khi tôi chạy chẩn đoán Homebrew tôi nhận được lỗi sau:
$ 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.
Tôi biết đây là một câu hỏi vô cùng đơn giản nhưng làm thế nào để sửa chữa con đường?
Quan trọng hơn, là gói Homebrew hiện tại của sự lựa chọn? Tôi đã nhìn thấy rất nhiều bài viết xung quanh Fink và MacPorts, easy_install và pip mà tôi không thể tìm ra cách thực hành tốt nhất là gì.
[Có thể trùng lặp với câu hỏi này] (http://stackoverflow.com/questions/10343834/homebrew-wants-me-to-amend-my-path -no-clue-how) – avelis