How to install Python latest version on Windows 11/10?

PHPz
Release: 2023-04-24 20:10:10
forward
2374 people have browsed it

Installing Python 3 on Windows 10 or 11

Here we discuss two ways to set up Python, one is using the graphical installation wizard and the other is with the help of prompts character or command in Powershell (Terminal).

Using the graphical user interface:

1. Download the latest version of Python

As we all know, by default, Python is not included in Windows to compile our based its program. So, visit the official website python.org and download the latest version by clicking the "Download" button.

How to install Python latest version on Windows 11/10?
 python --version
Copy after login

Check PIP version

pip -V
Copy after login

Note: If you type python on the command terminal or Powershell, open the Microsoft Store, and then follow the next step.

How to install Python latest version on Windows 11/10?
winget 搜索 Python.Python
Copy after login
How to install Python latest version on Windows 11/10?
winget install Python.Python.version-number
Copy after login

For example, if you wanted 3.11 then the command would be like this:

winget install Python.Python.3.11
Copy after login

Once completed, Close your CMD terminal or PowerShell and reopen it again to check if it is working properly.

To do this, either use:

pip -Vor  python --version
Copy after login

8. Run a simple program

Open the Python command line and type:

print ('Hey I am here with Python')
Copy after login

The above code will print "Hey, I'm using Python here" on your screen.

How to install Python latest version on Windows 11/10?

The above is the detailed content of How to install Python latest version on Windows 11/10?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!