How to check python version in linux

青灯夜游
Release: 2022-01-05 18:48:56
Original
19536 people have browsed it

How to query the python version on Linux: 1. Execute the "python -V" command in the terminal; 2. Execute the "whereis python" command in the terminal; 3. Execute "python --version" in the terminal Order.

How to check python version in linux

The operating environment of this tutorial: linux5.9.8 system, python version 2.6.6, Dell G3 computer.

Linux query python version

Method 1

Execute the command in the terminal: python -V

How to check python version in linux

##Method 2

Execute the command in the terminal:

whereis python

How to check python version in linux

#Method 3

Execute the command in the terminal: python --version

How to check python version in linuxRelated recommendations: "

Linux Video Tutorial

"

The above is the detailed content of How to check python version in linux. 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