방금 OSX Yosemite로 업그레이드했습니다. 나는 brew doctor
를 실행하고 생성하는 경고의 엄청나게 중 하나입니다 해요 :OSX - 내 경로에 파이썬을 추가하는 것을 찾을 수 없습니다.
Warning: /usr/local/share/python is not needed in PATH.
Formerly homebrew put Python scripts you installed via `pip` or `pip3`
(or `easy_install`) into that directory above but now it can be removed
from your PATH variable.
Python scripts will now install into /usr/local/bin.
You can delete anything, except 'Extras', from the /usr/local/share/python
(and /usr/local/share/python3) dir and install affected Python packages
anew with `pip install --upgrade`.
나는 조심스럽게 찾아 봤는데 나는 내 길에/usr/지방/주/파이썬을 추가 찾을 수 없습니다. 내 .bash_profile에는 python에 대한 언급이 없습니다. /private/etc/paths.d에는 "git"이라는 파일 만 있습니다. 나는/usr/local/share/python의 인스턴스를/private/etc/paths에서 찾았지만 삭제했다. 그러나 그 후에 새 터미널을 시작한 다음 brew doctor
을 다시 실행해도 경고 메시지가 나옵니다. 아무도 내가 이것을 막을 수있는 방법을 제안 할 수 있습니까? 그것은 나를 미치게 만든다!
... 사람들은 아직도 양조보다 맥 포트를 선호하는 이유를 묻습니다. (Yosemite 업그레이드 후 나에게 아무런 문제가 없음) : P – daveoncode
한동안 양조를 업그레이드하지 않았다면이 증상이 나타날 수 있습니다 에러 메시지에 이렇게 적혀 있습니다). 이전에는'/ usr/local/share/python'을 사용했습니다. FWIW 나는 나의 업그레이드에 대해 그런 경고를하지 않았다. (하지만 이것은 내 PATH를 매우 방어하기 때문일 수있다.) –