这是我所经历的图片
如果您发现任何重复的问题,请链接它们。我尝试搜索,但没有找到这样的pygame。
我发现了这个问题,然后尝试了这个:
apt-get install build-essential python3-dev python3-setuptools python3-pygame
但仍然不起作用
错误是
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pygame
请告诉我解决这个问题的方法
谢谢
Ubuntu 没有 python3 pygame 软件包,你可以使用 pip
apt-get install python3-pip python3-dev build-essential
pip3 install pygame