簡體   English   中英

安裝時出現 django 錯誤

[英]django 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 HTTP_PROXY=http://<<your_proxy>>:<<your_port>>
set HTTPS_PROXY=https://<<your_proxy>>:<<your_port>>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM