Join us
@ganesh_dhasade ・ Jul 02,2022 ・ 3 min read ・ 484 views
Cover all steps required to install Python into your Mac or Windows or Linux machine. At the end of this blog you will be ready to start and explore the Python programming world.
Introduction:
In this blog I cover all steps required to install Python into your Mac or Windows or Linux machine. At the end of this blog you will be ready to start and explore the Python programming world.
1.Python on Mac
Since macOS version 10.8 it comes with Python 2.7 pre-installed by Apple. Which you can upgrade or install by following below simple steps below.
i. Check which Python version pre-installed into your mac.
cmd+space_bar
on keyboard & search for terminal.app
to open terminal.python --version
to check current version of python.python3 --version
to check python3 available in the system,ii. To install Python version 3 into mac.
Congratuation! Python 3.10.5 for macOS or later was successfully installed.
iii. Check Python3 Installation successful or not.
terminal.app
& type python3 --version
2. Python on Windows Machine
Windows Machine not come with pre-installed Python. To install Python on Windows machine follow below steps.
i. Install Python3
Setup was successful
— now close this window.ii. Check installation successful or not.
You can check python installation by 2 option
Python IDE
& press enter.python --version
it will display an output with Python and its installed version number.cmd
& press enter.python
this will open same shell as Python IDLE. If it throws means Python not present in your system path.Environment Variables
Edit the system environment variables
Environment Variables
Path
and Edit
;
semicolon at end of path.python
if path added correctly it will open Python IDLE type shell.python --version
this will display installed Python version.
3. Install Python on Linux or Ubuntu
Mostly Python not pre-installed into Linux or Ubuntu. To install Python follow below steps.
i. Install Python3
super_key or windows key
& search terminal
& press enter.sudo apt install python3
sudo apt install python3-pip build essential python3-dev
ii. Check Python installation successful or not.
python3 -V
to check current version of python.
Conclusion:
In this blog, I tried to cover all steps required to install Python into your Mac or Windows or Linux Machine.
I hope you like this blog, feel free to join me on LinkedIn. I love to know your thoughts on this article and feedback.
Thank you for reading.
Join other developers and claim your FAUN account now!
Influence
Total Hits
Posts
Only registered users can post comments. Please, login or signup.