where is pygame installed windows code example Example 1: pygame install pip install pygame Example 2: pygame linux python3 -m pip install -U pygame --user