How To Install Python


## How to install python on windows Python is a popular high-level, general-use programming language. There are multiple ways to install python in your operating system, be in Windows, MacOS or any of the linux variant (Ubuntu, etc). Here, let us follow python installation from official site on windows 10 OS. First, go to [python.org](www.python.org) website. ![Python install](https://onedrive.live.com/embed?resid=6E7CBA776ABFE44E%211489&authkey=%21ABT5izxTLojIH9k&width=656&height=405) Here go to download section, it will detect your OS and prompt relevant download option. Due to any specific reason, if you wat to install previous version, there are links for previous versions on the same page. ![Download Python](https://onedrive.live.com/embed?resid=6E7CBA776ABFE44E%211488&authkey=%21AFveolhC712F28M&width=656&height=405) Once, python installer is downloaded, you can open it, it will authentical your admin rights needed for installation. It is recommended to select both the checkboxes as shwon in below image. ![python installler](https://onedrive.live.com/embed?resid=6E7CBA776ABFE44E%211487&authkey=%21AKnMl0eK4ofQhy8&width=656&height=405) You can see installation progress during installation... ![python installation progress](https://onedrive.live.com/embed?resid=6E7CBA776ABFE44E%211491&authkey=%21ADRoD1dhm9KXdxo&width=657&height=404) Once installation is successfully completed, you will see below screen. ![installation success](https://onedrive.live.com/embed?resid=6E7CBA776ABFE44E%211490&authkey=%21ALPOGy1N42wKV6g&width=656&height=404) you can check the installation confirmed using following on terminal /command prompt ```terminal C:\python --version Python 3.12.0 ``` ## Install python on Ubuntu ```terminal sudo apt install python3 ``` Once done, you can check the version as below ```cmd python3 --version Python 3.10.12 ``` you can upgrade using following command ```terminal sudo apt --only-upgrade install python3 ``` You can check official documentation at below location: **Tutorial:** https://docs.python.org/3.12/tutorial/index.html **Documentation:** https://docs.python.org/3.12/index.html **What is new in release:** https://docs.python.org/3.12/whatsnew/3.12.html

This post is written by Pravin

Tags :

Share it :      

Leave a comment

captcha


Tags

Elsewhere

  1. GitHub
Ad below