Python3.7.8安装包

Windows-x64版:python-3.7.8-amd64.exe.zip
MacOS版:python-3.7.8-macosx10.9.pkg

VSCode安装包

Windows-x64版:VSCodeUserSetup-x64-1.47.3.exe.zip
MacOS版:VSCode-darwin-stable.zip

iTerm2安装包

MacOS专用:iTerm2-3_3_12.zip

Homebrew安装

MacOS专用:

  1. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

把更新源改为国内源,比如清华:

  1. git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
  2. git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git
  3. git -C "$(brew --repo homebrew/cask-fonts)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-fonts.git
  4. git -C "$(brew --repo homebrew/cask-drivers)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-drivers.git
  5. brew update

重新复原为官方源:

  1. git -C "$(brew --repo homebrew/core)" remote set-url origin https://github.com/Homebrew/homebrew-core.git
  2. git -C "$(brew --repo homebrew/cask)" remote set-url origin https://github.com/Homebrew/homebrew-cask.git
  3. git -C "$(brew --repo homebrew/cask-fonts)" remote set-url origin https://github.com/Homebrew/homebrew-cask-fonts.git
  4. git -C "$(brew --repo homebrew/cask-drivers)" remote set-url origin https://github.com/Homebrew/homebrew-cask-drivers.git
  5. brew update

MacOS上Python多版本

安装pyenv多版本管理工具:

  1. brew update
  2. brew install pyenv
  3. pyenv install 3.7.6
  4. pyenv versions

安装virtualenv,方便创建虚拟Python环境。

  1. brew update
  2. brew install pyenv-virtualenv
  3. pyenv virtualenv SOME_NAME