记录下macOS中遇见的xcode-select: Failed to locate 'python', requesting installation of command line developer tools.
问题
解决办法
cd $(xcode-select -p)
- 然后进入
cd usr/bin
,ll | grep python
发现没有python
- 执行
sudo ln -s ../../Library/Frameworks/Python3.framework/Versions/3.9/bin/python3 python
,此时报错解决