xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools),
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit code 1
[end of output]

 

pip install mysqlclient 설치할 때 위와 같은 오류가 떠서 구글링을 해보니...

 

내가 얼마전에 Ventura로 업그레이드 했기 때문이었다.

 

해결 방법!!

 

xcode-select --install

 

 

해결 후

 

 

출처

 

Mac 업그레이드 후 xcrun: error: invalid active developer path 에러 해결하기

MacOS 업그레이드 시 어김없이 발생하는 문제가 하나 있습니다 😫 바로 개발 관련 도구 사용 시 대다수가 발생하는 missing xcrun 에러인데요.

www.hahwul.com

 

복사했습니다!