QPT-Family / QPT

[内测中]QPT - 致力于让开源项目更好通往互联网世界的Python to EXE工具(Python打包)。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

打包paddledetection简单demo时报错

LFeightyFour opened this issue · comments

简要描述Bug
1.打包paddledetection简单demo,运行qpt2exe.py文件时,提示没有cython和cythonbox,这两个包在配置python环境时本来就是要自己pip install一下的,想问一下直接把依赖中这两个包相关的条目删掉行吗,以及删掉后该把lib中的包放到哪里?
2.我尝试忽略这个error,直接把lib中site-packages下cython相关的包复制到debug文件夹相同路径中,运行debug.exe,出现了新的报错,No matching distribution found for qpt==1.0b3.dev7,我粘贴在最后(github提示内容过长,我另起一条)
3.以及最后一个问题,我参考教程尝试打包了一个paddleocr 的项目,使用gpu预测,运行qpt2exe.py文件时,提醒我要不要打包cuda,但今天打包paddledetection时,也是gpu预测,却没有提醒我要不要打包cuda,会和这个有关系吗,使用的都是paddlepaddle-gpu 2.2.2.post101包

基本信息
QPT版本:1.0b3.dev7
操作系统版本:win10
CPU型号或AVX支持情况: cpui5-6200

复现步骤/报错截图
步骤描述:
完整打包日志: 必须

建议在此处粘贴完整日志

2022-04-14 17:38:22,127 DEBUG: 操作系统类型:Windows
2022-04-14 17:38:22,127 DEBUG: 操作系统位数:AMD64
2022-04-14 17:38:22,133 WARNING: C:\Users\ADMINI~1\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7中 ~ 字符会可能影响使用。
2022-04-14 17:38:22,133 WARNING: 当前系统的用户名中包含中文/空格等可能会对程序造成异常的字符,现已默认QPT临时目录为C:/q_tmp
C:\Users\Administrator\anaconda3\envs\pd_env\lib\site-packages_distutils_hack_init_.py:30: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
2022-04-14 17:38:22,472 DEBUG: 已设置PIP镜像源为:https://mirror.baidu.com/pypi/simple
2022-04-14 17:38:22,472 INFO: 已在QPT中找到Python3.8Env-Win镜像
2022-04-14 17:38:22,476 DEBUG: SHELL: chcp 65001
2022-04-14 17:38:22,555 DEBUG: Windows PowerShell
2022-04-14 17:38:22,555 DEBUG: 版权所有 (C) Microsoft Corporation。保留所有权利。
2022-04-14 17:38:22,555 DEBUG: 尝试新的跨平台 PowerShell https://aka.ms/pscore6
2022-04-14 17:38:22,829 DEBUG: PS D:\python_develop\pd_test_build> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-04-14 17:38:22,914 DEBUG: Active code page: 65001
2022-04-14 17:38:22,918 DEBUG: 终端命令执行成功!
2022-04-14 17:38:22,918 DEBUG: 正在连接PIPTerminal
2022-04-14 17:38:22,918 DEBUG: 已设置PIP跨版本编译模式,目标解释器路径为:D:/QPT_UT_OUT_CACHE/paddledetection\Release\Python\python.exe
2022-04-14 17:38:22,919 WARNING: 检测到.idea,推测出D:\python_develop\pd_test_build为.idea目录,在打包时会忽略该目录
2022-04-14 17:38:22,921 INFO: [Auto]正在分析D:\python_develop\pd_test_build下的依赖情况...
正在搜索依赖 29/29 |━━━━━━━━━━━━━━━━━━━━| 100.00% 对应文件:./tools\voc_init.py2022-04-14 17:38:23,492 INFO:
正在搜索依赖 30/29 |━━━━━━━━━━━━━━━━━━━━| 103.45% 对应文件:./tools\x2coco.py2022-04-14 17:38:23,504 INFO: 依赖分析完毕!
已在D:\python_develop\pd_test_build\requirements_with_opt.txt 中创建了依赖列表
Tips 1: 查看文件后可能需要关闭查看该文件的文本查看器,这样可以有效避免文件被占用
Tips 2: 请务必检查上方文件中所写入的依赖列表情况,因为自动分析并不能保证程序依赖均可以被检出
若在执行EXE时提示:ImportError: No module named xxx 报错信息,请在该依赖文件中加入xxx或取消xxx前的 # 符号

