In this blog we will see how to install Python. Let’s see how to install python on windows. Along with this, we will discuss the possible problems you may face after installing Python.
So, let’s start with how to install Python in Windows .
How to Install Python on Windows?
Installing and running Python on your personal computer is not a difficult task. Follow this steps mentioned below.
Step 1 : Visit this website python.org/downloads/ (Download whichever is the latest one)
We recommend that you download the latest Python installer (currently Python 3.10.7) for Windows.
If you have a different OS, download the binaries accordingly. If you have a 64-bit system, you can choose the x86–64 installer.
If you have a 32-bit system, select the x86 installer. But you can also click the download button in the header of the page.
Step 2 : Install the python files that is downloaded.
Next, you need to install the binaries you downloaded.
Run the installer. It will show you two options.
Install PIP Windows
This is the default option. Also includes IDLE (Integrated Development Environment), pip and official documentation. It also creates shortcuts.
Customize your Python installation
This option allows you to select the features you want.
You will see the following checkboxes:
- Documentation
- pip
- tcl/tk and IDLE- installs tkinter and the IDLE
- Python test suite- This installs the standard library test suite of Python
Advanced Options while Installing Python
It will also offer you a set of advanced options:
- Install for all users
- Associate files with Python (requires py launcher)
- Create shortcuts for installed applications
- Add Python to environment variables
- Precompile the standard library
- Download debug symbols
- Download debug binaries (requires VS 2015 or later)
- You can also specify the location where the directory should be installed.
- In addition to these two options, the installer will also ask you if you want to add Python to your PATH.
We will look at this in step 3. Click on ‘Install’ and wait for the progress bar to reach the end.
3. Add Python to system environment variables
Browse to the Python directory on your computer and add the location to the end of the PATH variable. It might look like this:
C:\Users\lifei\AppData\Local\Programs\Python\Python36–32
Environment variables contain values about the current environment. You need it to access Python via the command line.
4. Install pip
If you tick the checkbox for pip in Step 2, pip will install for you.
After You Install Python on Windows
You have now installed Python. Now, you can find a list of programs in the Start Menu.
Now, you can check that the python is installed on your system
There are two ways to run python:
- Using command prompt
Search for Command Prompt an type “python”
type “2+3” it will show “5” that means python is installed Successfully !!
2. Using The python IDLE
Again type “2+3” it will show “5” that means python is installed Successfully !!
Conclusion
We’ve seen how easy it is to set up an environment to install Python on your computer. In the best case, it takes no more than 5 minutes. In case you face any problems, write in the comment section.
Did you know we work 24x7 at https://paskinfotech.com/
Any IT related Work
Website Development | Application Development | Digital marketing | Job Support .
Contact Us at paskinfotech@gmail.com or WhatsApp At +91-9167303138