python pip安装出现问题WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=Non

参考博客:https://blog.csdn.net/lsf_007/article/details/87931823

解决方案:

pip install package_name -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

其中package_name是自己要安装的包 我的是torchvision

你可能感兴趣的:(python pip安装出现问题WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=Non)