请在检查/修改依赖文件后在此处按下回车键继续...
请键入指令[回车键 - 一次不行可以试试按两次]:_
2022-04-14 17:38:50,056 INFO: PaddlePaddlePackage中自动添加了名为CopyCUDAPackage的ExtModule
2022-04-14 17:38:50,056 INFO: PaddlePaddlePackage中自动添加了名为PaddlePaddleCheckAVX的ExtModule
2022-04-14 17:38:50,061 INFO: AutoRequirementsPackage中自动添加了名为PaddlePaddlePackage的ExtModule
2022-04-14 17:38:50,062 INFO: ----------QPT执行使用了以下OP----------
2022-04-14 17:38:50,062 INFO: Python38执行优先级5.0 {'Pack': ['PackPythonEnvOpt'], 'Unpack': ['UnPackPythonEnvOpt']}
2022-04-14 17:38:50,062 INFO: QPTDependencyPackage执行优先级3.0 {'Pack': ['OnlineInstallWhlOpt', 'OnlineInstallWhlOpt', 'DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
2022-04-14 17:38:50,062 INFO: ----------程序执行使用了以下OP----------
2022-04-14 17:38:50,062 INFO: CopyCUDAPackage优先级3.0 {'Pack': ['CopyCUDADLL'], 'Unpack': ['SetCUDAEnv']}
2022-04-14 17:38:50,062 INFO: PaddlePaddlePackage优先级3.0 {'Pack': ['DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt', 'SetPaddleFamilyEnvValueOpt']}
2022-04-14 17:38:50,062 INFO: AutoRequirementsPackage优先级3.0 {'Pack': ['DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
2022-04-14 17:38:50,062 INFO: BatchInstallation优先级2.0 {'Pack': [], 'Unpack': ['BatchInstallationOpt']}
2022-04-14 17:38:50,062 INFO: PaddlePaddleCheckAVX优先级1.5 {'Pack': [], 'Unpack': ['CheckAVXOpt']}
2022-04-14 17:38:50,062 INFO: ------------------------------------
2022-04-14 17:38:50,062 INFO: 正在加载Python38-PackPythonEnvOptOP
2022-04-14 17:38:50,063 INFO: 正在加载Python解释器原文件至C:/q_tmp\Python\5094320338
正在拷贝文件 3170/3170 |━━━━━━━━━━━━━━━━━━━━| 100.00% 2022-04-14 17:39:04,724 INFO:
2022-04-14 17:39:04,725 INFO: 正在封装Python38-UnPackPythonEnvOptOP
2022-04-14 17:39:04,727 INFO: 正在加载QPTDependencyPackage-OnlineInstallWhlOptOP
2022-04-14 17:39:04,728 DEBUG: SHELL: cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip install qpt==1.0b3.dev7 --target D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\Lib\site-packages --no-deps -i https://mirror.baidu.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary
2022-04-14 17:39:04,730 DEBUG: PS D:\python_develop\pd_test_build> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip install qpt==1.0b3.dev7 --target D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\Lib\site-packages --no-deps -i https://mirror.baidu.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-14 17:39:16,733 DEBUG: Looking in indexes: https://mirror.baidu.com/pypi/simple
2022-04-14 17:39:17,116 DEBUG: Collecting qpt==1.0b3.dev7
2022-04-14 17:39:17,207 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/49/3f/22e3be6e965c5d95a78972e06dd87941e8b8bc5a8cd59ec1416f4680436c/QPT-1.0b3.dev7-py3-none-any.whl (532 kB)
2022-04-14 17:39:17,329 DEBUG: Installing collected packages: qpt
2022-04-14 17:39:17,659 DEBUG: Successfully installed qpt-1.0b3.dev7
2022-04-14 17:39:19,974 DEBUG: 终端命令执行成功!
2022-04-14 17:39:19,974 INFO: 正在加载QPTDependencyPackage-OnlineInstallWhlOptOP
2022-04-14 17:39:19,975 DEBUG: SHELL: cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip install -U -r C:\Users\Administrator\anaconda3\envs\pd_env\lib\site-packages\qpt\modules\kernel_dependency.txt --target D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\Lib\site-packages -i https://mirror.baidu.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary
2022-04-14 17:39:19,978 DEBUG: PS D:\python_develop\pd_test_build> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip install -U -r C:\Users\Administrator\anaconda3\envs\pd_env\lib\site-packages\qpt\modules\kernel_dependency.txt --target D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\Lib\site-packages -i https://mirror.baidu.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-14 17:39:20,851 DEBUG: Looking in indexes: https://mirror.baidu.com/pypi/simple
2022-04-14 17:39:21,183 DEBUG: Collecting pywin32
2022-04-14 17:39:21,234 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/95/f3/c3f91dfabdcbf5a6cd7e94789d06e2874ef34e66d5b27fc4d8030fffcc6f/pywin32-303-cp38-cp38-win_amd64.whl (9.3 MB)
2022-04-14 17:39:22,635 DEBUG: Collecting setuptools
2022-04-14 17:39:22,669 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/fb/58/9efbfe68482dab9557c49d433a60fff9efd7ed8835f829eba8297c2c124a/setuptools-62.1.0-py3-none-any.whl (1.1 MB)
2022-04-14 17:39:22,899 DEBUG: Collecting wheel
2022-04-14 17:39:22,918 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl (35 kB)
2022-04-14 17:39:23,082 DEBUG: Installing collected packages: wheel, setuptools, pywin32
2022-04-14 17:39:29,733 DEBUG: Successfully installed pywin32-303 setuptools-62.1.0 wheel-0.37.1
2022-04-14 17:39:36,393 DEBUG: 终端命令执行成功!
2022-04-14 17:39:36,393 INFO: 正在加载QPTDependencyPackage-DownloadWhlOptOP
2022-04-14 17:39:36,394 DEBUG: SHELL: cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip download -r C:\Users\Administrator\anaconda3\envs\pd_env\lib\site-packages\qpt\modules\qpt_lazy_dependency.txt -d D:/QPT_UT_OUT_CACHE/paddledetection\Release\opt/packages -i https://mirror.baidu.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary
2022-04-14 17:39:36,397 DEBUG: PS D:\python_develop\pd_test_build> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip download -r C:\Users\Administrator\anaconda3\envs\pd_env\lib\site-packages\qpt\modules\qpt_lazy_dependency.txt -d D:/QPT_UT_OUT_CACHE/paddledetection\Release\opt/packages -i https://mirror.baidu.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-14 17:39:37,592 DEBUG: Looking in indexes: https://mirror.baidu.com/pypi/simple
2022-04-14 17:39:38,143 DEBUG: Collecting setuptools
2022-04-14 17:39:38,214 DEBUG: Using cached https://mirror.baidu.com/pypi/packages/fb/58/9efbfe68482dab9557c49d433a60fff9efd7ed8835f829eba8297c2c124a/setuptools-62.1.0-py3-none-any.whl (1.1 MB)
2022-04-14 17:39:38,305 DEBUG: Collecting wheel
2022-04-14 17:39:38,334 DEBUG: Using cached https://mirror.baidu.com/pypi/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl (35 kB)
2022-04-14 17:39:38,523 DEBUG: Collecting wget
2022-04-14 17:39:38,570 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip (10 kB)
2022-04-14 17:39:38,586 DEBUG: Preparing metadata (setup.py): started
2022-04-14 17:39:40,074 DEBUG: Preparing metadata (setup.py): finished with status 'done'
2022-04-14 17:39:40,131 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\wheel-0.37.1-py2.py3-none-any.whl
2022-04-14 17:39:40,132 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\wget-3.2.zip
2022-04-14 17:39:40,135 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\setuptools-62.1.0-py3-none-any.whl
2022-04-14 17:39:40,135 DEBUG: Successfully downloaded wheel wget setuptools
2022-04-14 17:39:40,218 DEBUG: 终端命令执行成功!
2022-04-14 17:39:40,218 INFO: 正在封装QPTDependencyPackage-LocalInstallWhlOptOP
2022-04-14 17:39:40,222 DEBUG: SHELL: chcp 65001
2022-04-14 17:39:40,303 DEBUG: Windows PowerShell
2022-04-14 17:39:40,303 DEBUG: Copyright (C) Microsoft Corporation. All rights reserved.
2022-04-14 17:39:40,303 DEBUG: Try the new cross-platform PowerShell https://aka.ms/pscore6
2022-04-14 17:39:40,571 DEBUG: PS D:\python_develop\pd_test_build> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-04-14 17:39:40,587 DEBUG: Active code page: 65001
2022-04-14 17:39:40,592 DEBUG: 终端命令执行成功!
2022-04-14 17:39:40,592 DEBUG: 正在连接PTerminal
2022-04-14 17:39:40,592 INFO: 正在加载CopyCUDAPackage-CopyCUDADLLOP
正在拷贝文件 50/50 |━━━━━━━━━━━━━━━━━━━━| 100.00% 2022-04-14 17:40:07,268 INFO:
2022-04-14 17:40:07,268 INFO: 正在封装CopyCUDAPackage-SetCUDAEnvOP
2022-04-14 17:40:07,411 INFO: 正在加载PaddlePaddlePackage-DownloadWhlOptOP
2022-04-14 17:40:07,413 DEBUG: SHELL: cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip download paddlepaddle_gpu==2.2.2.post101 -d D:/QPT_UT_OUT_CACHE/paddledetection\Release\opt/packages -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary
2022-04-14 17:40:07,415 DEBUG: PS D:\python_develop\pd_test_build> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip download paddlepaddle_gpu==2.2.2.post101 -d D:/QPT_UT_OUT_CACHE/paddledetection\Release\opt/packages -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-14 17:40:08,605 DEBUG: Looking in links: https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html
2022-04-14 17:40:32,261 DEBUG: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=10.0)")': /simple/paddlepaddle-gpu/
2022-04-14 17:40:46,136 DEBUG: WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=10.0)")': /simple/paddlepaddle-gpu/
2022-04-14 17:40:53,620 DEBUG: Collecting paddlepaddle_gpu==2.2.2.post101
2022-04-14 17:40:54,602 DEBUG: Using cached https://paddle-wheel.bj.bcebos.com/2.2.2/windows/windows-gpu-cuda10.1-cudnn7-mkl-avx/paddlepaddle_gpu-2.2.2.post101-cp38-cp38-win_amd64.whl (359.6 MB)
2022-04-14 17:40:56,231 DEBUG: Collecting decorator
2022-04-14 17:40:56,236 DEBUG: Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
2022-04-14 17:40:57,515 DEBUG: Collecting numpy<=1.19.3,>=1.13
2022-04-14 17:40:57,554 DEBUG: Using cached numpy-1.19.3-cp38-cp38-win_amd64.whl (13.3 MB)
2022-04-14 17:40:58,573 DEBUG: Collecting Pillow
2022-04-14 17:40:58,584 DEBUG: Using cached Pillow-9.1.0-cp38-cp38-win_amd64.whl (3.3 MB)
2022-04-14 17:40:59,141 DEBUG: Collecting astor
2022-04-14 17:40:59,145 DEBUG: Using cached astor-0.8.1-py2.py3-none-any.whl (27 kB)
2022-04-14 17:41:04,239 DEBUG: Collecting requests>=2.20.0
2022-04-14 17:41:04,243 DEBUG: Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
2022-04-14 17:41:07,187 DEBUG: Collecting protobuf>=3.1.0
2022-04-14 17:41:07,196 DEBUG: Using cached protobuf-3.20.0-cp38-cp38-win_amd64.whl (904 kB)
2022-04-14 17:41:17,340 DEBUG: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=10.0)")': /simple/six/
2022-04-14 17:41:30,723 DEBUG: Collecting six
2022-04-14 17:41:30,727 DEBUG: Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
2022-04-14 17:41:30,990 DEBUG: Collecting charset-normalizer~=2.0.0
2022-04-14 17:41:30,993 DEBUG: Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
2022-04-14 17:41:34,346 DEBUG: Collecting certifi>=2017.4.17
2022-04-14 17:41:34,350 DEBUG: Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
2022-04-14 17:41:34,592 DEBUG: Collecting idna<4,>=2.5
2022-04-14 17:41:34,596 DEBUG: Using cached idna-3.3-py3-none-any.whl (61 kB)
2022-04-14 17:41:34,916 DEBUG: Collecting urllib3<1.27,>=1.21.1
2022-04-14 17:41:34,922 DEBUG: Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
2022-04-14 17:41:35,324 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\paddlepaddle_gpu-2.2.2.post101-cp38-cp38-win_amd64.whl
2022-04-14 17:41:35,334 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\numpy-1.19.3-cp38-cp38-win_amd64.whl
2022-04-14 17:41:35,337 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\protobuf-3.20.0-cp38-cp38-win_amd64.whl
2022-04-14 17:41:35,352 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\requests-2.27.1-py2.py3-none-any.whl
2022-04-14 17:41:35,353 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\astor-0.8.1-py2.py3-none-any.whl
2022-04-14 17:41:35,354 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\decorator-5.1.1-py3-none-any.whl
2022-04-14 17:41:35,358 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\pillow-9.1.0-cp38-cp38-win_amd64.whl
2022-04-14 17:41:35,360 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\six-1.16.0-py2.py3-none-any.whl
2022-04-14 17:41:35,361 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\certifi-2021.10.8-py2.py3-none-any.whl
2022-04-14 17:41:35,362 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\charset_normalizer-2.0.12-py3-none-any.whl
2022-04-14 17:41:35,362 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\idna-3.3-py3-none-any.whl
2022-04-14 17:41:35,364 DEBUG: Saved d:\qpt_ut_out_cache\paddledetection\release\opt\packages\urllib3-1.26.9-py2.py3-none-any.whl
2022-04-14 17:41:35,364 DEBUG: Successfully downloaded paddlepaddle-gpu numpy protobuf requests astor decorator Pillow six certifi charset-normalizer idna urllib3
2022-04-14 17:41:35,566 DEBUG: 终端命令执行成功!
2022-04-14 17:41:35,566 INFO: 正在封装PaddlePaddlePackage-LocalInstallWhlOptOP
2022-04-14 17:41:35,567 INFO: 正在封装PaddlePaddlePackage-SetPaddleFamilyEnvValueOptOP
2022-04-14 17:41:35,567 INFO: 正在加载AutoRequirementsPackage-DownloadWhlOptOP
2022-04-14 17:41:35,568 DEBUG: SHELL: cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip download -r C:/q_tmp\Cache\requirements_dev.txt -d D:/QPT_UT_OUT_CACHE/paddledetection\Release\opt/packages -i https://mirror.baidu.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary
2022-04-14 17:41:35,572 DEBUG: PS D:\python_develop\pd_test_build> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip download -r C:/q_tmp\Cache\requirements_dev.txt -d D:/QPT_UT_OUT_CACHE/paddledetection\Release\opt/packages -i https://mirror.baidu.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-14 17:41:36,340 DEBUG: Looking in indexes: https://mirror.baidu.com/pypi/simple
2022-04-14 17:41:36,578 DEBUG: Collecting qpt==1.0b3.dev7
2022-04-14 17:41:36,660 DEBUG: Using cached https://mirror.baidu.com/pypi/packages/49/3f/22e3be6e965c5d95a78972e06dd87941e8b8bc5a8cd59ec1416f4680436c/QPT-1.0b3.dev7-py3-none-any.whl (532 kB)
2022-04-14 17:41:37,097 DEBUG: Collecting ttkbootstrap==0.5.1
2022-04-14 17:41:37,144 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/c3/b2/83e1e1841cd1c7fb3ce52d4c72de67503201fa4cb92406a008a7425ada07/ttkbootstrap-0.5.1-py3-none-any.whl (1.1 MB)
2022-04-14 17:41:37,606 DEBUG: Collecting scikit-learn==1.0.2
2022-04-14 17:41:37,626 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/50/f5/2bfd87943a29870bdbe00346c9f3b0545dd7a188201297a33189f866f04e/scikit_learn-1.0.2-cp38-cp38-win_amd64.whl (7.2 MB)
2022-04-14 17:41:38,459 DEBUG: Collecting pycocotools==2.0.4
2022-04-14 17:41:38,486 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/75/5c/ac61ea715d7a89ecc31c090753bde28810238225ca8b71778dfe3e6a68bc/pycocotools-2.0.4.tar.gz (106 kB)
2022-04-14 17:41:42,954 DEBUG: Installing build dependencies: started
2022-04-14 17:41:59,048 DEBUG: Installing build dependencies: finished with status 'done'
2022-04-14 17:41:59,051 DEBUG: Getting requirements to build wheel: started
2022-04-14 17:42:02,228 DEBUG: Getting requirements to build wheel: finished with status 'done'
2022-04-14 17:42:02,237 DEBUG: Preparing metadata (pyproject.toml): started
2022-04-14 17:42:04,438 DEBUG: Preparing metadata (pyproject.toml): finished with status 'done'
2022-04-14 17:42:04,556 DEBUG: Collecting motmetrics==1.2.5
2022-04-14 17:42:04,574 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/45/41/b019fe934eb811b9aba9b335f852305b804b9c66f098d7e35c2bdb09d1c8/motmetrics-1.2.5-py3-none-any.whl (161 kB)
2022-04-14 17:42:04,999 DEBUG: Collecting paddledet==2.3.0
2022-04-14 17:42:05,336 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/bb/27/eb6714bdc12e73544617b1b4b3481ae70bec644a722bcbedd5743531db97/paddledet-2.3.0-py3-none-any.whl (589 kB)
2022-04-14 17:42:05,932 DEBUG: Collecting pillow
2022-04-14 17:42:05,932 DEBUG: File was already downloaded d:\qpt_ut_out_cache\paddledetection\release\opt\packages\Pillow-9.1.0-cp38-cp38-win_amd64.whl
2022-04-14 17:42:06,356 DEBUG: Collecting pefile
2022-04-14 17:42:06,420 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/ee/e1/a7bd302cf5f74547431b4e9b206dbef782d112df6b531f193bb4a29fb1b9/pefile-2021.9.3.tar.gz (72 kB)
2022-04-14 17:42:06,489 DEBUG: Preparing metadata (setup.py): started
2022-04-14 17:42:09,398 DEBUG: Preparing metadata (setup.py): finished with status 'done'
2022-04-14 17:42:09,463 DEBUG: Collecting click
2022-04-14 17:42:09,486 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/a0/66/c8196ad693d62384d8e800e5bd27434a64c0057fe169b61c69a73f1614a8/click-8.1.2-py3-none-any.whl (96 kB)
2022-04-14 17:42:09,589 DEBUG: Collecting wget
2022-04-14 17:42:09,591 DEBUG: File was already downloaded d:\qpt_ut_out_cache\paddledetection\release\opt\packages\wget-3.2.zip
2022-04-14 17:42:09,612 DEBUG: Preparing metadata (setup.py): started
2022-04-14 17:42:10,776 DEBUG: Preparing metadata (setup.py): finished with status 'done'
2022-04-14 17:42:11,349 DEBUG: Collecting numpy>=1.14.6
2022-04-14 17:42:11,375 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/fa/f2/f4ec28f935f980167740c5af5a1908090a48a564bed5e689f4b92386d7d9/numpy-1.22.3-cp38-cp38-win_amd64.whl (14.7 MB)
2022-04-14 17:42:13,415 DEBUG: Collecting scipy>=1.1.0
2022-04-14 17:42:13,501 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/56/a3/591dbf477c35f173279afa7b9ba8e13d9c7c3d001e09aebbf6100aae33a8/scipy-1.8.0-cp38-cp38-win_amd64.whl (36.9 MB)
2022-04-14 17:42:17,448 DEBUG: Collecting threadpoolctl>=2.0.0
2022-04-14 17:42:17,463 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/61/cf/6e354304bcb9c6413c4e02a747b600061c21d38ba51e7e544ac7bc66aecc/threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
2022-04-14 17:42:17,542 DEBUG: Collecting joblib>=0.11
2022-04-14 17:42:17,565 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/3e/d5/0163eb0cfa0b673aa4fe1cd3ea9d8a81ea0f32e50807b0c295871e4aab2e/joblib-1.1.0-py2.py3-none-any.whl (306 kB)
2022-04-14 17:42:17,874 DEBUG: Collecting matplotlib>=2.1.0
2022-04-14 17:42:17,973 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/83/a5/d079d2287ac7a6389059a0e52537dc2e2ff342580512f42f6c7844c451a0/matplotlib-3.5.1-cp38-cp38-win_amd64.whl (7.2 MB)
2022-04-14 17:42:18,788 DEBUG: Collecting xmltodict>=0.12.0
2022-04-14 17:42:18,807 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/28/fd/30d5c1d3ac29ce229f6bdc40bbc20b28f716e8b363140c26eff19122d8a5/xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB)
2022-04-14 17:42:19,135 DEBUG: Collecting pandas>=0.23.1
2022-04-14 17:42:19,160 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/9b/93/e937ef7dc2d712820e4aafdc152d575979adbd192b0ad80f78a28e1f56f3/pandas-1.4.2-cp38-cp38-win_amd64.whl (10.6 MB)
2022-04-14 17:42:20,580 DEBUG: Collecting cython-bbox
2022-04-14 17:42:20,632 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/fa/b9/fc7d60e8c3b29cc0ff24a3bb3c4b7457e10b7610fbb2893741b623487b34/cython_bbox-0.1.3.tar.gz (41 kB)
2022-04-14 17:42:20,667 DEBUG: Preparing metadata (setup.py): started
2022-04-14 17:42:21,171 DEBUG: Preparing metadata (setup.py): finished with status 'error'
2022-04-14 17:42:21,171 DEBUG: ERROR: Command errored out with exit status 1:
2022-04-14 17:42:21,171 DEBUG: command: 'D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' --no-user-cfg egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\pip-pip-egg-info-7gz9xk1u'
2022-04-14 17:42:21,171 DEBUG: cwd: C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55
2022-04-14 17:42:21,171 DEBUG: Complete output (5 lines):
2022-04-14 17:42:21,171 DEBUG: Traceback (most recent call last):
2022-04-14 17:42:21,171 DEBUG: File "", line 1, in
2022-04-14 17:42:21,172 DEBUG: File "C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55\setup.py", line 10, in
2022-04-14 17:42:21,172 DEBUG: from Cython.Build import cythonize
2022-04-14 17:42:21,172 DEBUG: ModuleNotFoundError: No module named 'Cython'
2022-04-14 17:42:21,172 DEBUG: ----------------------------------------
2022-04-14 17:42:21,172 DEBUG: WARNING: Discarding https://mirror.baidu.com/pypi/packages/fa/b9/fc7d60e8c3b29cc0ff24a3bb3c4b7457e10b7610fbb2893741b623487b34/cython_bbox-0.1.3.tar.gz#sha256=82e2d887534ecc10d3507489a05b11259f3baacd29eee37e6d8c97e1ffb16554 (from https://mirror.baidu.com/pypi/simple/cython-bbox/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
2022-04-14 17:42:21,313 DEBUG: Downloading https://mirror.baidu.com/pypi/packages/be/50/21618d0e79554dadd44383a1448ae667941950e391e2d9f7cf1986a0a512/cython_bbox-0.1.2.tar.gz (40 kB)
2022-04-14 17:42:21,348 DEBUG: Preparing metadata (setup.py): started
2022-04-14 17:42:21,857 DEBUG: Preparing metadata (setup.py): finished with status 'error'
2022-04-14 17:42:21,857 DEBUG: ERROR: Command errored out with exit status 1:
2022-04-14 17:42:21,857 DEBUG: command: 'D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' --no-user-cfg egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\pip-pip-egg-info-mqfw7o7_'
2022-04-14 17:42:21,857 DEBUG: cwd: C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98
2022-04-14 17:42:21,857 DEBUG: Complete output (5 lines):
2022-04-14 17:42:21,857 DEBUG: Traceback (most recent call last):
2022-04-14 17:42:21,857 DEBUG: File "", line 1, in
2022-04-14 17:42:21,857 DEBUG: File "C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98\setup.py", line 10, in
2022-04-14 17:42:21,857 DEBUG: from Cython.Build import cythonize
2022-04-14 17:42:21,857 DEBUG: ModuleNotFoundError: No module named 'Cython'
2022-04-14 17:42:21,857 DEBUG: ----------------------------------------
2022-04-14 17:42:21,857 DEBUG: WARNING: Discarding https://mirror.baidu.com/pypi/packages/be/50/21618d0e79554dadd44383a1448ae667941950e391e2d9f7cf1986a0a512/cython_bbox-0.1.2.tar.gz#sha256=81740b3b5e88be8ab12165fc6e176094ac71ef8bc12a27588fe94d85b6128c1c (from https://mirror.baidu.com/pypi/simple/cython-bbox/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
2022-04-14 17:42:21,857 DEBUG: INFO: pip is looking at multiple versions of motmetrics to determine which version is compatible with other requirements. This could take a while.
2022-04-14 17:42:21,857 DEBUG: INFO: pip is looking at multiple versions of pycocotools to determine which version is compatible with other requirements. This could take a while.
2022-04-14 17:42:21,857 DEBUG: INFO: pip is looking at multiple versions of scikit-learn to determine which version is compatible with other requirements. This could take a while.
2022-04-14 17:42:21,858 DEBUG: INFO: pip is looking at multiple versions of ttkbootstrap to determine which version is compatible with other requirements. This could take a while.
2022-04-14 17:42:21,858 DEBUG: INFO: pip is looking at multiple versions of to determine which version is compatible with other requirements. This could take a while.
2022-04-14 17:42:21,858 DEBUG: INFO: pip is looking at multiple versions of qpt to determine which version is compatible with other requirements. This could take a while.
2022-04-14 17:42:21,858 DEBUG: ERROR: Could not find a version that satisfies the requirement cython-bbox (from paddledet) (from versions: 0.1.2, 0.1.3)
2022-04-14 17:42:21,858 DEBUG: ERROR: No matching distribution found for cython-bbox
2022-04-14 17:42:22,346 ERROR: 在执行终端命令时检测到了失败,完整信息如下:
PS D:\python_develop\pd_test_build> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip download -r C:/q_tmp\Cache\requirements_dev.txt -d D:/QPT_UT_OUT_CACHE/paddledetection\Release\opt/packages -i https://mirror.baidu.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in indexes: https://mirror.baidu.com/pypi/simple
Collecting qpt==1.0b3.dev7
Using cached https://mirror.baidu.com/pypi/packages/49/3f/22e3be6e965c5d95a78972e06dd87941e8b8bc5a8cd59ec1416f4680436c/QPT-1.0b3.dev7-py3-none-any.whl (532 kB)
Collecting ttkbootstrap==0.5.1
Downloading https://mirror.baidu.com/pypi/packages/c3/b2/83e1e1841cd1c7fb3ce52d4c72de67503201fa4cb92406a008a7425ada07/ttkbootstrap-0.5.1-py3-none-any.whl (1.1 MB)
Collecting scikit-learn==1.0.2
Downloading https://mirror.baidu.com/pypi/packages/50/f5/2bfd87943a29870bdbe00346c9f3b0545dd7a188201297a33189f866f04e/scikit_learn-1.0.2-cp38-cp38-win_amd64.whl (7.2 MB)
Collecting pycocotools==2.0.4
Downloading https://mirror.baidu.com/pypi/packages/75/5c/ac61ea715d7a89ecc31c090753bde28810238225ca8b71778dfe3e6a68bc/pycocotools-2.0.4.tar.gz (106 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting motmetrics==1.2.5
Downloading https://mirror.baidu.com/pypi/packages/45/41/b019fe934eb811b9aba9b335f852305b804b9c66f098d7e35c2bdb09d1c8/motmetrics-1.2.5-py3-none-any.whl (161 kB)
Collecting paddledet==2.3.0
Downloading https://mirror.baidu.com/pypi/packages/bb/27/eb6714bdc12e73544617b1b4b3481ae70bec644a722bcbedd5743531db97/paddledet-2.3.0-py3-none-any.whl (589 kB)
Collecting pillow
File was already downloaded d:\qpt_ut_out_cache\paddledetection\release\opt\packages\Pillow-9.1.0-cp38-cp38-win_amd64.whl
Collecting pefile
Downloading https://mirror.baidu.com/pypi/packages/ee/e1/a7bd302cf5f74547431b4e9b206dbef782d112df6b531f193bb4a29fb1b9/pefile-2021.9.3.tar.gz (72 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting click
Downloading https://mirror.baidu.com/pypi/packages/a0/66/c8196ad693d62384d8e800e5bd27434a64c0057fe169b61c69a73f1614a8/click-8.1.2-py3-none-any.whl (96 kB)
Collecting wget
File was already downloaded d:\qpt_ut_out_cache\paddledetection\release\opt\packages\wget-3.2.zip
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting numpy>=1.14.6
Downloading https://mirror.baidu.com/pypi/packages/fa/f2/f4ec28f935f980167740c5af5a1908090a48a564bed5e689f4b92386d7d9/numpy-1.22.3-cp38-cp38-win_amd64.whl (14.7 MB)
Collecting scipy>=1.1.0
Downloading https://mirror.baidu.com/pypi/packages/56/a3/591dbf477c35f173279afa7b9ba8e13d9c7c3d001e09aebbf6100aae33a8/scipy-1.8.0-cp38-cp38-win_amd64.whl (36.9 MB)
Collecting threadpoolctl>=2.0.0
Downloading https://mirror.baidu.com/pypi/packages/61/cf/6e354304bcb9c6413c4e02a747b600061c21d38ba51e7e544ac7bc66aecc/threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting joblib>=0.11
Downloading https://mirror.baidu.com/pypi/packages/3e/d5/0163eb0cfa0b673aa4fe1cd3ea9d8a81ea0f32e50807b0c295871e4aab2e/joblib-1.1.0-py2.py3-none-any.whl (306 kB)
Collecting matplotlib>=2.1.0
Downloading https://mirror.baidu.com/pypi/packages/83/a5/d079d2287ac7a6389059a0e52537dc2e2ff342580512f42f6c7844c451a0/matplotlib-3.5.1-cp38-cp38-win_amd64.whl (7.2 MB)
Collecting xmltodict>=0.12.0
Downloading https://mirror.baidu.com/pypi/packages/28/fd/30d5c1d3ac29ce229f6bdc40bbc20b28f716e8b363140c26eff19122d8a5/xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB)
Collecting pandas>=0.23.1
Downloading https://mirror.baidu.com/pypi/packages/9b/93/e937ef7dc2d712820e4aafdc152d575979adbd192b0ad80f78a28e1f56f3/pandas-1.4.2-cp38-cp38-win_amd64.whl (10.6 MB)
Collecting cython-bbox
Downloading https://mirror.baidu.com/pypi/packages/fa/b9/fc7d60e8c3b29cc0ff24a3bb3c4b7457e10b7610fbb2893741b623487b34/cython_bbox-0.1.3.tar.gz (41 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' --no-user-cfg egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\pip-pip-egg-info-7gz9xk1u'
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55\setup.py", line 10, in
from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'

