1.MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题
打开terminal,执行命令:
xcode-select --install
如果仍然不行,使用命令:
sudo xcode-select -switch /
2.python 3.8 安装pygame, ERROR: Command errored out with exit status 1
使用命令:
python3 -m pip install pygame==2.0.0.dev6