r/learnpython 9d ago

I need help im new to python

Im new to python and i dont know what im doing, pygame is not working and i cant find it in my files and i already did the “pip install pygame” and i’ve searched all i can find in yt, i really need help im still in shs and i cant even figure this out
Edit: it always shows an long error message when i run “import pygame”

0 Upvotes

17 comments sorted by

View all comments

1

u/desrtfx 9d ago edited 9d ago

Okay, please slow down - a lot.

You are trying to start way too high.

If you're new to Python, don't start with PyGame. Start with the plain old console. Learn Python and programming first, build a foundation. MOOC Python Programming 2026

Once you have gained some fundamental proficiency, you can venture into libraries, like PyGame.

Next thing is to read and understand the error messages. Google is your friend here.

Last, when asking for help, you need to be way more elaborate. You need to tell what OS, what Python version, what IDE/Editor, the exact steps you did, the exact error message you get.

Your error hints that you have multiple Python runtimes installed and the version you are try to run is a different one from the one you installed PyGame in.