'How do you import Pygame in Sublime Text 4 on Windows 10?

I've been trying to use Pygame on Sublime Text 4 for the longest. But every time I try to import it into Sublime Text it says that there's no module named Pygame. Which is weird seeing how I downloaded it already. I watched multiple videos about this, but nothing I try isn't working.



Solution 1:[1]

Open cmd and type : pip install pygame confirm by click enter and it will install.

Solution 2:[2]

I have noticed that despite being installed on the computer using pip install pygame and testing shows its installed pygameWorking sublime still shows the module is not installed Pygame not working

Still looking for a solution for windows

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 kiciarozek
Solution 2 Jose Ortiz