time="2024-08-27T15:03:20+08:00" level=warning msg="C:\Users\97070\Desktop\BiliBili-Lucky-Draw-master\docker-compose.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion"
Sending build context to Docker daemon 8.793MB
Step 1/6 : FROM python:3
---> 4c4c885e99f8
Step 2/6 : COPY . /app
---> Using cache
---> 1947b5424515
Step 3/6 : WORKDIR /app
---> Using cache
---> c384cb04382a
Step 4/6 : RUN pip install -r requirements.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
---> Running in fb1ee74dc3e3
Looking in indexes: http://pypi.douban.com/simple
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/annotated-types/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/annotated-types/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/annotated-types/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/annotated-types/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/annotated-types/
ERROR: Could not find a version that satisfies the requirement annotated-types==0.6.0 (from versions: none)
ERROR: No matching distribution found for annotated-types==0.6.0
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; pip install -r requirements.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com' returned a non-zero code: 1
⚠️ 搜索issues中是否已存在类似问题
操作系统类型?
Windows
运行的python版本是?
other
复现步骤 🕹
执行
docker-compose build
编译命令后出现问题描述 😯
执行编译命令后就会出现
终端日志 📒
time="2024-08-27T15:03:20+08:00" level=warning msg="C:\Users\97070\Desktop\BiliBili-Lucky-Draw-master\docker-compose.yml: the attribute
version
is obsolete, it will be ignored, please remove it to avoid potential confusion" Sending build context to Docker daemon 8.793MB Step 1/6 : FROM python:3 ---> 4c4c885e99f8 Step 2/6 : COPY . /app ---> Using cache ---> 1947b5424515 Step 3/6 : WORKDIR /app ---> Using cache ---> c384cb04382a Step 4/6 : RUN pip install -r requirements.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com ---> Running in fb1ee74dc3e3 Looking in indexes: http://pypi.douban.com/simple WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/annotated-types/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/annotated-types/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/annotated-types/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/annotated-types/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/annotated-types/ ERROR: Could not find a version that satisfies the requirement annotated-types==0.6.0 (from versions: none) ERROR: No matching distribution found for annotated-types==0.6.0 The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; pip install -r requirements.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com' returned a non-zero code: 1