在mac下使用python3
1. 输入:vi ~/.bash_profile
2. 配置环境变量
export PATH=${PATH}:/usr/local/Cellar/python/3.6.5/bin
alias python="/usr/local/Cellar/python/3.6.5/bin/python3.6"
export PATH=${PATH}:/usr/local/Cellar/python/3.6.5/bin
alias python="/usr/local/Cellar/python/3.6.5/bin/python3.6"