安装HomeBrew
打开终端命令行输入:
ruby -e "$(curl -fsSL
安装 python
which python (检查是否存在python)
brew install python
安装wget
brew install wget
4. 安装pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
5. 安装phantomJS
brew install phantomjs
phantomjs --version