This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hi,
I've recently install pygame via VS Code, and I did the check to ensure it's fully installed. I tried to test pygame by simply typing "import pygame" but an error came. It says that it cannot find pygame module.
Image 1: The \"check\" because when trying to install again, it says it's already installed.
Image 2: Testing pygame by simply importing it
Image 3: Error appears in terminal because pygame could not be found
Does anyone know what to do to fix the problem?
Thanks in advance!
VScode might be using the wrong interpreter. I faced something similar and, bottom right I think it says python3.11 and you can select it and change to another interpreter if one exists. Just something to check. Once I did that I could import and run pygame fine.
Subreddit
Post Details
- Posted
- 2 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/pygame/comm...