CODING/AI & ML & DL
[MacOs / Error] xcrun: error: invalid active developer path 해결법
밍톨맹톨
2022. 2. 13. 13:51
728x90
728x90
맥북에서 konlpy의 mecab을 사용하기 위해 코드를 쳤는데
configure: error: C compiler cannot create executables
이런 식의 에러가 나와서 'gcc -v'를 쳐봤더니
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
오잌,,!
[ 해결방법 ]은 터미널에 아래 코드 작성하고 설치하기
xcode-select --install
그리고 나서 다시 mecab 깔았더니 성공
728x90