How to Set Up Python in Visual Studio Code on Windows 10

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

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

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  6 лет назад +40

    Python Tutorial Course for Beginners - Please Chick to View ruclips.net/p/PLS1QulWo1RIYt4e0WnBp-ZjCNq8X0FX0J

  • @chrissabre1761
    @chrissabre1761 5 лет назад +417

    VS code starts at 6:20 if you already have python installed,

    • @houston3414
      @houston3414 5 лет назад +9

      you are a hero

    • @gauravgaikwad889
      @gauravgaikwad889 5 лет назад +1

      Yoyoyoyoy

    • @chrissabre1761
      @chrissabre1761 5 лет назад +1

      Right click near your code, and it opens to give another option to 'run' the code without the debugger,

    • @ennaourimanar3422
      @ennaourimanar3422 5 лет назад

      Thank u

    • @nour.104
      @nour.104 4 года назад +5

      ure the type of person every video needs

  • @yesimoz2701
    @yesimoz2701 4 года назад +868

    When you are trying to learn programming and can't even install python

  • @ayushmanbhardwaj9884
    @ayushmanbhardwaj9884 5 лет назад +58

    If you've already have python and vscode installed just start from here 8:50

  • @andrewsmichael7047
    @andrewsmichael7047 5 лет назад +18

    Thank you so much for the help and may almighty God continue to enrich you with more wisdom and blessings

  • @downerelec4378
    @downerelec4378 3 года назад +2

    I had another environment installed so when I tried to use pylint in vsc (because configuring it in the other was a pain), it gave me errors, reinstalled everything with this tutorial now and its working. Thank you!

  • @prossygwokyalya5128
    @prossygwokyalya5128 5 лет назад +5

    Am totally thankful for this tutorial. I was having a hard time using Visual studio code but not anymore.

  • @rwoodvet
    @rwoodvet 5 лет назад +8

    FFS thank you for helping me figure this out. I finally got VS Code to recognize python.

  • @oceansblue692
    @oceansblue692 5 лет назад +11

    @minute 15:35 "StopOnEntry" is not listed in the launch.json at my end
    How can i add it?

  • @jakubhanak4563
    @jakubhanak4563 4 года назад +2

    After 10 videos finally something what actually helped me ty :)

  • @moe2552
    @moe2552 6 лет назад +1

    Very helpful! Microsoft should reference this video for setting up VScode!!!

  • @phillipmccullough5222
    @phillipmccullough5222 5 лет назад +3

    Thank you so much! You would not believe how long this took me...

  • @lowdowngen603
    @lowdowngen603 3 года назад

    No one can teach python better than you,just loved the way you explained it.

    • @scoc44_siddhesh_waje91
      @scoc44_siddhesh_waje91 3 года назад

      Does it helped you because I want to do it now and I am thinking that this video is old and won't help me

  • @ankitkumawat7373
    @ankitkumawat7373 4 года назад +1

    Thank you so much 😘....
    Life saver ....
    Finally It runs...

  • @gkguru6830
    @gkguru6830 4 года назад

    Because of you and your clear guidance, i installed Python & this editor. Thank you very much.

  • @madhavrajkondawar8242
    @madhavrajkondawar8242 5 лет назад +2

    Thank you so much for your help, the input at 13:24 is really the most helpful one, solved my problem!

  • @kannan3801
    @kannan3801 5 лет назад +5

    very useful to install Java and Python in Vs code..thanks again

  • @yagop8719
    @yagop8719 6 лет назад +4

    Thank you So much!!
    I've been struggling so hard to figure out the setting PATH on Python and Visual Studio Code.
    I followed every step of your instruction and it's working fine now. Thank you again!

    • @matthewheckman4522
      @matthewheckman4522 6 лет назад +1

      Same here! I had to re install everything because I got the path wrong.

  • @palashrathore6277
    @palashrathore6277 4 года назад +31

    when you already installed several versions of python and don't know what to do!

    • @KusogeMan
      @KusogeMan 3 года назад

      have you solved your problem?

  • @junaid_qadir
    @junaid_qadir 3 года назад

    I did like and subscribe your channel. You are the best tutor. Please upload more helpful stuff. Thanks

  • @中西晴奈-v5c
    @中西晴奈-v5c 6 лет назад +11

    Omg thank you so much for this! I had been having trouble doing this.
    This helped me a lot

  • @yaroslavzef7267
    @yaroslavzef7267 6 лет назад +1

    Spaibo bratan! Very pomoglo! Good udachi tebe in 2019!

  • @officialchickenn
    @officialchickenn 4 года назад

    This was epic! [New Subscriber btw]

  • @aadityarathi9475
    @aadityarathi9475 4 года назад +1

    Thanks a lot sir
    You are best

  • @shashwatdalakoti4998
    @shashwatdalakoti4998 4 года назад +2

    What was the use of downloading Python plugin from VS code when you have to explicitly use a pre installed version of python and specify it's path in VS code??

  • @vineetverma6645
    @vineetverma6645 4 года назад

    Just like your previousvideo regarding setting up visual studio, installing code runner helps executing python files too. No need of setting json preferences. Thx for the great help btw

  • @mukundhareddy3034
    @mukundhareddy3034 4 года назад

    Nice way of teaching. Awesome

  • @DKTeluguPranks
    @DKTeluguPranks 6 лет назад +1

    Appreciate the "ProgrammingKnowledge" Team for keeping very helpful knowledgebase videos on the web for the world of programmers. Thanks a lot

  • @taneliheikkila8276
    @taneliheikkila8276 6 лет назад +1

    Nearly lost my mind yesterday with this thing but now suddenly everything makes sense. Thank you!

  • @huberts7944
    @huberts7944 3 года назад

    Thanks a lot! I'm starting python course and I wasn't able to set up python in VS alone.

  • @mitesh95221
    @mitesh95221 3 года назад

    thanks a lot..!! this video is helpful to beginners...

  • @squirekev
    @squirekev 6 лет назад +4

    Helpful installation and up to date with 2018 so thanks!
    VSC must be getting very popular with Python users as the Extension Python MS install is up to 9,319,715 user by now since your Jan 2018 tut upload.
    It feels like a good IDE for familiarizing oneself with for the future for further explorations into C#, C++ , etc.

  • @omkarshinde2059
    @omkarshinde2059 5 лет назад

    Thanks, bro ...Finally, it's working fine #Happy programming...

  • @ellyjoungkyles1548
    @ellyjoungkyles1548 5 лет назад +1

    I have a question that after installing Python and Visual Studio code as followed your instruction, but I can't see the reload button in the VS but there are two button; one is disable, and the other is uninstall. Do you know why I don't have reload button and how to resolve this issue?

  • @szymson2209
    @szymson2209 4 года назад

    thanks for help you help me better than my teacher

  • @luxiao7419
    @luxiao7419 6 лет назад

    The configuring process really extinguishes a beginner's interest and ambition.

    • @PixDDD
      @PixDDD 6 лет назад +1

      also filters out the weak early. Programming is half looking up solutions and guides for your problems especially early on, so you need to be willing to do this.

    • @luxiao7419
      @luxiao7419 6 лет назад

      Yes, you're right. I failed many times in configuring python. At last, I gave up and switched to pycharm. But your video let me run my first python program successfully in vscode, thanks anyway.

  • @primz01
    @primz01 2 года назад

    Thanks a lot man you really saved my day

  • @Christichy
    @Christichy 4 года назад

    You are best man !

  • @gorgeouspirate4378
    @gorgeouspirate4378 3 года назад

    🙌🙌🙌🙌 thank you sir.

  • @KRISTONGOODEN
    @KRISTONGOODEN 6 лет назад

    my launch jason doesn't tell me the path like yours. and when i pressed debug the launch JSON option didn't come up

  • @sayanikamadhuhansi4361
    @sayanikamadhuhansi4361 2 года назад

    Thank u soo much.It works properly..🙃

  • @zubinshah4589
    @zubinshah4589 2 года назад

    thanks a bunch, this resolved my issue.

  • @tetaliteja
    @tetaliteja 4 года назад

    Quick question on the python packages. VS Code is not able to find the modules i installed via pip...Any video on that would be great...

  • @Calm_Energy
    @Calm_Energy 5 лет назад +1

    Thank you so much for this! Especially @11:38

  • @haydhn1474
    @haydhn1474 6 лет назад +14

    My launch.json file doesn't have the same settings as yours. I don't have a stopOnEntry setting. Is there a way I can add this? I tried just typing it in like it is in your file but it doesn't work.

    • @mcstar8885
      @mcstar8885 6 лет назад +1

      did you find a way to solve this? I'm having the same problem

    • @haydhn1474
      @haydhn1474 6 лет назад +1

      I didn't. I ended up uninstalling VS and just grew accustom to using the Python IDLE. If you're a beginner like me I recommend using the Python IDLE, it's simple and doesn't have any bells and whistles but if you're just learning Python it's adequate.
      Also, what version of Python do you have installed? I'm using 2.7 and I suspect that's why my .json file settings were different.

    • @mcstar8885
      @mcstar8885 6 лет назад

      Haydhn mine is v3.5

    • @vithuuthaya9832
      @vithuuthaya9832 6 лет назад

      Try this,
      {
      "name": "Python: Current File",
      "type": "python",
      "request": "launch",
      "program": "${file}",
      "console": "integratedTerminal",
      "stopOnEntry":true
      },

    • @nithinsreenivas4123
      @nithinsreenivas4123 6 лет назад

      you forget to add "envfile"

  • @ppmico
    @ppmico 5 лет назад

    thanks man u solved a huge problem for me

  • @raphaelraenato1602
    @raphaelraenato1602 4 года назад

    It's working thank you so much sir....

  • @9artsstudio75
    @9artsstudio75 2 года назад

    awsome........its help me a lot ...

  • @10thpassgaming39
    @10thpassgaming39 3 года назад +1

    thx bro its help me a lot

  • @iSynbio
    @iSynbio 4 года назад

    非常认真的讲解,感谢!

  • @Rakesh-tm7ls
    @Rakesh-tm7ls 4 года назад

    Thank you sir ,this video is very helpful.

  • @stefancc83
    @stefancc83 6 лет назад

    It worked for me. Many Thanks!!!

  • @cyberpunk7088
    @cyberpunk7088 6 лет назад +139

    why cant i just run python by just one click ?

    • @donniemp3
      @donniemp3 6 лет назад +54

      wouldn't that be perfect? If everything ran immediately

    • @AnandSharma-lt8wq
      @AnandSharma-lt8wq 6 лет назад +6

      It's that exactly what I want.

    • @alvaro58139
      @alvaro58139 6 лет назад +11

      Pycharm is made for python, you can with it

    • @gedionatphysicsmathelectro1867
      @gedionatphysicsmathelectro1867 6 лет назад +2

      It should. At least it is better than Notepad++

    • @張宇-b5c
      @張宇-b5c 6 лет назад +5

      the plugin coderunner can meet your needs

  • @sinnerman-i4r
    @sinnerman-i4r 4 года назад

    Thanks man! This video helped :)

  • @kaizen9554
    @kaizen9554 3 года назад

    Great video. thank you soo much.
    I got soo feedup with atom failing and crushing all the time. this is obviously a much robust editor

  • @chakshuprajapati698
    @chakshuprajapati698 4 года назад +1

    When I m defining a constructor means a __init__ method then I have to write self in the brackets which is not the case with pycharm. It automatically done In pycharm when you click on the __init__ method . So any trick to do this shortcutly in vs code?

  • @anime_blizz5737
    @anime_blizz5737 2 года назад +2

    12:30 i did'nt get this python path option

  • @ashaseeb
    @ashaseeb 2 года назад

    excellent explanation, thank you great job

  • @ananyadutta5462
    @ananyadutta5462 2 года назад

    It's really help me👍

  • @anupmestry2280
    @anupmestry2280 2 года назад

    Thanks a lot, video was helpful

  • @sameerdas2468
    @sameerdas2468 4 года назад

    Which linter do you recommend for us

  • @LucianaCuarelli
    @LucianaCuarelli 5 лет назад +2

    I followed all the steps but my launch.json is a little different than yours, is there any problem?
    I can debug it by the way.....

  • @jigneshdevganiya7107
    @jigneshdevganiya7107 3 года назад

    Very supportive video, Thanks

  • @nikunjsaraf5150
    @nikunjsaraf5150 5 лет назад

    Helped a lot!! THANKS

  • @hercules3484
    @hercules3484 6 лет назад

    Awesome...very helpful. Thank you very much.

  • @ravitiwari4885
    @ravitiwari4885 3 года назад +1

    Hello Sir I am Follow All process but 09:34 In Time NOT Showning Reload Option
    please reply as well soon Thank you sir

  • @meenupradeep6126
    @meenupradeep6126 4 года назад

    Amazing video..thank u

  • @maio824
    @maio824 5 лет назад +10

    It says "No README available." whenever i try to install the extension

  • @sweetcake1080
    @sweetcake1080 5 лет назад

    Thank you straight from Brazil ;D

  • @Venkatesh-Im-ur-dad
    @Venkatesh-Im-ur-dad 4 года назад

    I have a pyton files to install some application and i have a batch scripts to setup the application.. how can i automate all these sripts to install in one single package? Is there a way we can execute them we install as a package with out executing manually?

  • @aaronherman1618
    @aaronherman1618 6 лет назад

    Super helpful! Thanks!

  • @jeffreynwankwo7912
    @jeffreynwankwo7912 5 лет назад +1

    Clearly explained.

  • @jimboyrobias5641
    @jimboyrobias5641 4 года назад

    thankyou man! big credits for u!!

  • @palashcse80
    @palashcse80 4 года назад

    Without going to debugg can I use vsc to run python file. I mean install pylint can run python file without configure debugging section

  • @reverseeditions8384
    @reverseeditions8384 2 года назад

    Is it necessary to install pythom before vs code studio ? Coz i installed it after

  • @dkalitka9540
    @dkalitka9540 6 лет назад +1

    good stuff bro! helped a lot, works just fine

  • @HiteshWrites
    @HiteshWrites 3 года назад

    Thanks, it was helpful

  • @avinashreddykn
    @avinashreddykn 6 лет назад +8

    Hi, thanks for making this video, very helpful. However, when I install Visual Studio code and go to launch.json, the code I see in my system is different what is shown in the video. 'pythonpath" is not at the beginning but its at the end of the code and though i change the path in user settings I still get some error which states that path which i have given is not recognized. Plz help

  • @trickyeducare1804
    @trickyeducare1804 2 года назад

    thank you so much brother❤

  • @vidushi55
    @vidushi55 6 лет назад

    Thanks a lot!! Very helpful video.

  • @awildmartian9069
    @awildmartian9069 3 года назад

    Sir i personally love u. Thanks

  • @fai905
    @fai905 4 года назад +1

    Can i install vs code first that python?

  • @_JaydeepJadhav
    @_JaydeepJadhav 3 года назад

    I had a question , can I use both C++ and python in vs code simultaneously?

  • @gkguru6830
    @gkguru6830 4 года назад

    For me , no errors came. Worked fine.

  • @vishaljhaveri6176
    @vishaljhaveri6176 5 лет назад

    Thankyou man!🤍

  • @f_x9771
    @f_x9771 6 лет назад

    Great video my brother, very helpful!

  • @ishanajmeri3275
    @ishanajmeri3275 5 лет назад +1

    thanks ,its really helpful.:)

  • @praveenRNSMCA30
    @praveenRNSMCA30 5 лет назад

    Thanks for your video.

  • @rj7108
    @rj7108 5 лет назад +2

    Thank u so much bro..

  • @seanearnest
    @seanearnest 5 лет назад +1

    Does anyone have a good benchmark for how long Python installation should take? In this video it looks like it took only a few seconds, and for me it took several minutes. I consider my system fairly fast (16GB RAM, i7-6700 processor, 128GB SSD) so not sure what the holdup is...Should I be concerned? Thanks!

    • @seanearnest
      @seanearnest 5 лет назад +1

      Looks like his installation of VSC went faster than mine as well...beginning to suspect something may not be right with my system.

  • @JigneshPatel-bw5pq
    @JigneshPatel-bw5pq 6 лет назад

    It was really very helpful and perfectly explained....Thank you

  • @MexicanRmz
    @MexicanRmz 5 лет назад

    Nice video man, thanks.

  • @rs._._rathore
    @rs._._rathore 4 года назад +1

    When I was on the launch.json part, in the configurations part I didn't have the no configuration option because of which I couldn't change or modify the path. Please help!!!!

    • @mello9686
      @mello9686 4 года назад

      unless your getting a error the json file thing isnt a issue that part has been updated

  • @frankfarfan3107
    @frankfarfan3107 3 года назад

    thank you so much bro, it was very util at my stage jajaja

  • @cameronspencer5112
    @cameronspencer5112 5 лет назад +1

    Thanks so much, this really helped me out alot
    +1 Subscriber

  • @georgiaball3772
    @georgiaball3772 4 года назад +1

    Can u use sublime?

  • @bubavunga397
    @bubavunga397 3 года назад

    you know it will help you when they have an indian accent
    thank you indians for making youtube tutorials all day

  • @mentedecuriosidad
    @mentedecuriosidad 5 лет назад

    well guess what! you are de best bro!

  • @ferdans6270
    @ferdans6270 5 лет назад +1

    I couldn't find the build.json file, I'm using python 3.7.0 and the latest version has different settings please help!

    • @zeegay
      @zeegay 5 лет назад

      me too

  • @PreludeSon
    @PreludeSon 5 лет назад

    Very very good tutorial...thank you!