学以致用

focus on Python , C++, and some interest in Go and R

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

sudo apt install python-minimal # python 2.7.x
sudo apt install python-pip

# https://www.ubuntuupdates.org/ppa/google_chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

sudo apt-get update
sudo apt-get install google-chrome-stable
# download chrome driver from https://chromedriver.storage.googleapis.com/index.html?path=2.31/
wget https://chromedriver.storage.googleapis.com/2.31/chromedriver_mac64.zip
unzip chromedriver_mac64.zip
sudo cp ./chromedriver /usr/bin/

sudo pip install selenium
sudo pip install requests
sudo pip install beautifulsoup4
sudo pip install pyyaml
sudo pip install python-dateutil


posted on 2017-08-21 22:34  Jerry.Kwan  阅读(307)  评论(0编辑  收藏  举报