Home > Backend Development > Python Tutorial > How to test installation of python

How to test installation of python

silencement
Release: 2020-09-15 15:03:28
Original
9941 people have browsed it

How to test installation of python

How to test the installation of python:

Step one: Download the Python installation package

Find the latest version of the Python installation package on Python's official website www.python.org and click to download. Please note that when your computer is a 32-bit machine, please choose the 32-bit installation package. If it is 64-bit Yes, please choose the 64-bit installation package

Step 2: Install

A. Double-click the downloaded installation package and the following interface will pop up:

How to test installation of python

It should be noted here that python is added to the windows environment variables. If you forget to check the box, you need to add it to the environment variables manually; here I choose It is a custom installation, click "Custom Installation" to proceed to the next step

B. After entering the next step, select the components that need to be installed, and then click Next

How to test installation of python

C. Here you can customize the path to select the installation

How to test installation of python

D. Click Next After that, the actual installation begins. After the installation is completed, there will be a prompt interface indicating successful installation

How to test installation of python

##Step 3: Test

After python is installed, we need to check whether the installation is successful. Use the system administrator to open the command line tool cmd, enter "python -V", and then hit Enter. If the following interface appears, it means that we have successfully installed it.

How to test installation of python

This sentence means to display the version information of python. If no error is reported, it means that Python has been successfully installed and passed the test

The above is the detailed content of How to test installation of python. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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