码迷,mamicode.com
首页 > Windows程序 > 详细

win7-64 位操作系统下,联网安装selenium

时间:2015-05-26 17:52:43      阅读:301      评论:0      收藏:0      [点我收藏+]

标签:

下载官网 https://pip.pypa.io/en/latest/installing.html

官网截图如下:

pip included with Python

Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default [1], so you may have pip already.

Install pip

To install pip, securely download get-pip.py. [2]

Then run the following (which may require administrator access):

python get-pip.py
 

安装selenium,联网状态的话,可以直接在C:\Python27\Scripts 下输入命令安装:

pip install -U selenium 

备注 :若无联网,先把selenium-2.40.0.tar.gz解压到:C:\Python27\Lib\site-packages 目录下,打开命令提示符(开始---cmd 回车),使用cd命令进入C:\Python27\Lib\site-packages\ selenium-2.40.0目录下,输入python setup.py install回车,selenium安装完成

win7-64 位操作系统下,联网安装selenium

标签:

原文地址:http://www.cnblogs.com/yurenmeigui/p/4530750.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!