how to upgrade pygame version code example Example: pip install pygame py -m pip install -U pygame --user