码迷,mamicode.com
首页 > 编程语言 > 详细

mac上搭建python+selenium2的环境

时间:2015-06-18 23:46:11      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:

1.mac默认已安装有python和easy_install

2.进入终端,使用root的权限,然后输入,回车后需要root的密码,即可安装成功,成功结果如下所示

sudo easy_install selenium


Downloading https://pypi.python.org/packages/source/s/selenium/selenium-2.46.0.tar.gz#md5=6db65e1e7653da0fdc514df5db76d662

Processing selenium-2.46.0.tar.gz

Writing /tmp/easy_install-prooMD/selenium-2.46.0/setup.cfg

Running selenium-2.46.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-prooMD/selenium-2.46.0/egg-dist-tmp-ERjNhl

Adding selenium 2.46.0 to easy-install.pth file

 

Installed /Library/Python/2.7/site-packages/selenium-2.46.0-py2.7.egg

Processing dependencies for selenium

Finished processing dependencies for selenium




mac上搭建python+selenium2的环境

标签:

原文地址:http://www.cnblogs.com/arieslin/p/4587222.html

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