WARNING: Discarding https://mirror.baidu.com/pypi/packages/fa/b9/fc7d60e8c3b29cc0ff24a3bb3c4b7457e10b7610fbb2893741b623487b34/cython_bbox-0.1.3.tar.gz#sha256=82e2d887534ecc10d3507489a05b11259f3baacd29eee37e6d8c97e1ffb16554 (from https://mirror.baidu.com/pypi/simple/cython-bbox/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading https://mirror.baidu.com/pypi/packages/be/50/21618d0e79554dadd44383a1448ae667941950e391e2d9f7cf1986a0a512/cython_bbox-0.1.2.tar.gz (40 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' --no-user-cfg egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\pip-pip-egg-info-mqfw7o7_'
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98\setup.py", line 10, in
from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'

WARNING: Discarding https://mirror.baidu.com/pypi/packages/be/50/21618d0e79554dadd44383a1448ae667941950e391e2d9f7cf1986a0a512/cython_bbox-0.1.2.tar.gz#sha256=81740b3b5e88be8ab12165fc6e176094ac71ef8bc12a27588fe94d85b6128c1c (from https://mirror.baidu.com/pypi/simple/cython-bbox/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
INFO: pip is looking at multiple versions of motmetrics to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pycocotools to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of scikit-learn to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of ttkbootstrap to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of qpt to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement cython-bbox (from paddledet) (from versions: 0.1.2, 0.1.3)
ERROR: No matching distribution found for cython-bbox

