解决pip安装连接超时的问题(WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=Non)

如图显示该警告信息WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=Non

只需在命令行后面加上-i http://pypi.douban.com/simple --trusted-host pypi.douban.com 指定安装源即可

解决pip安装连接超时的问题(WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=Non)_第1张图片

你可能感兴趣的:(疑难杂症,python,pip,安装)