我一直在尝试卸载pygame,但我不确定如何卸载,也找不到任何资源来帮助我。 我用命令python3 -m pip install -U pygame -- user
安装了pygame,并试图用sudo apt-get remove --auto-remove python-pygame
卸载它,但它吐了回Package 'python-pygame' is not installed, so not removed
。但是,在终端中,我可以做python3 -m pygame.examples.aliens
,外星人游戏就会出现。
编辑:请注意,我是Linux的新手,正在运行Galliumos
可以使用命令卸载 PyGame
python3 -m pip uninstall pygame --user
pip 卸载软件包名称工作正常
https://askubuntu.com/questions/1325383/how-to-uninstall-pygame-from-ubuntu
在脚注中找到它