2022-04-14 17:42:22,351 INFO: 正在封装AutoRequirementsPackage-LocalInstallWhlOptOP
2022-04-14 17:42:22,457 INFO: 正在封装BatchInstallation-BatchInstallationOptOP
2022-04-14 17:42:22,458 INFO: 正在封装PaddlePaddleCheckAVX-CheckAVXOptOP
2022-04-14 17:42:22,460 INFO: 正在复制相关文件,可能会耗时较长
正在拷贝文件 67/67 |━━━━━━━━━━━━━━━━━━━━| 100.00% 2022-04-14 17:42:23,327 INFO:
2022-04-14 17:42:23,329 INFO: 正在复制相关文件,可能会耗时较长
正在拷贝文件 7/7 |━━━━━━━━━━━━━━━━━━━━| 100.00% 2022-04-14 17:42:23,352 INFO:
正在拷贝文件 5285/5285 |━━━━━━━━━━━━━━━━━━━━| 100.00% 2022-04-14 17:44:42,620 INFO:
正在拷贝文件 4/4 |━━━━━━━━━━━━━━━━━━━━| 100.00% 2022-04-14 17:44:42,634 INFO:
2022-04-14 17:44:42,635 INFO: ----------WARNING SUMMARY
2022-04-14 17:44:42,635 INFO: 0|C:\Users\ADMINI~1\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7中 ~ 字符会可能影响使用。
2022-04-14 17:44:42,635 INFO: 1|当前系统的用户名中包含中文/空格等可能会对程序造成异常的字符,现已默认QPT临时目录为C:/q_tmp
2022-04-14 17:44:42,635 INFO: 2|检测到.idea,推测出D:\python_develop\pd_test_build为.idea目录,在打包时会忽略该目录
2022-04-14 17:44:42,635 INFO: ----------ERROR SUMMARY
2022-04-14 17:44:42,635 INFO: 3|在执行终端命令时检测到了失败,完整信息如下:
PS D:\python_develop\pd_test_build> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe -m pip download -r C:/q_tmp\Cache\requirements_dev.txt -d D:/QPT_UT_OUT_CACHE/paddledetection\Release\opt/packages -i https://mirror.baidu.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in indexes: https://mirror.baidu.com/pypi/simple
Collecting qpt==1.0b3.dev7
Using cached https://mirror.baidu.com/pypi/packages/49/3f/22e3be6e965c5d95a78972e06dd87941e8b8bc5a8cd59ec1416f4680436c/QPT-1.0b3.dev7-py3-none-any.whl (532 kB)
Collecting ttkbootstrap==0.5.1
Downloading https://mirror.baidu.com/pypi/packages/c3/b2/83e1e1841cd1c7fb3ce52d4c72de67503201fa4cb92406a008a7425ada07/ttkbootstrap-0.5.1-py3-none-any.whl (1.1 MB)
Collecting scikit-learn==1.0.2
Downloading https://mirror.baidu.com/pypi/packages/50/f5/2bfd87943a29870bdbe00346c9f3b0545dd7a188201297a33189f866f04e/scikit_learn-1.0.2-cp38-cp38-win_amd64.whl (7.2 MB)
Collecting pycocotools==2.0.4
Downloading https://mirror.baidu.com/pypi/packages/75/5c/ac61ea715d7a89ecc31c090753bde28810238225ca8b71778dfe3e6a68bc/pycocotools-2.0.4.tar.gz (106 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting motmetrics==1.2.5
Downloading https://mirror.baidu.com/pypi/packages/45/41/b019fe934eb811b9aba9b335f852305b804b9c66f098d7e35c2bdb09d1c8/motmetrics-1.2.5-py3-none-any.whl (161 kB)
Collecting paddledet==2.3.0
Downloading https://mirror.baidu.com/pypi/packages/bb/27/eb6714bdc12e73544617b1b4b3481ae70bec644a722bcbedd5743531db97/paddledet-2.3.0-py3-none-any.whl (589 kB)
Collecting pillow
File was already downloaded d:\qpt_ut_out_cache\paddledetection\release\opt\packages\Pillow-9.1.0-cp38-cp38-win_amd64.whl
Collecting pefile
Downloading https://mirror.baidu.com/pypi/packages/ee/e1/a7bd302cf5f74547431b4e9b206dbef782d112df6b531f193bb4a29fb1b9/pefile-2021.9.3.tar.gz (72 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting click
Downloading https://mirror.baidu.com/pypi/packages/a0/66/c8196ad693d62384d8e800e5bd27434a64c0057fe169b61c69a73f1614a8/click-8.1.2-py3-none-any.whl (96 kB)
Collecting wget
File was already downloaded d:\qpt_ut_out_cache\paddledetection\release\opt\packages\wget-3.2.zip
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting numpy>=1.14.6
Downloading https://mirror.baidu.com/pypi/packages/fa/f2/f4ec28f935f980167740c5af5a1908090a48a564bed5e689f4b92386d7d9/numpy-1.22.3-cp38-cp38-win_amd64.whl (14.7 MB)
Collecting scipy>=1.1.0
Downloading https://mirror.baidu.com/pypi/packages/56/a3/591dbf477c35f173279afa7b9ba8e13d9c7c3d001e09aebbf6100aae33a8/scipy-1.8.0-cp38-cp38-win_amd64.whl (36.9 MB)
Collecting threadpoolctl>=2.0.0
Downloading https://mirror.baidu.com/pypi/packages/61/cf/6e354304bcb9c6413c4e02a747b600061c21d38ba51e7e544ac7bc66aecc/threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting joblib>=0.11
Downloading https://mirror.baidu.com/pypi/packages/3e/d5/0163eb0cfa0b673aa4fe1cd3ea9d8a81ea0f32e50807b0c295871e4aab2e/joblib-1.1.0-py2.py3-none-any.whl (306 kB)
Collecting matplotlib>=2.1.0
Downloading https://mirror.baidu.com/pypi/packages/83/a5/d079d2287ac7a6389059a0e52537dc2e2ff342580512f42f6c7844c451a0/matplotlib-3.5.1-cp38-cp38-win_amd64.whl (7.2 MB)
Collecting xmltodict>=0.12.0
Downloading https://mirror.baidu.com/pypi/packages/28/fd/30d5c1d3ac29ce229f6bdc40bbc20b28f716e8b363140c26eff19122d8a5/xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB)
Collecting pandas>=0.23.1
Downloading https://mirror.baidu.com/pypi/packages/9b/93/e937ef7dc2d712820e4aafdc152d575979adbd192b0ad80f78a28e1f56f3/pandas-1.4.2-cp38-cp38-win_amd64.whl (10.6 MB)
Collecting cython-bbox
Downloading https://mirror.baidu.com/pypi/packages/fa/b9/fc7d60e8c3b29cc0ff24a3bb3c4b7457e10b7610fbb2893741b623487b34/cython_bbox-0.1.3.tar.gz (41 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' --no-user-cfg egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\pip-pip-egg-info-7gz9xk1u'
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_80975ca6454b40de932c77112ff5ef55\setup.py", line 10, in
from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'

