Overview of Install Python on Windows
- A system with windows and admin privileges evoked.
- Command Prompt
- In case if python is installed on a remote server, then a remote desktop connection app.
- Minimum of 25 megabytes of disk space.
- An additional 90 megabytes could be expected if python is reinstalled.
How to Install Python on windows?
Below are the steps to install Python on Windows:
Step 1
The official page link for download of python software is below,
Link: https://www.python.org/downloads/
Step 2
Selecting the windows link will take you to the below sub-link. in this below sublink, we need to select the python version.
Download and save the software to the PC. The file called python-3.7.4-amd64.exe has to commence downloading keen on your standard download folder. This file is on the subject of 30 Megabytes, ensuring that the complete download of the software is completed before stepping to the software installation. If needed, we can move this file to a different location which is likely more permanent for python installation.
Step 3
Below are the instructions for installation of python:
From the installed location, click on the below icon python-3.7.4-amd64.exe. Clicking on this icon pops up the installation dashboard for python. This dashboard is also called as the python setup pop up window, and a snap of the same is pasted below; this snap is for the popup window version python 3.7.4. Make sure that the below-enlisted checkboxes are checkered in at the installation setup popup.
- ” Install launcher for all users (recommended) “
- ” Add Python 3.7 to PATH “
In the case where we have an existing version of Python already installed in our system, then the message in the command prompt stating Install now will be posted as an upgrade now. This either means the latest version of python is preferably installed in the current user system or a reinstall of the existing software has been carried out.
Step 4
Additionally, the customized installation option will allow the user to be tailored to the various components which are installed along with the core version of the python. The below screen snaps the various options available in the customized installation screen.
The options include
- Installation of core python documentation file.
- Pip installer is additional software that helps to install and uninstall python oriented packages.
- TCL / TK and IDE: this allows us to install the IDE setup for python.
- A testing suite for python.
- A python launcher makes the start of python a much easier task.
Clicking next on this customization screen will pull the user to the further advanced options in python installation. These include the below items,
- Whether to install python for all users on this system or to be considered for one specific user.
- Associate several python files using py launcher.
- Creation of necessary shortcuts.
- Automatically add python to the system environment variables.
- Precompilation of all available standard libraries associated with python.
- A download of all debugging symbols associated with the python environment.
- Download debugging binaries.
We can also notice this customization section holds the option for customized install location for python. So setting the location here allows the python software to be installed in the very needed location was it’s expected to be.
Step 5
Considering in this case, the user installs the python software for the first time in the system, click on the install now message, and even in the customization perspective, click on the Install button at the bottom of the installation setup pop up. This will throw the installation progression setup on the screen of the user. The installation progression setup shows the overall progress of all of the software-related files are implied on the users’ current system and how much is expected to be implied. this is notified using the progression of the green scale on the progression screen.
Step 6
On successful completion of the setup, the below screen will be notified stating that the setup was successfully installed. This popup also has the link for official python documentation and online tutorial within the same also, a small representation of the add-ons associated with the currently installed release of the python is also linked.
Step 7
In case the installation process faces any sought of issues in the progression, or the case where the installation fails because of system configuration parameters, the below pop up will be displayed. This pop up as shown below states that the setup has been failed, and a logfile relating to the installation will also be linked. The log file will be a notepad file stating a log of cronological sequence of events in the installation process. A sample log statement is also attached below the setup failure snap,
Log file statement :
[ 1730:0878 ][ 2019-08-24T20:23:41]i001: Burn v3.11.1.2318, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\Dell\AppData\Local\Temp\{6126D910-0802-4149-833A-94443F0AA9FE}\.cr\python-3.7.4-amd64-webinstall.exe[1730:0878][2019-08-24T20:23:41]i000: Initializing numeric variable ‘Include_core’ value ‘1’
[ 1730:0878 ][ 2019-08-24T20:23:41]i000: Initializing numeric variable ‘Include_exe’ value ‘1’
[ 1730:0878 ][ 2019-08-24T20:23:41]i000: Initializing numeric variable ‘Include_dev’ value ‘1’
[ 1730:0878 ][ 2019-08-24T20:23:41]i000: Initializing numeric variable ‘Include_lib’ to value ‘1’
[ 1730:0878 ][ 2019-08-24T20:23:41]i000: Initializing numeric variable ‘Include_test’ value ‘1’
[ 1730:0878 ][ 2019-08-24T20:23:43]i299: Plan complete, result: 0x0
[ 1730:0878 ] [ 2019-08-24T20:23:43]i300: Apply begin
E6D51F91B74D}\.be\python-3.7.4-amd64-webinstall.exe
[ 1730:0878 ][ 2019-08-24T20:23:49]e000: Error 0x80070642: Failed to elevate.
[ 1730:0878 ][ 2019-08-24T20:23:49]e000: Error 0x80070642: Failed to actually elevate.
[ 1730:0878 ][ 2019-08-24T20:23:49]e000: Error 0x80070642: Failed to elevate.
[ 1730:0878 ][ 2019-08-24T20:23:43]i010: Launching elevated engine process.
[ 1730:0878 ][ 2019-08-24T20:23:45]e000: Error 0x800704c7: Failed to launch elevated child process: C:\Users\Dell\AppData\Local\Temp\{30D45F6F-92CD-4CF8-997F-E6D51F91B74D}\.be\python-3.7.4-amd64-webinstall.exe
[ 1730:0878 ][ 2019-08-24T20:23:49]e000: Error 0x80070642: Failed to elevate.
[ 1730:0878 ][ 2019-08-24T20:23:49]e000: Error 0x80070642: Failed to actually elevate.
[ 1730:0878 ][ 2019-08-24T20:23:49]e000: Error 0x80070642: Failed to elevate.
[1730:0878][ 2019-08-24T20:23:49]i399: Apply complete, result: 0x80070642, restart: None, ba requested restart: No
Conclusion
On following the above-listed process, the python setup will be successfully installed in the respective system.
Recommended Articles
We hope that this EDUCBA information on “Install Python on Windows” was beneficial to you. You can view EDUCBA’s recommended articles for more information.
40 Online Courses | 13 Hands-on Projects | 215+ Hours | Verifiable Certificate of Completion
4.8
View Course
Related Courses