Setup Python Using Visual Studio Code On Mac | VSCode Python | Python Mac | Python 3

  Рет қаралды 206,725

Sonar Systems

Sonar Systems

Күн бұрын

Пікірлер: 191
@Mashwishi
@Mashwishi Жыл бұрын
1) Download 2) Install 3) Open terminal 4) Run `python --version` Error... zsh: command not found: python Solution: run python3 instead of python only example... `python3 --version`
@Mashwishi
@Mashwishi Жыл бұрын
Solved: run `python3 --version`
@arielperez5739
@arielperez5739 Жыл бұрын
@@Mashwishi it also works on bash :D thanks man
@user-uk6gd1ii4k
@user-uk6gd1ii4k Жыл бұрын
thanks dude
@sebastianrios1142
@sebastianrios1142 Жыл бұрын
I followed all the steps in the video to the letter, I did what you said, but when I want to compile anything this message pops up in the terminal: /bin/sh: python: command not found [Done] exited with code=127 in 0.006 seconds Help please :((
@cmwjacky7488
@cmwjacky7488 Жыл бұрын
Did u fix it? I facing the same problem right now :))@@sebastianrios1142
@busyworksbeats
@busyworksbeats Жыл бұрын
Thank you!! Because a ton of other sources had me going down unnecessary rabbit holes lol
@nickjames2651
@nickjames2651 Жыл бұрын
Thank you so much! I don't get why people just assume we know how to do this like WTF??? Nobody is born knowing this. My intro to programming class at college just neglected all of this I guess they just expect us to teach ourselves and learn from people like you... but then I should be paying you not these greedy entitled professors SMH
@henrycogo3013
@henrycogo3013 9 ай бұрын
Wait until you get into the corporate world. I needed an executive from Microsoft Server Development specifically for Active Directory to advise me to "save your soul and find another way of doing this without the corporate." A year later I did and I am grateful every morning that he shared that life advice with me. Good luck learning and never stop.
@CS-ld7xp
@CS-ld7xp Жыл бұрын
I SPENT 3 Days banging my head and was about to throw my laptop out the window! You saved me!! Thank you
@wodorost9760
@wodorost9760 8 ай бұрын
if you spend 3 whole daysfailing to install python, maybe it is time to reconsider your hobby as coder
@CyberCoderZ1
@CyberCoderZ1 3 ай бұрын
@@wodorost9760No
@jadennancis1057
@jadennancis1057 4 ай бұрын
If after install your getting an error in "output": 1. It needs to be ran in "terminal". You can change that in the run menu, the three dots next to the run button. 2. If you're inputting the command from the terminal on Mac you need to use "python3" not "python".
@mrsomebody9556
@mrsomebody9556 3 ай бұрын
I was getting an error too but once i typed "python3" it worked hahaa
@pranav_too_nice2071
@pranav_too_nice2071 2 күн бұрын
If anyone is facing an issue in running the code in the VS code terminal, try clicking the dropdown option between run and split editor options in the top right section, and select run python file
@sunguidiazhn
@sunguidiazhn 10 ай бұрын
Thanks man video helped a lot for someone like me that had no clue how to do it 🤙
@she_she12
@she_she12 9 ай бұрын
Omg thanks I couldn’t figured how to write code with VS you have saved me!!!!! 🙏😭
@sterlingsteele6839
@sterlingsteele6839 Жыл бұрын
What if I type in python --version in the terminal and it says command not found: python?
@Hanna-rv8wy
@Hanna-rv8wy Жыл бұрын
Not sure if you’re still having this issue but someone else said you have to put ‘python3’ instead and then it’ll work!
@trayjobe6995
@trayjobe6995 11 ай бұрын
yes this is correct do "python3 --version"
@elifberaa
@elifberaa 10 ай бұрын
@@trayjobe6995 thanks a lottt
@PortfoliosXP
@PortfoliosXP 17 сағат бұрын
Thanks mate.. only think is I needed to type python3 --version in my terminal to check the install
@abdelrahman3854
@abdelrahman3854 Жыл бұрын
Hello, when I try running the code it says /bin/sh: Python: command not found can you help me
@sulakshanjoshi3505
@sulakshanjoshi3505 Жыл бұрын
did you find any solution? im also having the same problem
@NehalKaiLan
@NehalKaiLan Жыл бұрын
@@sulakshanjoshi3505 hey i had the same problem and after watching this video I was able to fix the error and run hello world kzbin.info/www/bejne/e5e3ZqZ3dsyGmpIsi=A3WvGEqmv0qjnSPJ
@nalinir9401
@nalinir9401 Жыл бұрын
@@NehalKaiLan thanks a lot brother
@elifberaa
@elifberaa 10 ай бұрын
@@NehalKaiLan thanks a lot u literally saved me
@PrasadKulkarni-nd6qy
@PrasadKulkarni-nd6qy 7 ай бұрын
I'm having the same problem... can anyone tell me the solution?
@umut6488
@umut6488 Ай бұрын
PERFECTLY WORKED THANK YOU SO MUCH
@maureenmbuthia-y9m
@maureenmbuthia-y9m Жыл бұрын
i am beginner know othing about programming and you were the best that i have seen on this,, Thanks
@joshualerch6553
@joshualerch6553 Жыл бұрын
Thanks for the video mate! Do you know how to run the program in the output rather than the terminal?
@LiliLi-sh2sv
@LiliLi-sh2sv 3 ай бұрын
Thanks Bro. Your video really helped me ❤
@garywindsor5127
@garywindsor5127 Жыл бұрын
I installed the latest version of Python but when I run python --version from the terminal it is still showing the old version. Any help would be appreciated please. Thanks
@sudsin7305
@sudsin7305 Жыл бұрын
type python3 --version
@Helenalovedog
@Helenalovedog Жыл бұрын
Thank you so much!!!It helps a lot😃
@oscargonzalez3847
@oscargonzalez3847 Жыл бұрын
Muchas gracias amigo. Saludos desde México 🙂
@SonarSystemsCoUk
@SonarSystemsCoUk Жыл бұрын
De nada
@9to5vlogs
@9to5vlogs 7 ай бұрын
Thank you for helping !! Good luck mate.
@bastabey2652
@bastabey2652 Жыл бұрын
Thanks! I appreciate the tip on how to change the Python version running in VS Code
@SonarSystemsCoUk
@SonarSystemsCoUk Жыл бұрын
:D
@martaadaandy1976
@martaadaandy1976 4 ай бұрын
THNAK YOU!! it helped me a lot !
@izuki9020
@izuki9020 Жыл бұрын
is it normal that i have zsh: command not found: python on my terminal when i try to make sure that i have python on my mac ?
@trayjobe6995
@trayjobe6995 11 ай бұрын
type python3 --version
@عمرووردنتو
@عمرووردنتو 8 ай бұрын
@@trayjobe6995 same problem
@佳穎-u4t
@佳穎-u4t 4 ай бұрын
I did it!!! Thank you very much😍😍
@originsconvo
@originsconvo Жыл бұрын
Thank you! It worked great.
@Keremİslek
@Keremİslek Жыл бұрын
Thanks for the video. It is very helpful...
@TheFoolishNutter
@TheFoolishNutter 2 ай бұрын
I definitely have Python 3 installed (putting 'python3 --version' in my terminal returns my version of Python which is 3.12.4. But every time I try running a Python file in VSC I get the following error: /bin/sh: python: command not found [Done] exited with code=127 in 0.015 seconds
@ericreimitz8059
@ericreimitz8059 Ай бұрын
Had this too. Try to right click and run .py file in Terminal...
@dxrules44
@dxrules44 3 ай бұрын
with installing libraries in the terminal ... its "pip3 install numpy" instead of "pip install" btw
@gc-gh4lq
@gc-gh4lq 9 ай бұрын
THANKS FOR YOUR HELP💙
@useuse7881
@useuse7881 9 ай бұрын
Thanks mate you’ve helped me a lot
@WhiteSirilo
@WhiteSirilo Жыл бұрын
Great video gentleman.
@SonarSystemsCoUk
@SonarSystemsCoUk Жыл бұрын
Thank you kindly
@RabiaBatool-s1b
@RabiaBatool-s1b 3 ай бұрын
thank you very much it was very helpful
@maxylockhart
@maxylockhart 2 жыл бұрын
how to print the output in the "OUTPUT" window.
@santiagomorenohoyos5678
@santiagomorenohoyos5678 11 ай бұрын
Thank you for your video!
@antonioterron2252
@antonioterron2252 Жыл бұрын
hi I follow every step and when I run the function print in the output windows this return to me ("/bin/sh: python: command not found") what I suppose I am doing wrong?
@antonioterron2252
@antonioterron2252 Жыл бұрын
Okay, later I got it I have to run the code in Terminal not in Output :)
@abrarshahrierarnab5028
@abrarshahrierarnab5028 Жыл бұрын
Thanks for the video
@AdailtonSilvaSP
@AdailtonSilvaSP 7 ай бұрын
Tks for the Video!
@itskaytobekaren
@itskaytobekaren 2 ай бұрын
Might be also helpful to someone that if python --version doesn't help then you could do --python3 version and it should show you the version you have installed on your computer!
@gandhamhemanth5083
@gandhamhemanth5083 Жыл бұрын
it should show in output right?
@NateskiRod
@NateskiRod Жыл бұрын
Awesome whats next? What can I do with this now?
@Its_Rick
@Its_Rick 3 ай бұрын
Thanks a lot man
@K.Khalil
@K.Khalil Жыл бұрын
how do you remove the email when you run a code
@lubnalukman105
@lubnalukman105 Жыл бұрын
Tnku so much sir.. 😊
@valentinemaster
@valentinemaster Жыл бұрын
What to do if it says I have an older version when i write python --Version?
@rodion-romanovich-raskolnikov
@rodion-romanovich-raskolnikov Ай бұрын
THANK YOU BRO
@kabelothopola843
@kabelothopola843 Жыл бұрын
Thank you man
@markushenriksson7188
@markushenriksson7188 11 ай бұрын
the king!!
@drewwilkins9963
@drewwilkins9963 Жыл бұрын
after installing python as you showed, i type "python --version" into terminal. It says file not found.
@abrarshahrierarnab5028
@abrarshahrierarnab5028 Жыл бұрын
It will be python --version (it will have double dash)
@MrTrollified
@MrTrollified Жыл бұрын
python3 --version
@shalique3591
@shalique3591 Жыл бұрын
when i am running this same code I am getting blue line below "print". Could any one help why is this blue line coming ,where is the issue.
@abhilashashrivastava871
@abhilashashrivastava871 Жыл бұрын
I followed your steps, I am unable to run the code. for python --version it showing python is not define
@jaredberger3003
@jaredberger3003 Жыл бұрын
run `python3 --version` in terminal
@bhawanaojha5817
@bhawanaojha5817 Жыл бұрын
At output it is saying python command not found how to fix this
@SonarSystemsCoUk
@SonarSystemsCoUk Жыл бұрын
Have you tried restarting?
@DungVu-yt4fz
@DungVu-yt4fz Жыл бұрын
@@SonarSystemsCoUk i tried reseting but it still say python command not found, pl fix this
@amber_ak
@amber_ak Жыл бұрын
@@SonarSystemsCoUk I have the same issue, even after restarting.
@zaad5273
@zaad5273 Жыл бұрын
Thank you !!!!
@tayconner166
@tayconner166 Жыл бұрын
How can I run it from output instead of the terminal?
@mohammadrezakalantari6830
@mohammadrezakalantari6830 7 ай бұрын
very nice
@shifu428
@shifu428 8 ай бұрын
Thanks!
@kekeli_insights
@kekeli_insights Жыл бұрын
I have installed python on my macbook air but when I try to run the version search in the terminal using the command 'python --version', it says "command not found"
@SonarSystemsCoUk
@SonarSystemsCoUk Жыл бұрын
Have you rebooted? Also the command only has one dash python -version
@kekeli_insights
@kekeli_insights Жыл бұрын
@@SonarSystemsCoUk I tried rebooting. Eventually tried “python3 -version” and it worked.
@haadiP
@haadiP 5 ай бұрын
hey guys thought i would let you guiys know that i typer ' python 3 --version' and it worked. I did 2 dashes
@All.rounder.shorts
@All.rounder.shorts 3 ай бұрын
Python : command not found it says even i have python 3 version 😢
@sathyabhushanmn-ge8md
@sathyabhushanmn-ge8md 2 ай бұрын
Which python3
@Shinobi425
@Shinobi425 5 ай бұрын
Everytime I've tried to program after following these steps it just shows me this when I put in a simple 1+2 command (Username)@(Username)-MacBook-Air Test % /usr/local/bin/python3 "/Users/(Username)/Desktop/Test/Test.py" (Username)@(Username)-MacBook-Air Test % I changed all the username stuff for privacy reasons but other than that it looks exactly like this. Does anyone have any ideas?
@Sukobig4llll
@Sukobig4llll 5 ай бұрын
from "run drop down menu" select run python
@Shinobi425
@Shinobi425 5 ай бұрын
@@Sukobig4llll ok thank you
@Shinobi425
@Shinobi425 4 ай бұрын
@@Sukobig4llll When doing this nothing shows up. Print commands work but it just shows the exact same thing
@Sukobig4llll
@Sukobig4llll 4 ай бұрын
@@Shinobi425 I don't think you have any problem since the print command works well The username @... Just shows directory
@Velistar217
@Velistar217 3 ай бұрын
when i type python --version it says not found
@AsvinThakur391
@AsvinThakur391 Ай бұрын
you need to add python 3
@MauricioSantos-ge9hq
@MauricioSantos-ge9hq 2 жыл бұрын
Thanks
@SonarSystemsCoUk
@SonarSystemsCoUk 2 жыл бұрын
:D
@qwqsue8429
@qwqsue8429 Жыл бұрын
thank you so much
@tiffanys_life374
@tiffanys_life374 Жыл бұрын
better to use 'python3 --version' instead of 'python --version'
@MrTrollified
@MrTrollified Жыл бұрын
worked thanks
@Brisaberryy
@Brisaberryy Жыл бұрын
thank you
@sterlingsteele6839
@sterlingsteele6839 Жыл бұрын
thank you
@gokhansever9358
@gokhansever9358 Жыл бұрын
Thanks Bro
@nickjames2651
@nickjames2651 Жыл бұрын
Great video but the audio is pretty rough man. It always struck me as odd that for a lot of these tutorials, the guy is so smart and great at programming but doesn't know how to have good audio haha I don't get it
@dhe8372
@dhe8372 3 ай бұрын
thanks
@AnshimaSingh-o6w
@AnshimaSingh-o6w 4 ай бұрын
thank u
@SonarSystemsCoUk
@SonarSystemsCoUk 4 ай бұрын
You're welcome!
@kashyaprishi5552
@kashyaprishi5552 Жыл бұрын
python command not found it says
@mpimentel14
@mpimentel14 Жыл бұрын
on newer Macs use python3 instead of python so "python3 --version"
@mkhatri007
@mkhatri007 Жыл бұрын
@@mpimentel14 thanks a lot.. was wandering around several KZbin videos just to figure this out,..
@AshmitIITH
@AshmitIITH Жыл бұрын
@@mpimentel14 thanks bro
@ranjankr_yt
@ranjankr_yt Жыл бұрын
@@mpimentel14 thanks
@smritishrestha4170
@smritishrestha4170 Жыл бұрын
​@Apollo samee problemm Did you solve the problem ????? If you plzz let me know plzz😢
@ricardomroberto
@ricardomroberto Жыл бұрын
I do this but get "bin/sh: python: command not found"
@trayjobe6995
@trayjobe6995 11 ай бұрын
type python3 --version
@jalalkhans
@jalalkhans Жыл бұрын
thank you
@SonarSystemsCoUk
@SonarSystemsCoUk Жыл бұрын
:)
@yashgarude2840
@yashgarude2840 Жыл бұрын
Will you please make video or differentiation between using python in mac and window for beginner
@joshuatokosi
@joshuatokosi Жыл бұрын
1:35 said "command not found: python" for me
@emilyrodriguez.
@emilyrodriguez. Жыл бұрын
It says TERM environment variable not set. How can I fix this?
@SonarSystemsCoUk
@SonarSystemsCoUk Жыл бұрын
When does this occur?
@emilyrodriguez.
@emilyrodriguez. Жыл бұрын
@@SonarSystemsCoUk When I try to run the program
@nomansafeer9131
@nomansafeer9131 Жыл бұрын
appriciate
@aporant2
@aporant2 Жыл бұрын
print("it's almost CHRISTMAS, again")
@dynodyno6970
@dynodyno6970 10 ай бұрын
I've watched every tutorial, spent hours on gpt-4, gemini, claude. It is literally impossible for python to work on my macbook. I have files downloaded, I can ask what version, it will tell me. I'll update the path. Nothing works. Works fine on my PC. This is just terrible, honestly. I don't know what you did to your computer to be able to just download python, download vscode, and then run a script.
@nikolaijensen9853
@nikolaijensen9853 Жыл бұрын
i can't find python in the Terminal. Do anyone know why ?
@paladin1015
@paladin1015 6 ай бұрын
Use python3 instead of python
@donquaviousiii3943
@donquaviousiii3943 Жыл бұрын
my python is stuck at version 2.7.16. help?
@SonarSystemsCoUk
@SonarSystemsCoUk Жыл бұрын
macosx-faq.com/how-to-update-python-terminal/
@No-kw2os
@No-kw2os 9 ай бұрын
didn't work for me
@roblox_gameplayz414
@roblox_gameplayz414 7 ай бұрын
BRUH IT DOES NOT WORK
@MyKneeHurts
@MyKneeHurts 10 ай бұрын
good tutorial but too much yapping
Powerful VSCode Tips And Tricks For Python Development And Design
15:50
Getting Started with Python in VS Code (Official Video)
10:20
Visual Studio Code
Рет қаралды 234 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
How to Run Python in Visual Studio Code on Mac OS Big Sur Apple Macbook M1
8:03
Tech Decode Tutorials
Рет қаралды 102 М.
How programmers flex on each other
6:20
Fireship
Рет қаралды 2,6 МЛН
Python Tutorial for Beginners with VS Code 🐍
13:56
Dave Gray
Рет қаралды 369 М.
Visual Studio Code: Selenium 4 Python tutorial
4:48
Tech with Alex
Рет қаралды 14 М.
Setup Python and Visual Studio Code (VS Code) on Mac
4:02
Thomas Janssen
Рет қаралды 27 М.
Python Full Course for Beginners
6:14:07
Programming with Mosh
Рет қаралды 42 МЛН
Getting Started with Jupyter Notebooks in VS Code
6:28
Visual Studio Code
Рет қаралды 65 М.
How to Install Python on Mac OS and How to Run Python code
9:54
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН