How to Fix The "Module Not Found" Error for Pygame in Under 2 Minutes! [2023]
Вставка
- Опубліковано 29 лип 2023
- How to fix the module not found error when trying to use a python library like pygame.
First check that python and pip are installed and working, then check that the pygame library is installed and lastly change the interpreter used in the editor (VS code and Pycharm)
Written step by step guide with screenshots on my website: www.codingwithruss.com/how-to-...
am i the only one getting errors in command prompt and everything else?
nope
Thanks! I was troubleshooting for an hour, until I came across this vid. Solved my issue!
u r great man. I could not find out single video on youtube to resolve my problem but suddenly your video passed from my eyes. I watched thoroughly and it worked so brilliantly that my problem is solved. thanks alot. you are real champion. thumbs up.. love you.
Thanks for the kind words! I'm glad the video helped resolve the problem :)
Thank you, I had done everything right, just didnt have pygame installed in interpreter settings, your video was the first one that helped!
Thank you so much! I had to change the interpreter in VS code. I think it also helped that I also updated to the latest python version and added it to the path.
Thank you for doing this video! I had work 2 years with python but I never had to install it, the company computer came with it. You are awesome!
Thanks! Your videos are great and easy to follow as a beginner!
Thanks, glad to hear it!
This helped! Thank you but did switching the different interpreter help? What was wrong with the other one if that was the "recommended"
THANK YOU SO MUCH I WAS LOOKING FOR THIS FOR SO LONG
bro thank you so much i've been looking for solutions for an hour...appreciate you
In one minute you resolved my problem, thanks!
Glad to hear it helped!
Thanks. I got my issue resolved by changing interpreter.
Srsly thank you brother you probably saved my hours. I would have been still looking for it.
I was struggling with this, setting to Global fixed it! Thank you!
Glad it helped!
I'm having issues with learning about file pathing to fetch my homemade sprites with for a game I'm making in pygame. Can ya hopefully make a easy tutorial on how to solve this issue please within pygame Russ.
Just what i needed thank you so much💙💙
Hey man, amazing content! I watched your pygame playlist and made a Virtual Pet. Problem is I want to run it in a esp32 with a screen which means micropython instead of python. Currently using an m5stick. Do you know any library I can use to substitute the pygame ones. Currently Im relying on a big sprite sheet and depend on pygame's ability to pick frames form it.
No I haven't really got any experience with that I'm afraid. Hope you get it figured out!
Thank yoy so, so, so much. This helped me with other modules!
Glad it helped!
thank you bro i try all types of ways to fix this issue only your worked thank you bro your a life saver
Glad it helped!
Thank u so much man! :)
thank you so much! for this video, I'm struggling about that issue for a week and your video show up and it is easy to understand for begginer like me sir can i ask to make you a video about in enemies that random spawn with different color in a same position? I hope you notice my request thank you so much!
Thank you , this video is great and easy !
you won a new subscriber, thanks for your help
Glad it worked
I have on problem In ursina game engine I make a 2d space indavzer in ursina so all enemis are in a list so when I want to kill enimes from game i use to destory(entity) but suddelny I get error that !is_emtpy() at line 1045 etc something like this
I can't able to destory entity when I use destory method in ursina
Thank you so much for your help
Oh my god you saved my freaking life i was getting crazy man no joke, thank you
Glad I could help :)
another common coding with russ w thanks so much
😁
Thank you . May you receive divine help
Thanks you resolved my problem :)
thanks. this topic was so useful.
Glad to hear it!
Thanks this whole time it was pycharm for me.
Glad you got it working!
when I do it this mesage pos up: Failed to set interpreter path. Error: Unable to write into user settings. Please open the user settings to correct errors/warnings in it and try again.
Thank you sir, thank you so much!
Glad it helped :)
How do i fix the sprite not loading in vscode i use ur method but it says file not found in current directory how do i fix this
Thankyou sir 😊
Thank you! Finally i can fix this issue
Glad it helped!
FINALLY! Thanks!
i installed python AND EVERYTHING. but it shows the error: module 'tokenize' has no attribute 'open'. does it have something to do with me not having paid for it? i have the comunity version
thanks for sharing , it helped a lot. :)
Thank you , solved my problem
Nice!
i have this issue: UnicodeEncodeError: 'charmap' codec can't encode character '\u200e' in position 43: character maps to what do i do?
Thank you so muchhhhhhhhh it really helped
Nice!
Hey man
can you tell me if I should learn the basics of any language I want to use or just git into the middle of the process
For example if I want to code "tic tac toe" using python
Do I need to learn the basics of python coding from the begining?
Or just go and program what I want (tic tac toe)?
Yes I'd say you would want to learn the basics of the language first. So if you want to make games with pygame then the first step would be to learn the basics of python. Then jump into some tutorials for simple games like tic tac toe and build up from there.
@@CodingWithRuss thank you man I appreciate the advice
I have an error that says:
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
But triton does not exist and cant be installed with "pip install triton"
Hi can u please make more ursina python tutorial
I am not sure if you will reply but what if I am on python shell?
Bless you!
Thank you so much !!!
Glad it helped!
Thanku bro
Absolute lifesaver omg
🙂
I didn't find "interpreter settings"
Can someone help? I'm working in IDLE, and I followed all the steps except for the interpreter changes. Is there a way to add pygame as an interpreter in IDLE?
Pygame works on my school computer, so I know the issue isn't my code, but when I try to run the program on my home computer I get the error. If anyone has any ideas as to what might be the problem, I'd really appreciate it!
VSCode was my issue thx man
Glad to hear you got it working
oh man i really need help, i did everything and nothing the same error.
the module is installed ,i print the list and the module is there but when i run it in windows cmd it says error modulenotfound named speechrecognition
i have also done the last step changing the interpreter in visualstudiocode and stiil nothing
Same shit is going on with me.. Did you get the solution
thanks for this video. you have solve my problem.
Glad it helped
thank you
Thanks! I love you
What if its not on the list please help
Thanks Bro, It is very Usefull, mainly for project, and Can you teach us how to asking Players name in pygame?
Yes sure, check out this video for a tutorial: ua-cam.com/video/7ZR-XIDbZag/v-deo.html
@@CodingWithRuss Thanks Bro ☺️
I have the right interpreter with all the things installed and still get the error
pls help. i try to install the package and it said error occurred.
how could i do this in sublime text
ty bro u help a lot
No problem!
I havent "pip" and i can nothing, how to fix it?
Thanks bro
thanks bro
Obrigada. Você me salvou! ❤🎉
legend
thank you sooo much
Glad it helped :)
Thankyou sooo muchh
😁
Good information
Thanks
Awesome
thankd
Oh my gosh thank you
Y si nada de esto me funciona ?
sublime text, I reinstalled it once but now it doesn't work
the module is in the same folder as the main.py fike, but it still says module not found error
I'm getting same.. Did you get any solution
stupid easy, perfect tutorial
saved my life
didn't work for me, i was trying to find the logic module and no matter what i tried, it didn't work. plz help 😫
Make sure as your doing this your wifi is connected
@@ugochukwuesomonu8848 it is
muito obrigado, perdi mts horas tentaando resolver esse prooblema
I use python IDE and i cant find a solution to this please help
Which step did you get to in the video?
@@CodingWithRuss I did the first few it's the last step because I am in IDLE not VS
thanksssssssssssssssssssssssssssssssssssssssssssssssssssssssss How many days have I been trying to solve
Glad it saved you some pain :)
last step work , was working on python from Microsoft store lol
Where the F Interpreter setting is
Where is command prompt
PhCharm issue! Thanks.
Nice! Glad it helped
hey my name is russ too
it not working in win 7,Why
I haven't tried this on win 7
i can't open cmd
Bro just press win+r then type cmd
The last-one was help.....
Not working …
thanks bro