Python Selenium Environment Development Novice Build Guide

Source: Internet
Author: User
Tags pycharm community edition

I. Required software: 1. python2.7.13 2. Pycharm 3. Selenium 4. Chromedriver 5. Chrome browser

All software:

Python3.6:https://www.python.org/ftp/python/3.6.1/python-3.6.1.exe

Pycharm Community Edition: Https://download.jetbrains.com/python/pycharm-community-2017.1.5.exe

Selenium: Install via PIP (subsequent)

chromedriver2.30 version: Http://npm.taobao.org/mirrors/chromedriver/2.30/chromedriver_win32.zip

Chrome Browser: Http://sw.bos.baidu.com/sw-search-sp/software/14aca1f5063ab/ChromeStandalone_59.0.3071.115_Setup.exe

2. Software Installation

2.1 python3.6

1. Select Custom install and add to environment variables

2. Next step

3. Custom Installation Path Installation

4. Installation Complete

2. Installing Selenium

2.1 Configuring the domestic PIP image

In the C:\Users\ user list (specifically open cmd, the first display folder) "Set up the PIP directory", My computer is C:\users\wang, other people c:\users\ their own account

Save the following code as Pip.ini, and save it to the Pip folder directory

[Global]  Index-url=http://pypi.douban.com/simple/[install]  trusted-host=pypi.douban.com

After saving, the complete path is as shown in "Everyone's computer account is different, highlighting the difference"

" Note " When creating a new Pip.ini, display the file suffix name and ensure that the suffix. ini.

The specific settings are:

In the view option, remove the check mark for the hidden common extension, and examine the suffix pip.ini instead of pip.ini.txt

Results.

2.2 Install Selenium, enter pip install selenium at the command line, the following is the normal download installation

Python Selenium Environment Development Novice Build Guide

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.