WINDOWS installation pip1. First download the installation Python and add the Python installation directory to the system environment variable 2. Copy this file to. py and execute https://bootstrap.pypa.io/ Get-pip.py3. After execution, locate the native Python directory, open the Scripts folder, add the path under this folder to the environment variable to this point, re-open the CMD interface input PIP can find the installation is successful but the initial source of Pip is often slow, or not even at all, so you need to replace the source update Source: 1 . Locate the application file in the local user directory AppData, locate the Pip folder, my path is C:\Users\Money\AppData\Local\pip2. Create a new file Pip.ini:[global]timeout = 6000index-url = Http://pypi.douban.com/simpletrusted-host = Http://pypi.douban.comOK
LINUX
Python replaces domestic source for fast PIP installation