Install Python 3 on Ubuntu, Mac or Windows

Python is a flexible and versatile programming language, with strengths in scripting, automation, data analysis, machine learning, and back-end development. Today we will learn how to install python 3 on Ubuntu 18.04

Ubuntu

This process uses the apt package manager to install Python. There are fewer steps, but it’s dependent on a third party hosting software updates. You may not see new releases as quickly on a third-party repository.

Most factory versions of Ubuntu 18.04 come with Python pre-installed. You can check Python version by entering the following:

python ––version

If the revision level is lower than 3.7.x, or if Python is not installed, continue to the next step.

Step 1: Update and Refresh Repository Lists

Open a terminal window, and enter the following:

sudo apt update

Step 2: Install Supporting Software

The software-properties-common package gives you better control over your package manager by letting you add PPA (Personal Package Archive) repositories. Install the supporting software with the command:

sudo apt install software-properties-common

Step 3: Add Deadsnakes PPA

Deadsnakes is a PPA with newer releases than the default Ubuntu repositories. Add the PPA by entering the following:

sudo add-apt-repository ppa:deadsnakes/ppa

The system will prompt you to press enter to continue. Do so, and allow it to finish. Refresh the package lists again:

sudo apt update

Step 4: Install Python 3.7

Now you can start the installation of Python 3.7 with the command:

sudo apt install python3.7

Allow the process to complete and verify the Python version was installed sucessfully::

python ––version

Windows

It is highly unlikely that your Windows system shipped with Python already installed. Windows systems typically do not. Fortunately, installing does not involve much more than downloading the Python installer from the python.org website and running it. Let’s take a look at how to install Python 3 on Windows:

Step 1: Download the Python 3 Installer

  1. Open a browser window and navigate to the Download page for Windows at python.org.
  2. Underneath the heading at the top that says Python Releases for Windows, click on the link for the Latest Python 3 Release – Python 3.x.x. (As of this writing, the latest is Python 3.6.5.)
  3. Scroll to the bottom and select either Windows x86-64 executable installer for 64-bit or Windows x86 executable installer for 32-bit. (See below.)

Step 2: Run the Installer

Once you have chosen and downloaded an installer, simply run it by double-clicking on the downloaded file. A dialog should appear that looks something like this:

Important: You want to be sure to check the box that says Add Python 3.x to PATH as shown to ensure that the interpreter will be placed in your execution path.

Then just click Install Now. That should be all there is to it. A few minutes later you should have a working Python 3 installation on your system.

Install and Run Python in Mac OS X

Follow the steps given below and install Python in your Mac OS X system:

  1. Go to Download https://www.python.org/, python official website and Download Python lastest version. Because you may see different version on python.org.
  2. When Python is fully downloaded, open the package and follow the instructions. You will see the “Installation was successful” message when Python is successfully installed.
  3. After this, download a good text editor in your system. Such as Sublime text editor, visual text editor, pycharm text editor and as you want

24 Comments

  1. joker said:

    Great delivery. Sound arguments. Keep up the great effort. Adiana Jamill Alitta

    December 10, 2020
    Reply
  2. sikis izle said:

    I will immediately grasp your rss feed as I can not find your e-mail subscription hyperlink or e-newsletter service. Domini Scotty Prudi

    December 14, 2020
    Reply
  3. Its Outlet said:

    Fortunately, installing does not involve much more than downloading the Python installer from the python.org website and running it.

    December 17, 2020
    Reply
  4. erotik said:

    Jadi kita layak nya bermain di depan casino sungguhan. Myrta Aubrey Catharine

    December 17, 2020
    Reply
  5. erotik said:

    The borrower can mend their credit score to good by timely repaying of loan money. Saba Orion Godfry

    December 17, 2020
    Reply
  6. sikis said:

    I think you have noted some very interesting details , appreciate it for the post. Edythe Cobb Wilona

    December 18, 2020
    Reply
  7. erotik said:

    Mightyou have anymoreusefulinsights? Interesting content. This information is magnificent. Gwynne Nester Mallory

    December 18, 2020
    Reply
  8. bahis said:

    I think this is a real great article. Really looking forward to read more. Keep writing. Anabelle Rustie Shay

    December 18, 2020
    Reply
  9. bahis said:

    Simply wanna remark on few general things, The website pattern is perfect, the written content is very superb : D. Gwendolin Jayme Rebecka

    December 18, 2020
    Reply
  10. sikis said:

    Excellent! Brings back so many fond memories. Garden Way and what it stood for is as relevant today as it was then. Elka Reinald Delwyn

    December 18, 2020
    Reply
  11. bahis said:

    Very handful of web-sites that happen to become comprehensive beneath, from our point of view are undoubtedly properly worth checking out. Fan Clare Swayder

    December 18, 2020
    Reply
  12. bahis said:

    Pretty! This was a really wonderful post. Thank you for your provided information. Hermina Tracey Royden

    December 19, 2020
    Reply
  13. erotik said:

    Yes! Finally something about MBBS Admission in Bangladesh. Cindi Shay Boaten

    December 19, 2020
    Reply
  14. sikis said:

    Just what I was searching for, thank you for putting up. Gillian Stinky Kwasi

    December 19, 2020
    Reply
  15. bahis said:

    You have brought up a very excellent details, thank you for the post. Danella Waverley Edra

    December 19, 2020
    Reply
  16. torrent said:

    Thank you for your article post. Thanks Again. Much obliged. Carla Jerrie Dow

    December 20, 2020
    Reply
  17. yify said:

    If you try to use fancy or small fonts, your readers might have a hard time figuring out what you are trying to read. Atlante Peterus Sadoc

    December 20, 2020
    Reply
  18. yify said:

    Some truly nice and utilitarian information on this site, likewise I think the pattern has got fantastic features. Kirstyn Hall Sanferd

    December 20, 2020
    Reply
  19. indir said:

    I value the blog post. Much thanks again. Keep writing. Nolie Clarke Libbi

    December 20, 2020
    Reply
  20. torrent said:

    Hi mates, its wonderful post on the topic of cultureand fully explained, keep it up all the time. Donna Morgan Chadwick

    December 20, 2020
    Reply
  21. ucretsiz said:

    If you would like to take much from this post then you have to apply such techniques to your won webpage. Eirena Rik Maxi

    December 21, 2020
    Reply
  22. yify said:

    Great delivery. Sound arguments. Keep up the good spirit. Margo Amerigo Otero

    December 22, 2020
    Reply
  23. Angelita said:

    Saved being a favorite, I like your site!

    Feel free to surf to my web blog … NormandCBupp

    January 10, 2021
    Reply
  24. free porn said:

    We came across a cool web page that you just may get pleasure from. Take a search should you want. Anet Asher Bordiuk

    January 22, 2021
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *