Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 29/07/2021, à 08:26

ludo915

[Python] pip ne fonctionne pas derrière le firewall de mon entreprise

Bonjour,

J'utilise la dernière version d'Ubuntu sous WSL2 dans mon entreprise, j'ai effectué les réglages de proxy on ajoutant dans mon .bashrc:

export http_proxy= adresseproxyentreprise:port
export https_proxy=adresseproxyentreprise:port
export HTTP_PROXY=adresseproxyentreprise:port
export HTPPS_PROXY=adresseproxyentreprise:port
export ALL_PROXY=adresseproxyentreprise:port

Pourtant si je lance pip install win32com j'obtiens l'erreur suvante:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0fe25d610>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/win32com/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0fe25d9a0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/win32com/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0fe25d940>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/win32com/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0fe25dd60>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/win32com/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0fe25dbb0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/win32com/
ERROR: Could not find a version that satisfies the requirement win32com (from versions: none)
ERROR: No matching distribution found for win32com

Avez vous des idées pour solutionner mon pb?

Merci.

Ludovic

Hors ligne