WARNING: Discarding https://mirror.baidu.com/pypi/packages/fa/b9/fc7d60e8c3b29cc0ff24a3bb3c4b7457e10b7610fbb2893741b623487b34/cython_bbox-0.1.3.tar.gz#sha256=82e2d887534ecc10d3507489a05b11259f3baacd29eee37e6d8c97e1ffb16554 (from https://mirror.baidu.com/pypi/simple/cython-bbox/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading https://mirror.baidu.com/pypi/packages/be/50/21618d0e79554dadd44383a1448ae667941950e391e2d9f7cf1986a0a512/cython_bbox-0.1.2.tar.gz (40 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'D:\QPT_UT_OUT_CACHE\paddledetection\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' --no-user-cfg egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\pip-pip-egg-info-mqfw7o7_'
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Administrator\AppData\Local\Temp\pip-download-0ifiahm6\cython-bbox_d5eb76ae658d4f6b9d0fed1279b30d98\setup.py", line 10, in
from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'

WARNING: Discarding https://mirror.baidu.com/pypi/packages/be/50/21618d0e79554dadd44383a1448ae667941950e391e2d9f7cf1986a0a512/cython_bbox-0.1.2.tar.gz#sha256=81740b3b5e88be8ab12165fc6e176094ac71ef8bc12a27588fe94d85b6128c1c (from https://mirror.baidu.com/pypi/simple/cython-bbox/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
INFO: pip is looking at multiple versions of motmetrics to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pycocotools to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of scikit-learn to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of ttkbootstrap to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of qpt to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement cython-bbox (from paddledet) (from versions: 0.1.2, 0.1.3)
ERROR: No matching distribution found for cython-bbox

