安裝 3.5.1

Command line:

brew install python3

Python 被 Homebrew 安裝在 /usr/local/Cellar/python3/3.5.1/ , 同時在 /usr/local/bin/ 目錄中建立多個軟連結檔案:

cclin@cclin-mbr:~ $ ls -l /usr/local/bin/* | grep Cellar/python3
lrwxr-xr-x  1 cclin  staff        36  3 28 22:27 /usr/local/bin/2to3-3.5 -> ../Cellar/python3/3.5.1/bin/2to3-3.5
lrwxr-xr-x  1 cclin  staff        44  3 28 22:27 /usr/local/bin/easy_install-3.5 -> ../Cellar/python3/3.5.1/bin/easy_install-3.5
lrwxr-xr-x  1 cclin  staff        33  3 28 22:27 /usr/local/bin/idle3 -> ../Cellar/python3/3.5.1/bin/idle3
lrwxr-xr-x  1 cclin  staff        35  3 28 22:27 /usr/local/bin/idle3.5 -> ../Cellar/python3/3.5.1/bin/idle3.5
lrwxr-xr-x  1 cclin  staff        32  3 28 22:27 /usr/local/bin/pip3 -> ../Cellar/python3/3.5.1/bin/pip3
lrwxr-xr-x  1 cclin  staff        34  3 28 22:27 /usr/local/bin/pip3.5 -> ../Cellar/python3/3.5.1/bin/pip3.5
lrwxr-xr-x  1 cclin  staff        34  3 28 22:27 /usr/local/bin/pydoc3 -> ../Cellar/python3/3.5.1/bin/pydoc3
lrwxr-xr-x  1 cclin  staff        36  3 28 22:27 /usr/local/bin/pydoc3.5 -> ../Cellar/python3/3.5.1/bin/pydoc3.5
lrwxr-xr-x  1 cclin  staff        35  3 28 22:27 /usr/local/bin/python3 -> ../Cellar/python3/3.5.1/bin/python3
lrwxr-xr-x  1 cclin  staff        42  3 28 22:27 /usr/local/bin/python3-config -> ../Cellar/python3/3.5.1/bin/python3-config
lrwxr-xr-x  1 cclin  staff        37  3 28 22:27 /usr/local/bin/python3.5 -> ../Cellar/python3/3.5.1/bin/python3.5
lrwxr-xr-x  1 cclin  staff        44  3 28 22:27 /usr/local/bin/python3.5-config -> ../Cellar/python3/3.5.1/bin/python3.5-config
lrwxr-xr-x  1 cclin  staff        38  3 28 22:27 /usr/local/bin/python3.5m -> ../Cellar/python3/3.5.1/bin/python3.5m
lrwxr-xr-x  1 cclin  staff        45  3 28 22:27 /usr/local/bin/python3.5m-config -> ../Cellar/python3/3.5.1/bin/python3.5m-config
lrwxr-xr-x  1 cclin  staff        34  3 28 22:27 /usr/local/bin/pyvenv -> ../Cellar/python3/3.5.1/bin/pyvenv
lrwxr-xr-x  1 cclin  staff        38  3 28 22:27 /usr/local/bin/pyvenv-3.5 -> ../Cellar/python3/3.5.1/bin/pyvenv-3.5
lrwxr-xr-x  1 cclin  staff        34  3 28 22:27 /usr/local/bin/wheel3 -> ../Cellar/python3/3.5.1/bin/wheel3

注意 , 這些軟連結檔案中並不包含 /usr/local/bin/python .

results matching ""

    No results matching ""