由于某种原因,需要安装pygame 1.9.6版本。默认使用清华源安装的版本是2.1.2.
于是想当然的就很熟练的使用
pip3 install pygame=1.9.6
结果安装失败。赶快上网找了原因,原来我的python的版本是3.9,需要更新安装很多东西
#install dependencies
sudo apt-get install git python3-dev python3-setuptools python3-numpy python3-opengl \
libsdl-image1.2-dev libsdl-mixer1.2