例如:安装第三方库matplotlib
使用指令
sudo pip install matplotlib
提示“read time out”并出现一大堆红色的错误。
尝试使用指令:
sudo pip --default-timeout=100 install -U matplotlib
成功安装matplotlib
其他第三方库遇到类似情况可以用上述方法解决。
例如:安装第三方库matplotlib
使用指令
sudo pip install matplotlib
提示“read time out”并出现一大堆红色的错误。
尝试使用指令:
sudo pip --default-timeout=100 install -U matplotlib
成功安装matplotlib
其他第三方库遇到类似情况可以用上述方法解决。