Installation of Python tool pip in Windows, pythonpip
1. Open pip's official https://pip.pypa.io/en/stable/ documentation and go to installation. In installation, we need the get-pip.py script.
Select and download it. I save it to drive C.
2. Open the cmd command line, open the C root directory and run the get-pip.py script. Of course, your computer needs to have python installed and set environment variables.
Next, the computer will automatically download pip. After the installation is complete, successful installed pip will be displayed. At this time, the computer has successfully installed the pip tool.
3. If you want to use pip in the command line, you also need to configure the pip environment variable. First, find the pip installation directory, which is installed in the Scripts directory under the python directory.
Configure the pip installation directory in path, so that you can directly use the pip command in the cmd command line to install the template. For example, to install the flask framework, open the cmd command line and enter pip install flask to download the flask package.