line 3: python: command not found
现在已经全部支持python3
可能你的环境不太对
需要配置环境变量
echo "alias python=/usr/bin/python3" >> ~/.zshrc
source ~/.zshrc
或者重新安装 python
brew install python
Xcode执行脚本发现报错:
python: error: Failed to locate 'python'.
解决方式:
sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Applications/Xcode.app/Contents/Developer/usr/bin/python