1. 程式人生 > 其它 >python pip安裝時報錯:WARNING: Retrying等錯誤 這樣解決!!

python pip安裝時報錯:WARNING: Retrying等錯誤 這樣解決!!

技術標籤:Pythonpip

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關掉就可以了。