how to run pygame project on windows code example Example 1: pygame linux python3 -m pip install -U pygame --user Example 2: install pygame pip install pygame