We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows
python 3.9
部署过程中出现以下报错 26.98 Getting requirements to build wheel: finished with status 'error' 26.98 error: subprocess-exited-with-error
< * 终端将被任务重用,按任意键关闭。 * 正在执行任务: docker build --pull --rm -f "Dockerfile" -t bilibililuckydraw "." [+] Building 97.6s (8/8) FINISHED docker:desktop-linux => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 334B 0.0s => [internal] load metadata for docker.io/library/python:3 68.9s => [internal] load .dockerignore 0.0s => => transferring context: 218B 0.0s => [internal] load build context 0.0s => => transferring context: 1.99kB 0.0s => [1/4] FROM docker.io/library/python:3@sha256:b92506908deff8db862963f0c64a231369a1014f2d797aa0d7dd5044e92e0d4b 0.0s => => resolve docker.io/library/python:3@sha256:b92506908deff8db862963f0c64a231369a1014f2d797aa0d7dd5044e92e0d4b 0.0s => CACHED [2/4] COPY . /app 0.0s => CACHED [3/4] WORKDIR /app 0.0s => ERROR [4/4] RUN pip install -r requirements.txt -i http://pypi.doubanio.com/simple --trusted-host pypi.doubanio.com 28.5s ------ > [4/4] RUN pip install -r requirements.txt -i http://pypi.doubanio.com/simple --trusted-host pypi.doubanio.com: 1.392 Looking in indexes: http://pypi.doubanio.com/simple 1.860 Collecting annotated-types==0.6.0 (from -r requirements.txt (line 1)) 1.876 Downloading https://mirrors.cloud.tencent.com/pypi/packages/28/78/d31230046e58c207284c6b2c4e8d96e6d3cb4e52354721b944d3e1ee4aa5/annotated_types-0.6.0-py3-none-any.whl (12 kB) 2.327 Collecting anyio==4.2.0 (from -r requirements.txt (line 2)) 2.345 Downloading https://mirrors.cloud.tencent.com/pypi/packages/bf/cd/d6d9bb1dadf73e7af02d18225cbd2c93f8552e13130484f1c8dcfece292b/anyio-4.2.0-py3-none-any.whl (85 kB) 2.811 Collecting async-generator==1.10 (from -r requirements.txt (line 3)) 2.841 Downloading https://mirrors.cloud.tencent.com/pypi/packages/71/52/39d20e03abd0ac9159c162ec24b93fbcaa111e8400308f2465432495ca2b/async_generator-1.10-py3-none-any.whl (18 kB) 3.233 Collecting attrs==22.2.0 (from -r requirements.txt (line 4)) 3.245 Downloading https://mirrors.cloud.tencent.com/pypi/packages/fb/6e/6f83bf616d2becdf333a1640f1d463fef3150e2e926b7010cb0f81c95e88/attrs-22.2.0-py3-none-any.whl (60 kB) 3.578 Collecting certifi==2022.12.7 (from -r requirements.txt (line 5)) 3.596 Downloading https://mirrors.cloud.tencent.com/pypi/packages/71/4c/3db2b8021bd6f2f0ceb0e088d6b2d49147671f25832fb17970e9b583d742/certifi-2022.12.7-py3-none-any.whl (155 kB) 4.621 Collecting cffi==1.16.0 (from -r requirements.txt (line 6)) 4.637 Downloading https://mirrors.cloud.tencent.com/pypi/packages/68/ce/95b0bae7968c65473e1298efb042e10cafc7bafc14d9e4f154008241c91d/cffi-1.16.0.tar.gz (512 kB) 4.718 Installing build dependencies: started 6.464 Installing build dependencies: finished with status 'done' 6.465 Getting requirements to build wheel: started 6.710 Getting requirements to build wheel: finished with status 'done' 6.712 Preparing metadata (pyproject.toml): started 6.879 Preparing metadata (pyproject.toml): finished with status 'done' 7.683 Collecting charset-normalizer==3.0.1 (from -r requirements.txt (line 7)) 7.704 Downloading https://mirrors.cloud.tencent.com/pypi/packages/68/2b/02e9d6a98ddb73fa238d559a9edcc30b247b8dc4ee848b6184c936e99dc0/charset_normalizer-3.0.1-py3-none-any.whl (45 kB) 8.034 Collecting colorama==0.4.6 (from -r requirements.txt (line 8)) 8.042 Downloading https://mirrors.cloud.tencent.com/pypi/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl (25 kB) 8.408 Collecting cron-lite==1.0 (from -r requirements.txt (line 9)) 8.416 Downloading https://mirrors.cloud.tencent.com/pypi/packages/b0/1a/2ddf746d8dcc41a4743ef98b0f32ce1912a7cb0d6e779ac1347f68e5e299/cron-lite-1.0.tar.gz (2.4 kB) 8.433 Installing build dependencies: started 9.861 Installing build dependencies: finished with status 'done' 9.862 Getting requirements to build wheel: started 9.970 Getting requirements to build wheel: finished with status 'done' 9.971 Preparing metadata (pyproject.toml): started 10.08 Preparing metadata (pyproject.toml): finished with status 'done' 10.45 Collecting croniter==1.3.8 (from -r requirements.txt (line 10)) 10.46 Downloading https://mirrors.cloud.tencent.com/pypi/packages/0f/4d/0cc5a7f4bdcefecebdf8a95c8372606c13d3355e8536d9cd3e7070e94269/croniter-1.3.8-py2.py3-none-any.whl (18 kB) 11.69 Collecting cryptography==39.0.2 (from -r requirements.txt (line 11)) 11.71 Downloading https://mirrors.cloud.tencent.com/pypi/packages/f4/6d/1afb19efbe093f0b1af7a788bb8a693e495dc6c1d2139316b05b40f5e1dd/cryptography-39.0.2-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB) 12.58 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 4.6 MB/s eta 0:00:00 12.81 Collecting distro==1.9.0 (from -r requirements.txt (line 12)) 12.82 Downloading https://mirrors.cloud.tencent.com/pypi/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl (20 kB) 13.28 Collecting exceptiongroup==1.1.0 (from -r requirements.txt (line 13)) 13.29 Downloading https://mirrors.cloud.tencent.com/pypi/packages/e8/14/9c6a7e5f12294ccd6975a45e02899ed25468cd7c2c86f3d9725f387f9f5f/exceptiongroup-1.1.0-py3-none-any.whl (14 kB) 13.60 Collecting h11==0.14.0 (from -r requirements.txt (line 14)) 13.61 Downloading https://mirrors.cloud.tencent.com/pypi/packages/95/04/ff642e65ad6b90db43e668d70ffb6736436c7ce41fcc549f4e9472234127/h11-0.14.0-py3-none-any.whl (58 kB) 13.99 Collecting httpcore==1.0.2 (from -r requirements.txt (line 15)) 14.00 Downloading https://mirrors.cloud.tencent.com/pypi/packages/56/ba/78b0a99c4da0ff8b0f59defa2f13ca4668189b134bd9840b6202a93d9a0f/httpcore-1.0.2-py3-none-any.whl (76 kB) 14.40 Collecting httpx==0.26.0 (from -r requirements.txt (line 16)) 14.42 Downloading https://mirrors.cloud.tencent.com/pypi/packages/39/9b/4937d841aee9c2c8102d9a4eeb800c7dad25386caabb4a1bf5010df81a57/httpx-0.26.0-py3-none-any.whl (75 kB) 14.88 Collecting idna==3.4 (from -r requirements.txt (line 17)) 14.90 Downloading https://mirrors.cloud.tencent.com/pypi/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl (61 kB) 15.40 Collecting openai==1.6.1 (from -r requirements.txt (line 18)) 15.42 Downloading https://mirrors.cloud.tencent.com/pypi/packages/e7/44/5ece9adb8b5943273c845a1e3200168b396f556051b7d2745995abf41584/openai-1.6.1-py3-none-any.whl (225 kB) 15.78 Collecting outcome==1.2.0 (from -r requirements.txt (line 19)) 15.79 Downloading https://mirrors.cloud.tencent.com/pypi/packages/e9/4f/2f2d3f65d851852712b4de3fd0cfdcec9c5e9a9c347430e004ba770ef4db/outcome-1.2.0-py2.py3-none-any.whl (9.7 kB) 16.87 Collecting Pillow==10.1.0 (from -r requirements.txt (line 20)) 16.88 Downloading https://mirrors.cloud.tencent.com/pypi/packages/80/d7/c4b258c9098b469c4a4e77b0a99b5f4fd21e359c2e486c977d231f52fc71/Pillow-10.1.0.tar.gz (50.8 MB) 25.59 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.8/50.8 MB 5.8 MB/s eta 0:00:00 26.26 Installing build dependencies: started 27.66 Installing build dependencies: finished with status 'done' 27.66 Getting requirements to build wheel: started 27.76 Getting requirements to build wheel: finished with status 'error' 27.76 error: subprocess-exited-with-error 27.76 27.76 × Getting requirements to build wheel did not run successfully. 27.76 │ exit code: 1 27.76 ╰─> [21 lines of output] 27.76 Traceback (most recent call last): 27.76 File "/usr/local/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> 27.76 main() 27.76 ~~~~^^ 27.76 File "/usr/local/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main 27.76 json_out['return_val'] = hook(**hook_input['kwargs']) 27.76 ~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 27.76 File "/usr/local/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel 27.76 return hook(config_settings) 27.76 File "/tmp/pip-build-env-3zddn7qi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel 27.76 return self._get_build_requires(config_settings, requirements=[]) 27.76 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 27.76 File "/tmp/pip-build-env-3zddn7qi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires 27.76 self.run_setup() 27.76 ~~~~~~~~~~~~~~^^ 27.76 File "/tmp/pip-build-env-3zddn7qi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup 27.76 exec(code, locals()) 27.76 ~~~~^^^^^^^^^^^^^^^^ 27.76 File "<string>", line 30, in <module> 27.76 File "<string>", line 27, in get_version 27.76 KeyError: '__version__' 27.76 [end of output] 27.76 27.76 note: This error originates from a subprocess, and is likely not a problem with pip. 28.24 error: subprocess-exited-with-error 28.24 28.24 × Getting requirements to build wheel did not run successfully. 28.24 │ exit code: 1 28.24 ╰─> See above for output. 28.24 28.24 note: This error originates from a subprocess, and is likely not a problem with pip. ------ 1 warning found (use docker --debug to expand): - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 13) Dockerfile:10 -------------------- 8 | 9 | # 安装项目依赖项 10 | >>> RUN pip install -r requirements.txt -i http://pypi.doubanio.com/simple --trusted-host pypi.doubanio.com 11 | 12 | # 运行docker run命令 -------------------- ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt -i http://pypi.doubanio.com/simple --trusted-host pypi.doubanio.com" did not complete successfully: exit code: 1 View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/wlohyydcsi1qcg8r32qc650mf * 终端进程“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command docker build --pull --rm -f "Dockerfile" -t bilibililuckydraw "."”已终止,退出代码: 1。 * 终端将被任务重用,按任意键关闭。 >
The text was updated successfully, but these errors were encountered:
No branches or pull requests
操作系统类型?
Windows
运行的python版本是?
python 3.9
复现步骤 🕹
部署过程中出现以下报错

26.98 Getting requirements to build wheel: finished with status 'error'
26.98 error: subprocess-exited-with-error
问题描述 😯
终端日志 📒
The text was updated successfully, but these errors were encountered: