Home > Article > Backend Development > Which folder is python in in linux?
Python is in the lib folder of Linux. The specific location of python2 that comes with Linux is "/usr/local/lib/python2.7", and the location of python3 downloaded by apt It's "/usr/local/lib/python3.6".
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:
<code><pre class="brush:php;toolbar:false">/usr/lib/python2.7</pre>
/usr/local/lib/python2.7linux soft link location:
<code><pre class="brush:php;toolbar:false">/usr/lib/python2.7</pre>
/usr/local/lib/python3.6
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!