python在linux的lib文件夹中,linux中自带的python2的具体位置是“/usr/local/lib/python2.7”,而apt下载的python3位置是“/usr/local/lib/python3.6”。
首先,mac的python到底安装在哪里
Mac自带的python位置:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
软链接位置:
<code><code><code><code><div class="code" style="position:relative; padding:0px; margin:0px;"><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:php;toolbar:false">/usr/lib/python2.7</pre><div class="contentsignin">登录后复制</div></div><div class="contentsignin">登录后复制</div></div>
/usr/local/lib/python2.7
<code><code><div class="code" style="position:relative; padding:0px; margin:0px;"><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:php;toolbar:false">/usr/lib/python2.7</pre><div class="contentsignin">登录后复制</div></div><div class="contentsignin">登录后复制</div></div><code><code>
/usr/local/lib/python3.6
以上是python在linux哪个文件夹中的详细内容。更多信息请关注PHP中文网其他相关文章!