Comment utiliser easy_install derrière un proxy http sur windows?

Lorsque j'utilise la commande:

easy_install spotter

pour installer le spotter paquet, j'ai eu le message d'erreur suivant

Searching for spotter
Reading http://pypi.python.org/simple/spotter/
Download error on http://pypi.python.org/simple/spotter/: [Errno 11001] getaddrinfo      failed -- Some packages may not be found!
Reading http://pypi.python.org/simple/spotter/
Download error on http://pypi.python.org/simple/spotter/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
Couldn't find index page for 'spotter' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error on http://pypi.python.org/simple/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
No local packages or download links found for spotter
error: Could not find suitable distribution for Requirement.parse('spotter')

Les deux variables d'environnement: http_proxy et https_proxy semblent ne pas fonctionner?

L'installation de Python easy_install à l'aide de ez_setup.py derrière un serveur proxy

Réglage http_proxy fonctionne pour moi. Quels sont exactement ce que tu fais?

OriginalL'auteur yorua007 | 2013-09-21