Home > other >  Unable to import pygame
Unable to import pygame

Time:09-16

Recently in an attempt to pygame, but found vscode cannot import pygame and Python IDLE can
Error message
 {
"Resource", "d:/Pythonclass/pygtest py",
"Owner" : "_generated_diagnostic_collection_name_ # 1,"
"Code" : "unresolved - import,"
"Severity" : 4,
"Message" : "unresolved import 'pygame",
"Source" : "Python",
"StartLineNumber" : 1,
"StartColumn" : 8,
"EndLineNumber" : 1,
"EndColumn" : 14
}

Plain text:
The unresolved import 'pygame'

CodePudding user response:

I use is pythoncharm cannot import

  • Related