How to INSTALL PYTHON on MacOS (Python Beginner Tutorial)

  Рет қаралды 21,046

Jean-Christophe Chouinard

Jean-Christophe Chouinard

Күн бұрын

Welcome to this video showing you how to install Python on MacOS.
In this video we will walk you through:
- See if Python is installed
- 3 ways to install Python on MACOS
- Validate installation
- Run Python on MacOS
- Install Pip
Full article: www.jcchouinard.com/install-p...
Support my work:
www.buymeacoffee.com/jcchouinard
Subscribe to the Python course waitlist:
ba995fe7.sibforms.com/serve/M...
TIMESTAMPS
00:00 Installing Python for Beginners
00:43 Is Python installed?
00:56 Install with XCode
01:46 Install Python Manually
03:02 Verify Installation
03:12 Run Python
03:27 Install Pip
04:07 See where Python was installed
-----
Subscribe to this channel:
/ @jcchouinard
Follow me:
/ chouinardjc
/ jeanchristophechouinard
www.buymeacoffee.com/jcchouinard
/ @jcchouinard
----
Other Interesting Videos:
- Install Python on Windows: • How to INSTALL PYTHON ...
- Python for Beginners Series: • Python Beginner Tutorials
--
Transcription (automatically generated)
hello everyone my name is Jean-Christophe Chouinard
now today we're gonna learn how to install
python on a Mac machine so I have a
brand new Mac machine right now and I
want to have python installed so what I
will start by doing is I will open the
terminal and I will go here open the
terminal
and then
let's roll that up and what I will see
is if python is installed so how to see
if python is installed is I type python
version
and then I can see python is not
installed so one thing that is very
interesting with a Mac machine is that
it's super simple to install python uh
what you can do there are two ways you
can do is either you type python tree
version
and most new Mac machine what they will
say is okay you don't have a command
line developer tool would you like to
install it if you click install right
here it will take a while it will then
solve the developer tool including
python
so
I will not spend time doing this right
now I I highly recommend if you install
python just click install here the
installation process will come and then
python will be installed this is not
what I want to show right now what I
want to show is the alternative option
that you could use
um
and personally I would just install this
python will be installed and you'll be
gone
if you don't want to do install the
command line developer tool you can also
install python by going through the uh
python Foundation website so python down
loads
and simply download the latest version
of python this way
so it will ask you do you want to allow
it and then you'll install the file and
once the python execute the python
package file is in is is downloaded then
you double click on the file and you
start going through the process of
installing do you agree uh yes and you
want to install it would take some space
yes and then you put your password on
and then you install the software
the installer yes
and okay so now we're almost done
installing python
um it's quite easy you see you have the
python launcher and
one thing I want to see is okay did I do
the right thing so I will re-aunch the
terminal
and what I will see is is python three
version installed and as I can see right
now python 3.11 is installed so
um so that was the second way you could
have installed Python and if you want to
run python you just type uh Python 3 and
then you go here and you say print
hello world and then
great so now you have installed python
uh the other thing you want to do is
command D in order to come back and you
want to see if by pip 3 is
uh install as well so here
um I can see that pip3 is indeed
installed uh in case that you wouldn't
have a pip 3 installed you could use the
command python 3.
get PIP dot pi and running this would
allow you to install python if you want
to know where your python file was
executable file was installed and you
can do which python tree and you could
see here
so this was the way to install
um python tree but then again I would
urge you that you just click install by
the initial recommendation I gave you is
just install the the xcode developer
tool that Mac wanted you to install and
you'll have python installed in the in
the way Mac recommends you to download
it so this was the tutorial thank you
for listening and uh have a have a good
day

Пікірлер: 23
@Lol_Chanz
@Lol_Chanz Ай бұрын
This helped a ton as someone who's new to Python. Thank you, sir!
@edwinfrancisco8116
@edwinfrancisco8116 8 ай бұрын
A short and straightforward video is what I needed! Great video!
@jcchouinard
@jcchouinard 8 ай бұрын
Thank you for the good comment, hope to see some good Python stuff coming up from you someday :) Please help my channel and subscribe😀
@ala4fadeel
@ala4fadeel Жыл бұрын
Thank you! Straight forward without any beating around the bushes.
@jcchouinard
@jcchouinard Жыл бұрын
My pleasure, thanks for the useful feedback, hope you managed to install Python easily
@desisto007
@desisto007 Жыл бұрын
Very helpful, thank you!
@ajaykumarsah4264
@ajaykumarsah4264 Жыл бұрын
Thank so much Sir . Your video really help me to install python in macos . I followed your steps .
@jcchouinard
@jcchouinard Жыл бұрын
You are most welcome, this was a pain in my *** at first :)
@urbexdrw8400
@urbexdrw8400 3 ай бұрын
Thanks man!
@jcchouinard
@jcchouinard 3 ай бұрын
My pleasure!
@user-ro4cn5td8m
@user-ro4cn5td8m 10 ай бұрын
good
@jonm1335
@jonm1335 Жыл бұрын
thank you
@jcchouinard
@jcchouinard Жыл бұрын
My pleasure
@EBStar33
@EBStar33 Жыл бұрын
I downloaded python from the website, and opened the terminal but it keeps saying "command not found" any ideas of what i can do to fix that?
@jcchouinard
@jcchouinard Жыл бұрын
Possibly, you haven't set the path to your environment.
@noahshaju2401
@noahshaju2401 Жыл бұрын
@@jcchouinard whats the solution to this?
@jcchouinard
@jcchouinard Жыл бұрын
@@noahshaju2401 www.mygreatlearning.com/blog/add-python-to-path/
@barbaraulitsky8292
@barbaraulitsky8292 Жыл бұрын
Thank you so much, @jcchouinard! Your video was very helpful for me!
@jcchouinard
@jcchouinard Жыл бұрын
Glad to hear that!
@IamGermanDArrufat
@IamGermanDArrufat Жыл бұрын
I can't download mine, I tried both ways. In the terminal it continues to says "command not found" and on the website there's not a button to press... Help me please
@jcchouinard
@jcchouinard Жыл бұрын
in the Terminal type either: "which python" or "which python3" (without quotes). If still command not found. 1. Install homebrew: /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install.sh)" 2. Add to Path: export PATH="/usr/local/opt/python/libexec/bin:$PATH" 3. Install Python: brew install python
@IamGermanDArrufat
@IamGermanDArrufat Жыл бұрын
@@jcchouinard thank you for responding. Hit the link and "404: not found" appears
@jcchouinard
@jcchouinard Жыл бұрын
@@IamGermanDArrufat This is not a link, it is the command to install homebrew. Check out this page. brew.sh/. You want to copy the homebrew command in Terminal. Otherwise check out my article listing the steps here. www.jcchouinard.com/install-python-on-macos/#3_Install_Python_with_Homebrew
Getting Started With Python (Beginner Python Tutorial) | jcchouinard.com
16:24
Jean-Christophe Chouinard
Рет қаралды 1,3 М.
How to Install Python on Mac OS and How to Run Python code
9:54
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,6 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 23 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 6 МЛН
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 74 МЛН
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,5 МЛН
Aider and Claude 3.5: Develop a Full-stack App Without Writing ANY Code!
16:58
Coding the Future With AI
Рет қаралды 18 М.
How to install python 3 on macos
4:38
Canadian Coding
Рет қаралды 58 М.
Set up a Mac in 2024 for Power Users and Developers
1:00:34
Syntax
Рет қаралды 269 М.
Install Any Software Without Admin Rights?!
2:27
Loi Liang Yang
Рет қаралды 297 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,6 МЛН