Selenium2+python Automation 3-Resolving PIP usage exceptions

Source: Internet
Author: User

First, the PIP appears abnormal

A small number of children's shoes The following occurs when you open cmd input pip: did not provide a command

did not provide a command? What the hell is this?
The normal situation should be jiangzi.

Second, the solution:
1.pip is an. exe executable file that can be resolved with the cmd input pip.exe

2. So in the subsequent installation instructions need to bring the suffix, then the question came, why this situation, how to completely solve?

Third, configure environment variables
1. The main reason is that the pathext of the environment variable is missing. exe file name
2. Under Pathext, edit the following add;. EXE (Note that the semicolon is in English)

 

3. When the environment variable is configured, turn off CMD and re-open the input pip try again ( if this step is not resolved, continue looking down)

Four, must kill the skill

1. Locate the file directory where Pip is open

2. In the Folder Address field, enter CMD, return

3. Then enter PIP (or Pip.exe) in the open window and try it

Five, the skill of lore

1. Open cmd (shortcut key: win+r), CD to the directory where Pip is located, such as D:\test\python2\Scripts

>d:

>CD d:/test/python2/scripts

>pip

(If you see here, has not been resolved, you this computer can be smashed!!!) )

Selenium2+python Automation 3-Resolving PIP usage exceptions

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.