在Ubuntu上使用pip安装错误 read timed out 处理方法

在终端输入

pip --default-timeout=1000 install -U pip

也就是修改超时时间。

原文地址:https://www.cnblogs.com/kaid/p/8743372.html