最新のPython 3.9.2でPygame Zeroをインストール( pip install pgzero )したところエラーになった。
ERROR: Command errored out with exit status 1:
これはPygameの1.9.6がインストールできないため。Pygameの2.0.0を入れて、Pygame Zeroを依存関係無しでインストールするとうまくいく。
pip install pygame==2.0.0
pip install pgzero --no-deps
なお、ダウンロードしたPygameのキャッシュが残っている場合にはうまくいかないので、まずキャッシュをクリアする。
pip cache purge