Uninstalling Pygame on Linux

Uninstalling Pygame on Linux

I have been trying to uninstall pygame, but i'm not sure how and i couldn't find any resources to help me. I had installed pygame with the command python3 -m pip install -U pygame -- user, and attempted to uninstall it with sudo apt-get remove --auto-remove python-pygame, but it spat back Package 'python-pygame' is not installed, so not removed. but, in the terminal, I can do python3 -m pygame.examples.aliens and the aliens game will show up.

edit: please note that i am new to linux and am running galliumos

8

2 Answers

PyGame can be uninstalled with the command

python3 -m pip uninstall pygame --user

pip uninstall packagename works fine

found it in footnotes

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Sophia Al-Mansoor
Author

Sophia Al-Mansoor

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.