I installed Pygame Snippets in my Visual Studio Code and then i wrote import pygame, i always got an error
import pygame
ModuleNotFoundError: No module named 'pygame'
I looked for any ways how to fix it at the web, but nothing helped me.
Pygame Snippets is just an extension on vscode. It does not install Pygame for you. Follow the getting started page for Pygame to install.
You should installl pygame package from pip, not snippets.
Snippets is a vscode feature that help you fast coding with code templates.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With