Python

How To Install Python 3 on Windows 10 | Hostbillo

Introduction

The Python computing language was first introduced in 1991. It is among the high-level programming languages, which is employed extensively. Moreover, Python has been acquiring notoriety since its launch. It is the most prominent and flexible server-side programming language. You will have the Python programming language installed in most Linux distributions by default. However, you do not get this benefit with the Windows operating system. So, we have come up with this guide explaining how you can easily install Python 3 on your Windows system or server. Move on to the succeeding sections to get all the insights. 

Requirements

For implementing the steps to install Python 3 on your Windows system, you must fulfill the following necessities –

  • You must have a system that runs Windows 10 and have admin privileges
  • You must have a command prompt that, by default, generally comes with Windows.
  • You must have a remote desktop connection app if you need to install Python on a remote Windows server. 

Steps to install Python 3 on Windows

Mentioned below are the steps you need to follow in order to install Python 3 perfectly on your Windows 10 server –

Step 1: You need to choose the version of Python that you need to install

In the Python installation procedure, you need to first download the official Python.exe installer and then run it on your system. For picking the right version of Python, you must have clarity of what you need to do in Python.

For instance, in case the project on which you are working is coded in Python version 2.6. Then, you require version 2.6 of Python. However, if you need to initiate any project from scratch, you get the freedom to pick any version of Python. Moreover, if you are planning to learn coding in Python, you should download both Python 2 and 3 latest versions. This is because Python 2 will help you in working with older projects. Also, it can enable you to test new projects for backward compatibility.

You must note here that to install python 3 on the Windows 10 server, you need to log in through Remote Desktop Protocol (RDP). After you log in, you can follow the same installation procedure as required for a local Windows system. 

You need to choose the version of Python that you need to install

Step 2: You have to download the Python executable installer.

First of all, go to the Downloads for Windows section on the official Python website by opening your web browser. Then, you can search for the Python version you wish to install. Further, click on the right link to download either the Windows x86-64 executable installer or Windows x86 executable installer.

You need to make a note here that in case your Windows installation is a 32-bit system, you require a Windows x86 executable installer. However, you require a Windows x86-64 executable installer in case your Windows is a 64-bit version. But, you can always uninstall the version of Python if you download the wrong one and then install another.   

You have to download the Python executable installer

Step 3: You have to run an executable installer

Once the required Python installer gets downloaded, you have to run it. Meanwhile, you need to ensure that you have selected the Install launcher for all users and Add Python (say 3.7) to PATH checkboxes. The ‘Add Python (say 3.7) to PATH’ checkbox is selected to locate the interpreter in the execution path. Then you can select the Install Now option. All the latest Python versions incorporate the Pip and IDLE also in the recommended installation options. However, you might not see these features with the older versions of Python. 

Following this step, the subsequent dialog box will prompt you to choose Disable path length limit. If you select this option, the Python will be able to bypass the 260-character MAX_PATH limit. And, the Python will get the capability to utilize the long path names. Moreover, with the selection of the Disable path length limit, no other system settings can be affected. 

 You have to run an executable installer

Step 4: You can verify if Python has been installed on your Windows system or not.

You need to visit the directory where you know Python must have been installed. Afterward, you need to double-click the python.exe file. The output will let you do the verification. On the other side, you can also verify the Python successful installation by entering the

python –V in Command Prompt.

In this case, you must get the installed version of Python in the output. 

python –V in Command Prompt

Step 5: You can verify if the Pip has been installed or not.

If you have installed the older version of Python, it is quite possible that you do not acquire the Pip pre-installed. Pip serves as a compelling package management system for software packages of Python. Therefore, it is necessary to have it on your system, especially when you are dealing with virtual environments. 

In order to verify whether the Pip has been installed on the system or not, follow the given below steps –

  • Type “cmd” after opening the start menu. 
  • Then, you need to choose the application of Command Prompt.
  • Lastly, you have to enter the following command in the console –

pip -V

  • The output will enable you to know whether the Pip was installed on your system or not. 
 Verify if the Pip has been installed or not

Conclusion 

With this tutorial, you must have got the detailing on how to install python 3 in Windows. Moreover, you can follow the similar process that has been discussed here while installing any version of Python. Further, you must pick the version of Python thoughtfully and ensure the installation of Pip. Also, you need to make use of virtual environments while developing various projects on a single system. In case of any queries or difficulties in the installation process, you can always seek help through Hostbillo’s robust customer support. We, along with our experts, are available round-the-clock to render prompt solutions to your every issue. 

Arpit Saini

He is the Chief Technology Officer at Hostbillo Hosting Solution and also follows a passion to break complex tech topics into practical and easy-to-understand articles. He loves to write about Web Hosting, Software, Virtualization, Cloud Computing, and much more.

Leave a Reply

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