win7安装python3.6和selenium

图片没有显示,点击右键复制图片地址查看

1,安装python3

www.python.org

python 3.6 64-bit

win7安装python3.6和selenium_第1张图片


设置系统环境变量

PAH

2,安装setuptools和pip

https://pypi.python.org/pypi/setuptools

https://pypi.python.org/pip

setuptools-18.4.zip

pip-7.1.2.tar.gz

进入解压目录通过python执行setup.py

python setup.py install

python setup.py install


新版已经集成pip

\python36\scripts\pip.exe 、pip3.exe

添加系统变量path

3,安装selenium

cmd下执行

pip install selenium

查看版本信息

pip show selenium

4,安装activepython

http://www.activepython.com/activepython/downloads

安装selenitm pip方式

pip install selenium

5,下载浏览器驱动

http://www.seleniumhq.org/

你可能感兴趣的:(selenium自动化测试,python3.6,selenium,环境搭建)