Open wittyResry opened 6 years ago
$ xcode-select --install
$ https://brew.sh/ $ brew doctor
brew doctor
$ python --version $ brew search python $ open /usr/local/Cellar/ $ brew install python $ brew install python3
$ echo $PATH $ vi /etc/paths 设置为
/usr/local/bin /usr/bin /bin /usr/sbin /sbin
STEP 1 安裝 XCODE
$ xcode-select --install
STEP 2 安裝套件管理工具:HOMEBREW
$ https://brew.sh/ $
brew doctor
STEP 3 安裝 PYTHON
$ python --version $ brew search python $ open /usr/local/Cellar/ $ brew install python $ brew install python3
STEP 4 設定路徑 $PATH(不跟系統 PYTHON 打架)
$ echo $PATH $ vi /etc/paths 设置为