2017-05-16 1 views
0

Ich versuche, numpy in Windows 8.1 mit pip install numpy zu installieren.407 Proxy-Authentifizierung erforderlich in Windows 8.1

Es gibt folgende Fehlermeldung:

Collecting numpy 
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connectio 
n failed: 407 Proxy Authentication Required',))': /simple/numpy/ 
    Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connectio 
n failed: 407 Proxy Authentication Required',))': /simple/numpy/ 
    Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connectio 
n failed: 407 Proxy Authentication Required',))': /simple/numpy/ 
    Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connectio 
n failed: 407 Proxy Authentication Required',))': /simple/numpy/ 
    Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connectio 
n failed: 407 Proxy Authentication Required',))': /simple/numpy/ 
    Could not find a version that satisfies the requirement numpy (from versions: 
) 
No matching distribution found for numpy 

Nach this Bezugnahme Ich laufe folgenden Befehl in cmd:

set proxy proxy-server="http=202.141.80.19:3128;https=202.141.80.19:3128" 

Zur Authentifizierung Zweck habe ich auch versucht:

set proxy proxy-server="http=username:[email protected]:3128;https=username:[email protected]:3128" 

Aber es funktioniert nicht.

Wie kann ich diesen Fehler beheben?

+0

'netsh' ist nicht das gleiche wie' cmd'. Die Dokumentation, die Sie verlinken, ist für 'netsh'. Außerdem verwendet numpy wahrscheinlich nicht WinHTTP. –

Antwort

1

Nach vielen Versuchen half mir das mit meiner Arbeit fortzufahren.

set HTTP_PROXY=http://proxy_userid:[email protected]_ip:proxy_port 
set HTTPS_PROXY=http://proxy_userid:[email protected]_ip:proxy_port