rongchenlin / BiliBili-Lucky-Draw

B站抽奖转发——薅羊毛脚本 : 一个小脚本能够帮助你去看看B站上面今天有哪些Up有抽奖活动,然后还能帮助你自动进行抽奖(转发动态+关注),毕竟抽奖总得试试吗,万一中奖了呢
GNU General Public License v3.0
339 stars 44 forks source link

win11中在编译命令出错 #44

Open Juenia opened 2 weeks ago

Juenia commented 2 weeks ago

⚠️ 搜索issues中是否已存在类似问题

操作系统类型?

Windows

运行的python版本是?

other

复现步骤 🕹

执行docker-compose build编译命令后出现

问题描述 😯

执行编译命令后就会出现 Windows PowerShell 2024_8_27 15_07_05

终端日志 📒

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

Joy-Zhe commented 1 week ago

换个源就行