python中安裝包出現Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))
安裝包出現Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError
解決辦法:
1.訪問外網受限
pip install selectivesearch -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
其他源總結:
2.看是否有訪問外網許可權,ping一下域名