Home  >  Article  >  Operation and Maintenance  >  Which folder is python in in linux?

Which folder is python in in linux?

藏色散人
藏色散人Original
2023-03-13 10:39:313330browse

Python is in the lib folder of Linux. The specific location of python2 that comes with Linux is "/usr/local/lib/python2.7", while the location of python3 downloaded by apt is "/usr/local" /lib/python3.6".

Which folder is python in in linux?

The operating environment of this tutorial: linux5.9.8 system, python2, Dell G3 computer.

Which folder is python in linux? Where is linux python installed?

First of all, where is python installed on mac

  • The location of python that comes with Mac:

/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7

Soft link location :

/usr/lib/python2.7
  • linux python location

linux comes with python2 location:

/usr/local/lib/python2.7

linux soft link location:

/usr/lib/python2.7

apt downloaded python3 location:

/usr/local/lib/python3.6

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of Which folder is python in in linux?. 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