Can't install library in the macOS terminal

Copy and paste the command line and output from the terminal so that we have a clue what is going on.

I believe the output was posted above:

Googling this message, I found this SO question which suggests that there’s something messed up with the installation, but it’s hard to diagnose from here. Possibly running python -m ensurepip would solve it, but maybe not.

Requirement already satisfied: pygame in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (2.5.2)

WARNING: There was an error checking the latest version of pip.

When I come back to python, it still says that is is not installed

Okay so now it appears that pygame is installed for python 3.12 but you’re trying to use it in a different version. What is sys.executable when you run python now?

I forogot to uninstall the 3.13 in the framework, it works but the warning is still out

Thanks for helping!

Thank you. Your answer is the solution I’ve been seeking for 2 days now. As a newb… I’m pretty stoked to have this handled now.