1.python安装
去官网下载就好了
要注意,安装的时候注意选择“Add python.exe to Path”,如下图:
否则,执行python命令会出现“‘python’不是内部或外部命令…”的报错,当然也可以安装之后手动添加python目录到Path中如下:
2.selenium安装
cmd命令安装:pip install selenium
cmd命令查看版本:pip show selenium
cmd命令卸载selenium:pip uninstall selenium
3.Chromedriver插件(本人用的谷歌,看你自己的喜好了)
安装到python目录下,如下图:
网址chromedriver驱动下载地址:http://chromedriver.storage.googleapis.com/index.html
对照版本下载:http://blog.csdn.net/huilan_same/article/details/51896672
4.Pycharm安装
网址:http://www.jetbrains.com/pycharm/download/#section=windows下载情况按自身电脑系统