This is the code I have:
import pygame pygame.init()
I\'m very confused because if I try to run the file, then there seems to be no issue,
If you are using vscode then you can go to settings:
vscode
python.linting.pylintEnabled = False
It will fix the problem. If you aren't using vscode then you can go the command prompt and manually uninstall pylint with the command
pylint
pip uninstall pylint.