Records of problems that occurred during the installation of HttpRunner

1. Use pip to install, the first step is an error

Operation: In the cmd of win7, directly enter pip install httprunner and press Enter

Error:

You should consider upgrading via the 'python -m pip install --upgrade pip' command. 

 You are using pip version 10.0.0, however version 20.0.0 is availa

And directly execute the command: python -m pip install --upgrade pip is also unsuccessful

Solution:

Switch the cmd directory to the directory where python.exe is located, and then execute python -m pip install --upgrade pip, it can be successfully executed

2. Install httprunner again, Retrying (Retry (total = 4, connect = None, read = etc. appears

Solution:

Set the collection source yourself after the pip command (-i + url)

pip install httprunner -i http://pypi.douban.com/simple --trusted-host pypi.douban.com (via Douban)

After this time it was finally installed successfully.

Published 8 original articles · won 27 · views 1500

Guess you like

Origin blog.csdn.net/niuhaoyuan/article/details/104668720