Multiple python version installs: Difference between revisions

Jump to navigation Jump to search
Line 111: Line 111:
== 尋找命令對應的完整路徑 ==
== 尋找命令對應的完整路徑 ==
=== Windows ===
=== Windows ===
<pre>
$ where python
C:\Python27\python.exe
$ where py
C:\Windows\py.exe
</pre>


<pre>
<pre>
Line 122: Line 129:
=== Mac ===
=== Mac ===
<pre>
<pre>
$ where python
$ which python
/usr/bin/python
$ where python3
$ which python3
/usr/local/bin/python3
</pre>
<pre>
$ where pip
$ which pip
$ which pip
/usr/local/bin/pip
/usr/local/bin/pip


$ where pip3
$ which pip3
$ which pip3
/usr/local/bin/pip3
/usr/local/bin/pip3

Navigation menu