python pip安裝時報錯:WARNING: Retrying等錯誤 這樣解決!!
阿新 • • 發佈:2021-01-22
python 出現以下報錯,是由於你v*n打開了,沒有關掉。
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/netron/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect= None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/netron/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/ netron/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/netron/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError(' Cannot connect to proxy.', OSError(0, 'Error'))': /simple/netron/
ERROR: Could not find a version that satisfies the requirement netron
ERROR: No matching distribution found for netron
把v*n關掉後,就可以正常下載了
如果用conda安裝也這樣報錯,同樣把v*n關掉就可以了。