How to install and set Pygame on vscode by PukaTech

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 192

  • @orionscythe
    @orionscythe Год назад +43

    If it doesn't work for you and it says python was not found, try using just 'py' instead of 'python' at the start of the command as this worked for me

    • @pukatech
      @pukatech  Год назад +1

      thank you for helping out others

    • @melted_llama_two4194
      @melted_llama_two4194 Год назад +3

      Worked for me mate! thank you!

    • @nightmarelovesbwu
      @nightmarelovesbwu Год назад +3

      Thank you! At first I thought u had to write "py3" and it didnt work, now I wrote "py" and it worked, tysm

    • @malekmansour24
      @malekmansour24 Год назад

      life saver! nothing worked except for this bruh thank you so much.

    • @pukatech
      @pukatech  Год назад

      Glad that you got it working. Please subscribe&like.

  • @jappaappa4074
    @jappaappa4074 Год назад

    I dont even comment on videos but this ended my eternal suffering. Im wathcing this in 2023 and its still relevant! The one video ive found thats worked thank you

    • @pukatech
      @pukatech  Год назад

      Thank you so much @jappaappa4074 Glad you found it helpful.

  • @prilhao2333
    @prilhao2333 Год назад +3

    THANKS FROM BRAZIL MAN, YOU ARE A FUCKING GOD. I HAVE BEEN LOOKING FOR A SOLUTION FOR A HOLE WEEK.

    • @pukatech
      @pukatech  Год назад

      I am glad you found it helpful! Thanks for watching

  • @Elizinity
    @Elizinity Год назад +6

    This is a good tutorial since you also explained how to solve some issues I was having

    • @pukatech
      @pukatech  Год назад

      I am glad you found it helpful. Please subscribe if you like it

  • @susussususuususuusuuususussusu
    @susussususuususuusuuususussusu Год назад +1

    thank you very much, you had put me out of my misery trying to install it thank you

  • @silvershroud3686
    @silvershroud3686 Год назад +2

    Thank you so much,i've been struggling to download pygame.
    THANKS A LOT!!!!

  • @eileen6740
    @eileen6740 9 месяцев назад

    Thanks mate this video was very helpful👍

  • @josephsmar3094
    @josephsmar3094 Год назад +1

    Thank you for that, it really helps. I gave you like!

    • @pukatech
      @pukatech  Год назад

      Glad it helped! Please subscribe to receive future videos. Thanks

  • @pieterkoala2323
    @pieterkoala2323 Год назад +2

    Thank you for your help. I got the problem of that it is not a supported wheel on this platform. But then i just downloaded the second pygame file, and it worked. Thx!

    • @pukatech
      @pukatech  Год назад

      I glad it worked. If the video helped please make sure to like, subscribe, and turn on the bell. Have a good one!

  • @luckybucky1682
    @luckybucky1682 Год назад +1

    I to install pygame and it said it "is not a supported wheel on this format". What do I do?

    • @pukatech
      @pukatech  Год назад

      is your system 32 or 64. you can look up this by pressing the windows key and searching "system information" and then look for "System Type"

  • @陳致希
    @陳致希 Год назад +1

    i have encountered the problem that the errors say ModuleNotFoundError: No module named 'pygame'
    but i have already installed pygame
    can anyone help me
    i will appreciate that

  • @sorisunmul41
    @sorisunmul41 10 месяцев назад

    even if I download the 64-bit pygame, the file explorer tab doesn't pop up.

  • @sakkalwin4932
    @sakkalwin4932 20 дней назад

    for some reason when i tried to get pygame i clicked the link it said "the page you requested was removed" and i pasted the link it said the same thing

  • @nathanvidal9172
    @nathanvidal9172 Год назад

    the snake game works but I have an error that says
    Import ''pygame'' could not be resolved Pylance(reportMissingImports) [Ln1 , Col8]
    is it important knowing that the snake game works? otherwise it was a very nice tutorial.

  • @CrimsonHero81
    @CrimsonHero81 Год назад +1

    hello, I have a question about getting the run button to appear on vscode. I downloaded the python extension as well, but the run button did not appear. For the steps in making the run button appear, could you maybe make a vid going step by step when having to navigate through the terminal? I'm also okay with the instructions being placed on the youtube comment section as well. Here is the timestamp stamp for what I mean. Timestamp (7:00).

    • @pukatech
      @pukatech  Год назад

      you have to install python from their website. 2. install vscode. 3. install python extension on vscode. follow those three steps and you will have the run button on vscode. I hope that answered your question

    • @calmboi6457
      @calmboi6457 Год назад

      i had the same issue and apparently i wasn't typing in the .py at the end of the file name. That fixed it for me, hope it does for u too. Have a good day

    • @ohyourliz
      @ohyourliz Год назад

      you probably accidentally uninstalled python and coderunner reinstall both

    • @sorisunmul41
      @sorisunmul41 10 месяцев назад

      Yes, If you don't write py, you might end up not having the Run button.@@calmboi6457

  • @listed7568
    @listed7568 Год назад +2

    I tried "pip install pygame" but it said The term pip is not recognized.
    What do I do

    • @pukatech
      @pukatech  Год назад

      Did you install python already?

    • @gdspectails
      @gdspectails Год назад

      @@pukatech and did you told him to write "py -m pip install pygame"?

    • @listed7568
      @listed7568 Год назад

      @@pukatech Yes

    • @listed7568
      @listed7568 Год назад

      @@gdspectails I did that too

  • @mofficial_elec_music5915
    @mofficial_elec_music5915 Год назад

    until 17:00 i did all as you showed but i wrote that (in 17:00) and it told me 'ERROR: pygame-2.1.2-cp311-cp311-win_amd64.whl is not a supported wheel on this platform'. i'd like you to answer me, thanks

  • @oMausgp
    @oMausgp Год назад

    Thanks very much ❤

  • @ethanpettis167
    @ethanpettis167 Год назад +1

    im sure its been asked and answered, but all requirements for me are satisfied and everything with the system says pygame is installed correctly and located correctly, however when i import any code including "pygame" it's still never recocnized

    • @pukatech
      @pukatech  Год назад

      Did you try downloading pygame again and see if something changes. Also please make sure you dont miss a step while reinstalling it. If you still get the error let me know and we will hop on discord chat and I can take a look.

    • @pukatech
      @pukatech  Год назад

      are you still having this issue?

    • @Dropzzz_01
      @Dropzzz_01 Год назад

      iam having this issue still
      @@pukatech

  • @brandonw3180
    @brandonw3180 11 месяцев назад

    I either get:
    No module named pip
    or
    Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases
    I feel like this has something to do with where python app is saved on my pc and where vsCode is saved on my pc. not sure though, if anyone can help

  • @roughfpv999
    @roughfpv999 Год назад

    How did you make your animated wallpaper??

    • @pukatech
      @pukatech  Год назад

      I used Livewallpaper on steam it costs about $5

  • @mohammedmemez
    @mohammedmemez Год назад +1

    it says 'Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.'
    please help

  • @cutecutebethoven
    @cutecutebethoven Год назад

    how do i take out other folder from the vscode?

  • @zackikianimations
    @zackikianimations 7 месяцев назад

    It keeps saying ERROR: pygame-2.1.2-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.

  • @chuksbssf
    @chuksbssf Год назад

    i get this message when installing: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases, how do i fix this?

    • @pukatech
      @pukatech  Год назад

      Did you install python already ? What did you run before getting the error message

  • @tweezy2041
    @tweezy2041 Год назад

    w vid, thx for help

    • @pukatech
      @pukatech  Год назад

      I am glad you found it helpful please subcribe if you liked it. Thanks

  • @flyaway3630
    @flyaway3630 Год назад

    the webside you gave for the thing said page is not found

    • @pukatech
      @pukatech  Год назад

      Can you try it again on a different browser and let me know if it works

  • @PATELKRUNALMAHESHBHAI
    @PATELKRUNALMAHESHBHAI Год назад

    It's works, thanks 😇

    • @pukatech
      @pukatech  Год назад

      That's great! Please subscribe if you liked the video.

  • @gnameman8769
    @gnameman8769 Год назад +1

    it said "No module named pip" please help

    • @pukatech
      @pukatech  Год назад

      do you have python installed already?

  • @AnadiMishra-i7w
    @AnadiMishra-i7w Год назад

    How you put that wallpaper, Btw Thanks for the Tutorial Really Helped Me!

    • @pukatech
      @pukatech  Год назад

      You're welcome! I used Livewallpaper on steam and it costs about $5

  • @שלומיתכהןגלאם
    @שלומיתכהןגלאם Год назад +1

    followed every step and it said "No module named pip" what did i do wrong?

    • @pukatech
      @pukatech  Год назад

      Do you have python installed?

    • @ritulkulkarni2603
      @ritulkulkarni2603 Год назад

      Same problem for me too
      Please help

    • @pukatech
      @pukatech  Год назад

      In what part are you having the issue?

  • @toplay4life
    @toplay4life 10 месяцев назад

    Thank you.

  • @ferialkaabi1362
    @ferialkaabi1362 Год назад

    Hello,i do all these steps, but for import pip install pygame , it imports in to the same file on the desktop and thats why it gives an error.can you guilde me?

    • @pukatech
      @pukatech  Год назад

      what error are you getting?

  • @shivmaisuria80
    @shivmaisuria80 Год назад

    ERROR: pygame-2.1.2-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.

  • @azrafsara8746
    @azrafsara8746 Год назад

    Hello. I followed the same steps and pygame downloaded successfully but it doesn't work they say that there is a new release of pip avaible

    • @pukatech
      @pukatech  Год назад

      try this to upgrade pip: py -m pip install --upgrade pip

  • @icy_blaze92
    @icy_blaze92 10 месяцев назад

    Hi please help me out at 17:06 if i hit enter it shows an error that it is not a supported wheel on this platform please what can i do.

    • @kawaiirimuru2909
      @kawaiirimuru2909 10 месяцев назад

      yeah its the same for me as well... if you've found a solution, can you please tell me?

  • @hamadrashid3786
    @hamadrashid3786 Год назад

    I get this error Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

    • @pukatech
      @pukatech  Год назад

      you already installed python right?

    • @Luz3m4Porto
      @Luz3m4Porto Год назад

      @@pukatech i have the same problem, and already installed python

  • @prxrosario5337
    @prxrosario5337 Год назад

    why when i type "ls" it doesnt do anything, it only shows PS C:\Users\Dimple\Desktop\Brian only\snake game python> ls
    PS C:\Users\Dimple\Desktop\Brian only\snake game python> ls
    PS C:\Users\Dimple\Desktop\Brian only\snake game python> ls
    PS C:\Users\Dimple\Desktop\Brian only\snake game python> ls

    • @rarisninja461
      @rarisninja461 9 месяцев назад

      Yo bro same here. Do you still don't know how you fix it? Cuz idk how to fix it

  • @andynux
    @andynux Год назад +1

    gracias me funciono a la perfeccion ... de daba error porque tenia otras versiones de python instaladas

    • @pukatech
      @pukatech  Год назад

      ¡Me alegra saber que funcionó al final! Si encontraste esto útil, por favor considera suscribirte y darle me gusta al video.

  • @emmanuelotiki1555
    @emmanuelotiki1555 Год назад

    I did everything and followed all steps and even the system shows pygame successfully installed yet vscode Says there's no module

  • @michagaming1717
    @michagaming1717 Год назад +1

    thanks you
    !!!!

    • @pukatech
      @pukatech  Год назад

      Please subscribe if you liked the video. Thanks.

  • @InkInStink
    @InkInStink Год назад

    hmm, for me when i type in pip install pygame, it says requirement already satisfied which means its already downloaded but when i type in import pygame(in the normal coding page) it shows as an error. Any help with that? thx

    • @InkInStink
      @InkInStink Год назад

      nvm i got pygame to work somehow lol

    • @pukatech
      @pukatech  Год назад

      I am glad you got it to work! Please subscribe if you liked the video. Thanks

  • @garlapallysumith4834
    @garlapallysumith4834 Год назад

    can you do it for mac m1 also

  • @dinochienxu8811
    @dinochienxu8811 Год назад

    it said No pyvenv.cfg file what do i do please help me

    • @pukatech
      @pukatech  Год назад

      In order to help you please let me know what you did like were you installing pygame or what step were you doing in the video

  • @kamen8009
    @kamen8009 Год назад +1

    все четко и понятно

  • @DuckleJungle
    @DuckleJungle Год назад

    at the complete end it sais it didn´t find the python... what should i do?

    • @pukatech
      @pukatech  Год назад

      In what step did you get that?

    • @DuckleJungle
      @DuckleJungle Год назад

      @@pukatech at the last step. It sais ERROR: pygame-2.1.2-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.

    • @pukatech
      @pukatech  Год назад

      What are the specs of your device?

  • @jadeverhoeven2464
    @jadeverhoeven2464 Год назад

    hello, i have followed the steps and it said i needed to upgrade so i did that but now i don't know how to continue, could you help me out?

    • @jadeverhoeven2464
      @jadeverhoeven2464 Год назад

      Nevermind it works. Thank you for the help 😊

    • @pukatech
      @pukatech  Год назад

      That's great

    • @XxPottahxX
      @XxPottahxX Год назад

      @@pukatech could you explain how to solve this please? thanks

  • @NOTASWEATT
    @NOTASWEATT Год назад

    bruh this doesnt work when i domlowd the pygame 64 which is the same as urs which is the same on my pc and type "is" it says its an error help meeee

    • @pukatech
      @pukatech  Год назад

      What error are you getting?

    • @pukatech
      @pukatech  Год назад

      After what command do you get the error?

  • @booleen130
    @booleen130 Год назад

    After all of that it still says the stuff with the windows store after i paste the code into "python -m ..."

    • @pukatech
      @pukatech  Год назад

      Are you talking about the the code that I used to test at the end of the video?

    • @booleen130
      @booleen130 Год назад

      @@pukatech Nvm I fixed it. The problem was due to me putting a space in my file name and Python didn't like that. Got Conway's Game of Life running... so thanks!

    • @pukatech
      @pukatech  Год назад

      Glad you made it work! Please consider subscribing if the video helped.

  • @ReperGD
    @ReperGD Год назад

    It was smooth sailing until 17:00 for some reason it just came up with a lot of errors.
    -if i typed Python it would say: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. (it is installed)
    -If I typed py it would say: Installing build dependencies ... error
    error: subprocess-exited-with-error

    × pip subprocess to install build dependencies did not run successfully.
    │ exit code: 1
    ╰─> [9 lines of output]
    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)'))': /simple/setuptools/
    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)'))': /simple/setuptools/
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)'))': /simple/setuptools/
    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)'))': /simple/setuptools/
    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)'))': /simple/setuptools/
    Could not fetch URL pypi.org/simple/setuptools/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/setuptools/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)'))) - skipping
    ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
    ERROR: No matching distribution found for setuptools>=40.8.0
    Could not fetch URL pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)'))) - skipping
    [end of output]
    note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error
    × pip subprocess to install build dependencies did not run successfully.
    │ exit code: 1
    ╰─> See above for output.
    has anyone else has this problem or am i doing something wrong.

    • @dunn082_
      @dunn082_ Год назад

      whats ur hardest😁😁😁😁😁😁😁

    • @pukatech
      @pukatech  Год назад

      Are you using windows 10?

  • @kipcalmi
    @kipcalmi Год назад

    i cant import pygame i need help ;-;

  • @fikrilmachmuddin
    @fikrilmachmuddin Год назад

    Mine says module 'pygame' has no attribute 'init' plss solve my problem

    • @pukatech
      @pukatech  Год назад

      what python version do you have?

    • @fikrilmachmuddin
      @fikrilmachmuddin Год назад

      @@pukatech NVM i figure it out already. Thank you!!

    • @pukatech
      @pukatech  Год назад

      That's great! Please subscribe if you liked the video

  • @calmboi6457
    @calmboi6457 Год назад

    hi, after entering the final line for installation of pygame, im getting the following error
    ERROR: pygame-2.1.2-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.
    WARNING: You are using pip version 20.1.1; however, version 23.1.2 is available.
    You should consider upgrading via the 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe -m pip install --upgrade pip' command.
    I have followed all steps leading upto this step exactly and i even tried to fix this using py -m pip install -upgade pip but it didn't seem to do anything. Ur help would be much appreciated

    • @pukatech
      @pukatech  Год назад

      is your system 32 or 64. you can look up this by pressing the windows key and searching "system information" and then look for "System Type"

    • @calmboi6457
      @calmboi6457 Год назад

      @@pukatech it's 64

    • @pukatech
      @pukatech  Год назад

      Hmm Interesting. Can you please watch the video again ans make sure you didn't miss any step leading to that

    • @KL1_Khaled
      @KL1_Khaled Год назад

      the same problem did you solve it ?

    • @pieterkoala2323
      @pieterkoala2323 Год назад +1

      @@KL1_Khaled yeah i solved it by making sure i downloaded the second file on the website

  • @koppulamanjusha9987
    @koppulamanjusha9987 Год назад

    Its giving an error that could not install packages due to an os error 🙃

  • @virom4
    @virom4 Год назад

    I'm getting a "pygame not defined" not sure what I did wrong.

    • @pukatech
      @pukatech  Год назад

      make sure you followed all steps please

    • @virom4
      @virom4 Год назад

      @@pukatech I figured it out! I added another " to the ones at the top and bottom and the game started working again, thank you for the speedy response!

    • @pukatech
      @pukatech  Год назад

      I am glad you got it working. please subscribe if you liked the video.

  • @ヤモです
    @ヤモです Год назад

    Change your fire alarm batteries my dude

  • @ZigSputnik
    @ZigSputnik Год назад

    Your smoke alarm battery needs changing.

  • @Ipromax111
    @Ipromax111 10 месяцев назад

    ITS NOT WORKING THE PYGAME LIBARY DOWNLOAD DOESNT WORK

    • @Ipromax111
      @Ipromax111 10 месяцев назад

      But I download it like the python one and also dont forget to download the latest version or it would not work

  • @Gllory
    @Gllory Год назад

    Just using “”pip install pygame -pre”

  • @Discipline782
    @Discipline782 Год назад

    It is not working at the last

    • @pukatech
      @pukatech  Год назад

      what error are you getting?

  • @ushnafatima
    @ushnafatima Год назад +1

    Did not work i follow all the steps

  • @rakesh2468-utn
    @rakesh2468-utn 10 месяцев назад

    Did not work😭

  • @ghostclone8293
    @ghostclone8293 Год назад

    it didnt work 😥

    • @pukatech
      @pukatech  Год назад

      what error are you getting?

  • @gdspectails
    @gdspectails Год назад +1

    ok i responsed that cuz i celebrated early
    also ratio

  • @InkInStink
    @InkInStink Год назад

    bro change your smoke detector batteries, the thing which might save your life is running out of battery + its annoying

  • @galttig
    @galttig Год назад

    bro, check your smoke detector battery

    • @pukatech
      @pukatech  Год назад +1

      I have already replaced it. Thanks for your concern

    • @galttig
      @galttig Год назад

      By the way, thank you for the video, I should have started with that 😄@@pukatech, The pip install worked fine for me.... maybe that is what the smoke detector was trying to tell me all along.... pip.... pip.....pip

    • @pukatech
      @pukatech  Год назад

      You're funny

  • @Reshma-g9e8b
    @Reshma-g9e8b Год назад

    No it didn't work.

    • @pukatech
      @pukatech  Год назад

      what error are you getting that is causing it not to work?

  • @thedarkstalker5632
    @thedarkstalker5632 Год назад

    it said in red text ERROR: Invalid requirement: './pygame-2.1.2-cp311-cp311-win_amd64

    • @pukatech
      @pukatech  Год назад

      sorry for the late response did you fix this yet or are you still having this issue

    • @thedarkstalker5632
      @thedarkstalker5632 Год назад

      @@pukatech oh um yeah i still am

  • @mitchellhunter8673
    @mitchellhunter8673 Год назад

    I cant get any of the terminal things to work pls help

  • @rajanijijesh3308
    @rajanijijesh3308 Год назад

    Not working

    • @pukatech
      @pukatech  Год назад

      what step didn't work? what error are you getting?

    • @pukatech
      @pukatech  Год назад

      files that you downloaded have these name:
      python -m pip install ./pygame‑2.1.2‑cp311‑cp311‑win_amd64.whl
      or this name:
      python -m pip install ./pygame‑2.1.2‑cp311‑cp311‑win32.whl