Have you installed pygame?
Yes，and now I put it into Sublime text document.
How did you install pygame?
When you build a python program it runs it using your system’s python installation. The python that ships with ST is exclusively for plugins, not for any software you’re writing unrelated to ST. I suggest following the tutorial on installing packages for python.