简体   繁体   中英

django error while installing

Getting error while installing Django

C:\Users\Lenovo>pip install django
Collecting django
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03DBE3B0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/django/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03DBE330>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/django/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03DBE350>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/django/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03DBE2D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/django/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03DBE210>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/django/
  Could not find a version that satisfies the requirement django (from versions: )
No matching distribution found for django

Set proxies and check your network connection:

set HTTP_PROXY=http://<<your_proxy>>:<<your_port>>
set HTTPS_PROXY=https://<<your_proxy>>:<<your_port>>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM