I am trying to import and use pygame:
import pygame
pygame.init()
I use Visual Studio Code and I get the issue saying "Module 'pygame' has no 'init' member".
I have already tried to edit the settings with multiple versions of this:
"python.linting.pylintArgs": [
"----extension-pkg-whitelist=1xml"
]
But it does not work for me. Is there any other way to fix this?