2022-04-14 17:44:42,636 INFO: ----------生成状态WARNING:3 ERROR:1
2022-04-14 17:44:42,636 WARNING: SUMMARY结束,发现上述异常情况,请确认后按任意键继续!

建议在此处粘贴完整日志

以上信息请务必提供,如未提供以上信息,该issue将默认忽略+close,不做任何支持,需要您的配合。

我的建议
A clear and concise description of what you expected to happen.

运行DEBUG.exe的结果

D:\QPT_UT_OUT_CACHE\paddledetection\Debug>"./Python/python.exe" -c "import sys;sys.path.append('./Python');sys.path.append('./Python/Lib');sys.path.append('./Python/Lib/site-packages');sys.path.append('./Python/Scripts');import qpt.run as run"
2022-04-14 18:33:01,647 DEBUG: 操作系统类型:Windows
2022-04-14 18:33:01,661 DEBUG: 操作系统位数:AMD64
2022-04-14 18:33:01,662 DEBUG: Python所识别到的环境变量如下:
PATH:D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages
PATH:D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib
PATH:D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\ext
PATH:D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python
PATH:D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Scripts
PATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin
PATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\libnvvp
PATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin
PATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\libnvvp
PATH:C:\Program Files\Basler\pylon 6\Runtime\x64
PATH:C:\Program Files\Basler\pylon 6\Runtime\Win32
PATH:C:\Program Files\Common Files\Oracle\Java\javapath
PATH:C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS
PATH:C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS
PATH:C:\Windows\system32
PATH:C:\Windows
PATH:C:\Windows\System32\Wbem
PATH:C:\Windows\System32\WindowsPowerShell\v1.0
PATH:C:\Windows\System32\OpenSSH
PATH:C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
PATH:C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
PATH:C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT
PATH:C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
PATH:C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
PATH:C:\Program Files\dotnet
PATH:C:\Program Files\Polyspace\R2019b\runtime\win64
PATH:C:\Program Files\Polyspace\R2019b\bin
PATH:C:\Program Files\Polyspace\R2019b\polyspace\bin
PATH:C:\mingw64\bin
PATH:C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.4.0
PATH:C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
PATH:C:\Program Files\Git\cmd
PATH:D:\opencv\build\x64\vc15\bin
PATH:D:\TensorRT-6.0.1.5\bin
PATH:C:\Program Files\nodejs
PATH:C:\ProgramData\chocolatey\bin
PATH:C:\Program Files\Microsoft VS Code\bin
PATH:C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps
PATH:C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin
PATH:C:\Program Files\JetBrains\PyCharm 2020.3.4\bin
PATH:C:\Users\Administrator.dotnet\tools
PATH:E:\snap7_envs
PATH:C:\Program Files\JetBrains\CLion 2021.3.4\bin
PATH:C:\Program Files\CMake\bin
PATH:C:\Users\Administrator\AppData\Roaming\npm
PATH:%SYSTEMROOT%/System32/WindowsPowerShell/v1.0
PATH:C:/Windows/System32/WindowsPowerShell/v1.0
PATH:%ProgramFiles%/WindowsPowerShell/Modules
PATH:%SystemRoot%/system32/WindowsPowerShell/v1.0/Modules
PATH:D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/CUDA
PATH:
PYTHONPATH:D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages
PYTHONPATH:D:\QPT_UT_OUT_CACHE\paddledetection\Debug
PYTHONPATH:D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python

