2017-11-30 9 views
2

파이썬으로 음성 인식 프로그램을 만들려고하는데, PyAudio가 설치되어 있어야합니다.이 프로그램에는 PortAudio가 필요합니다. 나는 브루 (그것은 나를주는 유일한 방법)을 통해 PortAudio를 설치하려고하면 오류가 터미널에서 팝업 :homebrew를 통해 PortAudio를 설치할 때 오류가 발생합니다. (MAC)

Updating Homebrew... ==> Homebrew has enabled anonymous aggregate user behaviour analytics. Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics.html

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Error: Failure while executing: git config --local --replace-all homebrew.analyticsmessage true ==> Tapping homebrew/core xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Error: Failure while executing: git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1 Error: Failure while executing: /usr/local/bin/brew tap homebrew/core

는 여기에서 무엇을 해야할지 모르겠어요. 나는 약간의 도움을 사용할 수 있었고 여기서이 질문을 할 것을 권고 받았다. 문제를 일으켜서 미안 해요.

답변

1

는 다시 homebrew 설치를 시도하고, 터미널에서

xcode-select --install 

을 실행 해보십시오.

+1

정말 잘 했어! 정말 고맙습니다! 앞으로 내가 알기 론, 무엇 때문에 명령을 내리라고하셨습니까? – Lionclaw49

+0

'xcrun : error : 유효하지 않은 개발자 경로 (/ Library/Developer/CommandLineTools)'를 봤는데 처음 두 링크 모두'xcode-select --install'을 실행하는 것이 좋습니다. 나는 과거와 비슷한 무언가에 뛰어 드는 것을 기억했다. 그래서 나는 아마도 그것이 당신을 위해 일할 것이라고 생각했다. – Chris

관련 문제