Home  >  Article  >  Backend Development  >  How to check whether python is installed

How to check whether python is installed

藏色散人
藏色散人Original
2019-10-17 17:19:027430browse

How to check whether python is installed

How to check whether python is installed?

Under Windows system:

Run - cmd, enter the dos window, enter python, if the installation is successful, you can see the version information and enter the programming mode, as shown below (I installed it The version is python 3.5.1):

How to check whether python is installed

Recommended: "Python Tutorial"

Or you can use the console:

How to check whether python is installed

If the import reports an error, it is usually not installed. The first three are all installed successfully.

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

Statement:
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