2022-04-14 18:33:01,727 WARNING: C:\Users\ADMINI~1\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7中 ~ 字符会可能影响使用。
2022-04-14 18:33:01,727 WARNING: 当前系统的用户名中包含中文/空格等可能会对程序造成异常的字符,现已默认QPT临时目录为C:/q_tmp
D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages_distutils_hack_init_.py:30: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
2022-04-14 18:33:02,521 INFO: QPT Runtime版本号为1.0b3.dev7,若无法使用该程序,可向程序发布者或GitHub: QPT-Family/QPT提交issue寻求帮助
2022-04-14 18:33:02,529 DEBUG: SHELL: chcp 65001
2022-04-14 18:33:02,744 DEBUG: Windows PowerShell
2022-04-14 18:33:02,744 DEBUG: Copyright (C) Microsoft Corporation. All rights reserved.
2022-04-14 18:33:02,745 DEBUG: Try the new cross-platform PowerShell https://aka.ms/pscore6
2022-04-14 18:33:03,109 DEBUG: PS D:\QPT_UT_OUT_CACHE\paddledetection\Debug> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-04-14 18:33:03,142 DEBUG: Active code page: 65001
2022-04-14 18:33:03,160 DEBUG: 终端命令执行成功!
2022-04-14 18:33:03,161 DEBUG: 正在连接PIPTerminal
2022-04-14 18:33:03,345 DEBUG: 已设置PIP跨版本编译模式,目标解释器路径为:D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe
2022-04-14 18:33:03,350 DEBUG: SHELL: chcp 65001
2022-04-14 18:33:03,433 DEBUG: Windows PowerShell
2022-04-14 18:33:03,434 DEBUG: Copyright (C) Microsoft Corporation. All rights reserved.
2022-04-14 18:33:03,435 DEBUG: Try the new cross-platform PowerShell https://aka.ms/pscore6
2022-04-14 18:33:03,772 DEBUG: PS D:\QPT_UT_OUT_CACHE\paddledetection\Debug> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-04-14 18:33:03,793 DEBUG: Active code page: 65001
2022-04-14 18:33:03,797 DEBUG: 终端命令执行成功!
2022-04-14 18:33:03,797 DEBUG: 正在连接PTerminal
2022-04-14 18:33:03,807 INFO: 初次使用将会适应本地环境,可能需要几分钟时间,请耐心等待...
初始化进度 18:331/8 |━━ | 12.50% Python38部署中...2022-04-14 18:33:03,926 DEBUG: 正在加载Python38-UnPackPythonEnvOptOP
初始化进度 18:332/8 |━━━━━ | 25.00% QPTDependencyPackage部署中...2022-04-14 18:33:03,942 DEBUG: 正在加载QPTDependencyPackage-LocalInstallWhlOptOP
2022-04-14 18:33:03,945 DEBUG: SHELL: cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install -r C:/q_tmp\Cache\FileSerialize.tmp --target D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages --no-index -f D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary
2022-04-14 18:33:03,948 DEBUG: PS D:\QPT_UT_OUT_CACHE\paddledetection\Debug> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install -r C:/q_tmp\Cache\FileSerialize.tmp --target D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages --no-index -f D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-14 18:33:05,689 DEBUG: Looking in links: d:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages
2022-04-14 18:33:05,991 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\setuptools-62.1.0-py3-none-any.whl
2022-04-14 18:33:06,075 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\wheel-0.37.1-py2.py3-none-any.whl
2022-04-14 18:33:06,112 DEBUG: Collecting wget
2022-04-14 18:33:06,113 DEBUG: Using cached wget-3.2-py3-none-any.whl
2022-04-14 18:33:06,718 DEBUG: Installing collected packages: wheel, wget, setuptools
2022-04-14 18:33:10,198 DEBUG: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
2022-04-14 18:33:10,199 DEBUG: qpt 1.0b3.dev7 requires click, which is not installed.
2022-04-14 18:33:10,201 DEBUG: qpt 1.0b3.dev7 requires pefile, which is not installed.
2022-04-14 18:33:10,202 DEBUG: qpt 1.0b3.dev7 requires ttkbootstrap==0.5.1, which is not installed.
2022-04-14 18:33:10,203 DEBUG: Successfully installed setuptools-62.1.0 wget-3.2 wheel-0.37.1
2022-04-14 18:33:10,203 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\distutils-precedence.pth already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,204 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\pkg_resources already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,205 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\setuptools already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,206 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\setuptools-62.1.0.dist-info already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,206 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\wget-3.2.dist-info already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,207 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\wget.py already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,208 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\wheel already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,209 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\wheel-0.37.1.dist-info already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,212 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages_distutils_hack already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,212 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages_pycache_ already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,213 DEBUG: WARNING: Target directory D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\bin already exists. Specify --upgrade to force replacement.
2022-04-14 18:33:10,586 DEBUG: 终端命令执行成功!
初始化进度 18:333/8 |━━━━━━━ | 37.50% CopyCUDAPackage部署中...2022-04-14 18:33:10,601 DEBUG: 正在加载CopyCUDAPackage-SetCUDAEnvOP
初始化进度 18:334/8 |━━━━━━━━━━ | 50.00% PaddlePaddlePackage部署中...2022-04-14 18:33:10,606 DEBUG: 正在加载PaddlePaddlePackage-LocalInstallWhlOptOP
2022-04-14 18:33:10,607 DEBUG: SHELL: cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install paddlepaddle_gpu==2.2.2.post101 -U --upgrade-strategy eager --target D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages --no-index -f D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary
2022-04-14 18:33:10,610 DEBUG: PS D:\QPT_UT_OUT_CACHE\paddledetection\Debug> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install paddlepaddle_gpu==2.2.2.post101 -U --upgrade-strategy eager --target D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages --no-index -f D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-14 18:33:11,504 DEBUG: Looking in links: d:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages
2022-04-14 18:33:11,763 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\paddlepaddle_gpu-2.2.2.post101-cp38-cp38-win_amd64.whl
2022-04-14 18:33:11,931 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\six-1.16.0-py2.py3-none-any.whl
2022-04-14 18:33:11,964 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\protobuf-3.20.0-cp38-cp38-win_amd64.whl
2022-04-14 18:33:11,998 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\requests-2.27.1-py2.py3-none-any.whl
2022-04-14 18:33:12,032 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\decorator-5.1.1-py3-none-any.whl
2022-04-14 18:33:12,060 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\astor-0.8.1-py2.py3-none-any.whl
2022-04-14 18:33:12,088 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\numpy-1.19.3-cp38-cp38-win_amd64.whl
2022-04-14 18:33:12,132 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\pillow-9.1.0-cp38-cp38-win_amd64.whl
2022-04-14 18:33:12,206 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\certifi-2021.10.8-py2.py3-none-any.whl
2022-04-14 18:33:12,238 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\urllib3-1.26.9-py2.py3-none-any.whl
2022-04-14 18:33:12,270 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\idna-3.3-py3-none-any.whl
2022-04-14 18:33:12,314 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\charset_normalizer-2.0.12-py3-none-any.whl
2022-04-14 18:33:12,626 DEBUG: Installing collected packages: urllib3, idna, charset-normalizer, certifi, six, requests, protobuf, Pillow, numpy, decorator, astor, paddlepaddle-gpu
2022-04-14 18:33:39,463 DEBUG: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
2022-04-14 18:33:39,464 DEBUG: qpt 1.0b3.dev7 requires click, which is not installed.
2022-04-14 18:33:39,464 DEBUG: qpt 1.0b3.dev7 requires pefile, which is not installed.
2022-04-14 18:33:39,464 DEBUG: qpt 1.0b3.dev7 requires ttkbootstrap==0.5.1, which is not installed.
2022-04-14 18:33:39,464 DEBUG: Successfully installed Pillow-9.1.0 astor-0.8.1 certifi-2021.10.8 charset-normalizer-2.0.12 decorator-5.1.1 idna-3.3 numpy-1.19.3 paddlepaddle-gpu-2.2.2.post101 protobuf-3.20.0 requests-2.27.1 six-1.16.0 urllib3-1.26.9
2022-04-14 18:34:08,539 DEBUG: 终端命令执行成功!
2022-04-14 18:34:08,546 DEBUG: 正在加载PaddlePaddlePackage-SetPaddleFamilyEnvValueOptOP
初始化进度 18:345/8 |━━━━━━━━━━━━ | 62.50% AutoRequirementsPackage部署中...2022-04-14 18:34:08,616 DEBUG: 正在加载AutoRequirementsPackage-LocalInstallWhlOptOP
2022-04-14 18:34:08,619 DEBUG: SHELL: cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install -r C:/q_tmp\Cache\FileSerialize.tmp --target D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages --no-index -f D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary
2022-04-14 18:34:08,622 DEBUG: PS D:\QPT_UT_OUT_CACHE\paddledetection\Debug> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install -r C:/q_tmp\Cache\FileSerialize.tmp --target D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages --no-index -f D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-14 18:34:09,331 DEBUG: Looking in links: d:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages
2022-04-14 18:34:09,552 DEBUG: ERROR: Could not find a version that satisfies the requirement qpt==1.0b3.dev7 (from versions: none)
2022-04-14 18:34:09,552 DEBUG: ERROR: No matching distribution found for qpt==1.0b3.dev7
2022-04-14 18:34:09,602 ERROR: 在执行终端命令时检测到了失败,完整信息如下:
PS D:\QPT_UT_OUT_CACHE\paddledetection\Debug> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install -r C:/q_tmp\Cache\FileSerialize.tmp --target D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages --no-index -f D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in links: d:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages
ERROR: Could not find a version that satisfies the requirement qpt==1.0b3.dev7 (from versions: none)
ERROR: No matching distribution found for qpt==1.0b3.dev7

