Can't get pygame to run

Hi,

I am trying to run pygame, and think I have installed it correctly.

However when I run this: pgzrun C:\Users\catew\python\first_draw.py

A window flashes up for a split second, but does nothing

C:\Users\catew\AppData\Roaming\Python\Python310\site-packages>pgzrun C:\Users\catew\python\first_draw.py
pygame 2.1.2 (SDL 2.0.18, Python 3.10.9)
Hello from the pygame community. https://www.pygame.org/contribute.html

C:\Users\catew\AppData\Roaming\Python\Python310\site-packages>

I suspect the cause is to do with when I run it from another directory it does not work at all:

C:\Users\catew\AppData\Roaming\Python\Python310\site-packages>cd ..

C:\Users\catew\AppData\Roaming\Python\Python310>pgzrun C:\Users\catew\python\first_draw.py
'pgzrun' is not recognized as an internal or external command,
operable program or batch file.

I think I’ve updated PATH correctly, but something is not right!

Did you install pygame zero as the documentation shows?

https://pygame-zero.readthedocs.io/en/stable/installation.html

py -m pip install pgzero