Skip to main content

Python 3 Installation on Windows

 Step 1: Select Version of Python to Install

The installation procedure involves downloading the official Python .exe installer and running it on your system.

The version you need depends on what you want to do in Python. For example, if you are working on a project coded in Python version 2.6, you probably need that version. If you are starting a project from scratch, you have the freedom to choose.

If you are learning to code in Python, we recommend you download both the latest version of Python 2 and 3. Working with Python 2 enables you to work on older projects or test new projects for backward compatibility.




Step 2: Download Python Executable Installer

  1. Open your web browser and navigate to the Downloads for Windows section of the official Python website.
  2. Search for your desired version of Python. At the time of publishing this article, the latest Python 3 release is version 3.7.3, while the latest Python 2 release is version 2.7.16.
  3. Select a link to download either the Windows x86-64 executable installer or Windows x86 executable installer. The download is approximately 25MB.

Step 3: Run Executable Installer


1. Run the Python Installer once downloaded. (In this example, we have downloaded Python 3.7.3.)

2. Make sure you select the Install launcher for all users and Add Python 3.7 to PATH checkboxes. The latter places the interpreter in the execution path. For older versions of Python that do not support the Add Python to Path checkbox, see Step 6.

3. Select Install Now – the recommended installation options.


Step 4: Verify Python Was Installed On Windows  


  1. Navigate to the directory in which Python was installed on the system. In our case, it is C:\Users\Username\AppData\Local\Programs\Python\Python37 since we have installed the latest version.
  2. Double-click python.exe.
  3. The output should be similar to what you can see below:


Comments

Popular posts from this blog

How to Install PyCharm? (Windows, Mac, Ubuntu)

  A little introduction PyCharm is one of the widely used IDE for python programming and used by many programmers these days. It is available in three editions: Professional, Community and Educational (Edu). We will prefer Edu edition as it is an open source and free to use. Also, it fits our purpose of learning python as a beginner. If you have already installed pycharm or some other compiler you can skip this and read the tutotrial here>>  Let's Get Started with Python Install PyCharm You can go to the official page and follow the guide to installation, to go to the official page  click here  or stick with me and follow the steps below. This is the direct link to install PyCharm Edu>>  click here Already Installed PyCharm Community or Professional? Then you just need to install EduTools Plugin. To install the plugin follow these simple steps: 1.         Go to Files>>Settings... or Press Ctrl+Alt+S to open Se...

How To Create Super User In Django

  1. Install Python 2. Open Command Prompt 3. Type pip install Django 4. Go to your new folder directory 5. Open powershell or CMD 6. Run django-admin 7. Run django-admin startproject projectname 8. And Its Done Creating an admin user ¶ First we’ll need to create a user who can login to the admin site. Run the following command: $ python manage.py createsuperuser Enter your desired username and press enter. Username: admin You will then be prompted for your desired email address: Email address: admin@example.com The final step is to enter your password. You will be asked to enter your password twice, the second time as a confirmation of the first. Password: ********** Password (again): ********* Superuser created successfully. Start the development server ¶ The Django admin site is activated by default. Let’s start the development server and explore it. Recall from Tutorial 1 that you start the development server like so: $ python manage.py runserver Now, open a Web browser and...