Command line View version:
Python--version
Pip--version
Pip Common Commands
Install package
Pip Install xxx
Upgrade Package
Pip install-u xxx
Uninstalling packages
Pip Uninstall xxx
List installed Packages
PIP List
Install virtualenv and activate under Windows
Pip Install Virtualenv
Create a non-visible directory. env
Virtualenv. env
Activating the VIRTUALENV Environment
. env\scripts\activate
Installing the Requests library requires installation in a VIRTUALENV environment
PIP Install requests
Enter a command in the VIRTUALENV environment to view the requests version
Pip Freeze
Requests Library to write its own service-side URL:
httpbin.org
Httpbin.org is built on a U.S. server with slow access
Can download down this site, people crawl over the
Pip Install Gunicorn Httpbin
Start a server
Gunicorn Httpbin:app
Gunicorn is not supported under Windows
HTTP protocol principle
Python Request Library