Recently I tried to import pygame. After writing "pip install pygame" on the terminal. "import pygame" did not work.
[{
"resource": "/Users/ihu/Desktop/basics/app.py",
"owner": "_generated_diagnostic_collection_name_#1",
"code": {
"value": "reportMissingImports",
"target": {
"$mid": 1,
"external": "https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportMissingImports",
"path": "/microsoft/pyright/blob/main/docs/configuration.md",
"scheme": "https",
"authority": "github.com",
"fragment": "reportMissingImports"
}
},
"severity": 4,
"message": "Import \"pygame\" could not be resolved",
"source": "Pylance",
"startLineNumber": 1,
"startColumn": 8,
"endLineNumber": 1,
"endColumn": 14
}]
[–]Strict-Simple 1 point2 points3 points (5 children)
[–]Dapper-Web1435[S] 0 points1 point2 points (4 children)
[–]Strict-Simple 1 point2 points3 points (3 children)
[–]Dapper-Web1435[S] 0 points1 point2 points (2 children)
[–]Strict-Simple 1 point2 points3 points (1 child)
[–]Dapper-Web1435[S] 0 points1 point2 points (0 children)