Home > Operation and Maintenance > Linux Operation and Maintenance > How to check the python installation directory in Linux

How to check the python installation directory in Linux

青灯夜游
Release: 2022-04-24 19:10:43
Original
14135 people have browsed it

How to view the python installation directory in Linux: 1. Execute the "whereis python" command in the terminal, and you can view all python installation directories in the output information; 2. Execute the "which python" command in the terminal , you can view the currently used python installation directory.

How to check the python installation directory in Linux

The operating environment of this tutorial: Ubuntu 16.04 system, Dell G3 computer.

Linux method to view the python installation directory

Method 1: Execute the whereis python command in the terminal

How to check the python installation directory in Linux

You can view the paths of all python

Method 2: Execute which python## in the terminal #Command

How to check the python installation directory in Linux

can view the currently used python path

Expand knowledge: view the python version

Use directly

pythoncommand

How to check the python installation directory in Linux

Related recommendations: "

Linux Video Tutorial"

The above is the detailed content of How to check the python installation directory 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