You are using pip version 10.0.1, however version 19.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
错误原因是超时,建议是升级 pip。
我优先选择升级,执行 python -m pip install --upgrade pip
然鹅。。。无情
ERROR: To modify pip, please run the following command: c:\users\dell\appdata\local\programs\python\python37\python.exe -m pip install --upgrade pip You are using pip version 10.0.1, however version 19.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
行行行,都听你的。。。
Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB) 4% |█▍ | 61kB 2.2kB/s eta 0:10:04Exception:
...
raise ReadTimeoutError(self._pool, None, 'Read timed out.') pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. You are using pip version 10.0.1, however version 19.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.