初始化进度 18:346/8 |━━━━━━━━━━━━━━━ | 75.00% BatchInstallation部署中...2022-04-14 18:34:09,609 DEBUG: 正在加载BatchInstallation-BatchInstallationOptOP
2022-04-14 18:34:09,834 INFO: 需要补充的安装包数量为:2
2022-04-14 18:34:09,836 DEBUG: SHELL: cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages\charset_normalizer-2.0.12-py3-none-any.whl --no-index --no-deps -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary
2022-04-14 18:34:09,838 DEBUG: PS D:\QPT_UT_OUT_CACHE\paddledetection\Debug> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages\charset_normalizer-2.0.12-py3-none-any.whl --no-index --no-deps -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-14 18:34:10,529 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\charset_normalizer-2.0.12-py3-none-any.whl
2022-04-14 18:34:10,744 DEBUG: charset-normalizer is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
2022-04-14 18:34:10,803 DEBUG: 终端命令执行成功!
2022-04-14 18:34:10,804 DEBUG: SHELL: cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages\paddlepaddle_gpu-2.2.2.post101-cp38-cp38-win_amd64.whl --no-index --no-deps -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary
2022-04-14 18:34:10,807 DEBUG: PS D:\QPT_UT_OUT_CACHE\paddledetection\Debug> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages\paddlepaddle_gpu-2.2.2.post101-cp38-cp38-win_amd64.whl --no-index --no-deps -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-14 18:34:11,472 DEBUG: Processing d:\qpt_ut_out_cache\paddledetection\debug\opt\packages\paddlepaddle_gpu-2.2.2.post101-cp38-cp38-win_amd64.whl
2022-04-14 18:34:11,753 DEBUG: paddlepaddle-gpu is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
2022-04-14 18:34:11,830 DEBUG: 终端命令执行成功!
初始化进度 18:347/8 |━━━━━━━━━━━━━━━━━ | 87.50% PaddlePaddleCheckAVX部署中...2022-04-14 18:34:11,835 DEBUG: 正在加载PaddlePaddleCheckAVX-CheckAVXOptOP
D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\paddle\vision\transforms\functional_pil.py:36: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
'nearest': Image.NEAREST,
D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\paddle\vision\transforms\functional_pil.py:37: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
'bilinear': Image.BILINEAR,
D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\paddle\vision\transforms\functional_pil.py:38: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
'bicubic': Image.BICUBIC,
D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\paddle\vision\transforms\functional_pil.py:39: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
'box': Image.BOX,
D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\paddle\vision\transforms\functional_pil.py:40: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
'lanczos': Image.LANCZOS,
D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages\paddle\vision\transforms\functional_pil.py:41: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
'hamming': Image.HAMMING
初始化进度 18:348/8 |━━━━━━━━━━━━━━━━━━━━| 100.00% 初始化完毕2022-04-14 18:34:15,912 INFO:
2022-04-14 18:34:15,912 INFO: ----------WARNING SUMMARY
2022-04-14 18:34:15,913 INFO: 0|C:\Users\ADMINI~1\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7中 ~ 字符会可能影响使用。

2022-04-14 18:34:15,913 INFO: 1|当前系统的用户名中包含中文/空格等可能会对程序造成异常的字符,现已默认QPT临时目录为C:/q_tmp

2022-04-14 18:34:15,913 INFO: ----------ERROR SUMMARY
2022-04-14 18:34:15,914 INFO: 2|在执行终端命令时检测到了失败,完整信息如下:
PS D:\QPT_UT_OUT_CACHE\paddledetection\Debug> cd D: ;D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\python.exe -m pip install -r C:/q_tmp\Cache\FileSerialize.tmp --target D:\QPT_UT_OUT_CACHE\paddledetection\Debug\Python\Lib\site-packages --no-index -f D:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:/q_tmp\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in links: d:\QPT_UT_OUT_CACHE\paddledetection\Debug\opt/packages
ERROR: Could not find a version that satisfies the requirement qpt==1.0b3.dev7 (from versions: none)
ERROR: No matching distribution found for qpt==1.0b3.dev7

目前QPT在非二进制的Python依赖中处理的还很差,看日志内容更偏向是在安装pycocoapi时出现了问题:Setup.py中没有锁定cython依赖 + pycocoapi未提供二进制版本的whl包。
重构包管理器是QPT近期重点的工作,可能在发版前做不到很轻松解决这类依赖问题,但可以尝试以下方案来碰碰运气:

  1. 手动构建pycocoapi whl包,并删除其上层依赖对其的约束
  2. (建议)使用不限于自定义SubModule的形式,优先安装cython依赖,虽然自定义SubModule的文档还没写,但有个优先安装Numpy的issue可以参考:#36 (comment)

关于方案1中的手动构建,我这边有一份现成的,但还没有测试,构建方案与成品可参考:https://github.com/QPT-Family/GetWhl/actions/runs/2049898404

谢谢,打包成功了,采用了方式一与方式二结合的方法
由于paddledetection安装时,官方推荐先安装cython再安装pycocotools,所以先把cython安装的优先级往前调,再分别安装你提供的pycocotools的whl文件与修改过的cython-bbox的whl文件,使用时要删去依赖文件中pycocotools以及cython-bbox的相关内容,保留cython

这是我qpt2exe的代码

from qpt.executor import CreateExecutableModule as CEM
from qpt.modules.package import CopyWhl2Packages

from qpt.modules.base import HIGH_LEVEL
from qpt.modules.package import CustomPackage, LOCAL_INSTALL_DEPLOY_MODE



numpy_package = CustomPackage(package="numpy", version='1.19.3', deploy_mode=LOCAL_INSTALL_DEPLOY_MODE)
lap_package = CustomPackage(package="lap", version=None, deploy_mode=LOCAL_INSTALL_DEPLOY_MODE)
cython_package = CustomPackage(package="Cython",version=None,deploy_mode=LOCAL_INSTALL_DEPLOY_MODE)

numpy_package.level = HIGH_LEVEL
cython_package.level = HIGH_LEVEL

module = CEM(work_dir="./",                              # [项目文件夹]待打包的目录,并且该目录下需要有↓下方提到的py文件
             launcher_py_path="main.py",                  # [主程序文件]用户启动EXE文件后,QPT要执行的py文件
             save_path="D:/QPT_UT_OUT_CACHE/paddledetection",       # [输出目录]打包后相关文件的输出目录
             requirements_file="auto",                    # [Python依赖]此处可填入依赖文件路径,也可设置为auto自动搜索依赖
             hidden_terminal=False,                    # [终端窗口]设置为True后,运行时将不会展示黑色终端窗口
             sub_modules=[
                 numpy_package,
                 lap_package,
                 cython_package,
                 CopyWhl2Packages('./dist/pycocotools-2.0-cp38-cp38-win_amd64.whl'),  # 修改这一行
                 CopyWhl2Packages('./dist/cython_bbox-0.1.3-cp38-cp38-win_amd64.whl')
             ]
             )

module.make()

那太好了哈哈哈,如果方便的话,也可以整理一下类似这样https://github.com/QPT-Family/QPT/tree/%E5%BC%80%E5%8F%91%E5%88%86%E6%94%AF/examples/advanced 的教程PR至QPT,这样也会帮到更多人~

本来是想着把手头的项目搞定之后写一篇教程的,但是这两天刚好paddledetection更新到了2.4.0,我之前打包出问题的是2.3.0

试用paddledetection2.4.0版本之后,直接按照你最原始的打包代码就打包成功啦,不需要额外配置pycocotools和cython

好嘞~辛苦