标签:mac
安装HomeBrew
打开终端命令行输入:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
安装 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
标签:mac
原文地址:http://garyandjava.blog.51cto.com/5570290/1832466