Giter VIP home page Giter VIP logo

qpt's Introduction

QPT - Python程序模块化封装工具(Py转EXE)

Downloads GitHub release (latest by date including pre-releases) GitHub forks GitHub Repo stars GitHub QQGroup

Gitee主页 | GitHub主页 | 快速使用 | 进阶教程 | 开发进度 GitHub Project | 踩坑笔记
社区&赞助支持 | QPT SDK仓库

项目不定期更新

因工作原因、个人健康状态,再加上硬盘坏了导致拓展Python环境的源码完全丢失(未开源是因为体积太大),项目恢复更新成本过高,故无法进行更新。
换工作了,有时间了,可更!

QPT是一款致力于让开源项目更好通往互联网世界的Python项目打包工具,以此期望更多计算机用户能够分享开源的乐趣与价值。
在设计之初,我们发现较多深度学习开源项目仅能够在专业开发者手中运行,想要让普通人参与其中并非易事(CUDA支持、MKL、NoAVX支持等),故在灵活性和易用性上做出额外设计,使其更利于高阶开发者定制封装策略,也能够满足入门开发者基础封装需要。

QPT并非一天建成,涉及编译、性能的项目通常需要长时间建设,考虑到当前建设进度,建议使用时在指导下投入生产环境,以此避免被老板暴打hhh~

如果对您有帮助,欢迎来点个⭐Star吧

版本说明

EAP - The Early Access Program 更新日志 | 开发进度

当前版本为V1.0b7,该版本已放弃对Python3.7及更低版本支持,同时我们仍仅支持Windows10 1806+的适配(不支持MAC和Linux纯粹是维护不过来,而不支持低版本Windows是因为真的太难)

如在Win7中不能运行,可考虑在cmd中输入sfc/scannow修复系统进行解决,Win7+系统在输入前需添加DISM/Online/Cleanup-Image/RestoreHealth 或许还能有抢救的机会

  • 使用QPT的优势
    【打包逻辑自由】默认打包不及预期,可通过自定义SubModule来让QPT来捕捉你的封装需求。 可参考 [进阶教程](https://github.com/QPT-Family/QPT#%E8%BF%9B%E9%98%B6%E4%BD%BF%E7%94%A8qpt)
    【图形化/代码/命令打包】图形化界面是最易于使用的方式,同时支持代码控制打包逻辑,以及属于一行命令进行打包。(图形化打包方式正在建设中,预计V1.0a版本发布)  
    【源码形态自由】默认打包后源码可见,也可编译为pyd以保护源码内容。(源码可见也意味着可以使用git来帮助用户更新你的源代码)
    【内置CUDA打包逻辑】深度学习项目有福了。(AMD的ROCm如果支持Windows,可及时通知我来加入适配)  
    【Debug与日志】提供几个实用的Debug工具以及日志系统,方便用户使用出现问题时更快追踪异常情况。  
    【EXE的体积/速度可定制】支持三种打包方式:秒安装、首次安装、在线安装三种方式,对应了三种:普通、较小、Mini三种打包体积,未来还将支持1M+大小的在线部署模块。
    
  • QPT的缺陷
    【环境模拟】由于是“模拟”开发环境,所以相较传统打包对项目的规范程度有一定要求,越规范的项目越不容易出问题。(在努力想办法增加容错率了,在努力了,在努力了,打包中弹出的提示信息一定要多看几眼,每个字符都是血汗啊)  
    【依赖处理】QPT只会打包源码中出现的Python包,但如果该包的依赖部分书写不规范(当然,大部分Python包是规范的)则可能会出现依赖缺失的问题。若您没有Requirements文件,那么在QPT自动生成Requirements.txt文件后需要您确认依赖是否完备,否则可能会有依赖漏掉的情况。  
    【踩坑继承】您搭建项目时所踩下的坑,QPT在模拟时可能并不会自动打包进去,极端情况下仍需要您手动撰写SubModule来保证用户可以正常使用。 
    【仍在测试】当前版本并非正式版,所以会有坑,放心吧。
    【兼容性】仅兼容Windows10 1806+,低版本Windows只能碰运气,Linux和MAC的适配还没新建文件夹。
    

快速使用

安装/更新QPT到当前环境

安装

  • 通用方式:python -m pip install qpt
  • 国内推荐:python -m pip install qpt -i https://mirrors.bfsu.edu.cn/pypi/web/simple

更新 - 强烈建议先卸载后安装

  • Step1 卸载:python -m pip uninstall qpt
  • Step2 安装:python -m pip install qpt

开始打包

方式一、撰写打包脚本[推荐]

  • 撰写以下代码即可完成打包:

    # 导入QPT
    from qpt.executor import CreateExecutableModule as CEM
    
    #                                                        -----关于路径的部分,强烈建议使用绝对路径避免出现问题-----
    module = CEM(work_dir="./sample_program",                # [项目文件夹]待打包的目录,并且该目录下需要有↓下方提到的py文件
                 launcher_py_path="./sample_program/run.py", # [主程序文件]用户启动EXE文件后,QPT要执行的py文件
                 save_path="./out")                          # [输出目录]打包后相关文件的输出目录
               # requirements_file="auto"                    # [Python依赖]此处可填入依赖文件路径,也可设置为auto自动搜索依赖
               # hidden_terminal=False                       # [终端窗口]设置为True后,运行时将不会展示黑色终端窗口  
               # interpreter_version=38                      # [跨版本编译]填写38、39、310数字格式的版本号即可生成指定的环境
                                                             # 好奇什么时候需要跨版本编译?可参考下方"进阶使用QPT"一节的《打包兼容性更强的Python解释器》
               # icon="your_ico.ico"                         # [自定义图标文件]支持将exe文件设置为ico/JPG/PNG等格式的自定义图标
    # 开始打包
    module.make()

方式二、使用命令打包[快捷]

注意:使用命令打包的前提是当前默认Python环境中使用pip安装了qpt,否则可能存在形如qpt不是内部或外部命令,也不是可运行的程序的报错信息。此外,若需要自动搜索依赖,强烈建议将QPT安装在开发环境,并且在开发环境中执行QPT,因为QPT会在搜索文件的import和pip list进行比对来确保搜索结果精确。

  • 打开cmd/终端并输入以下命令即可完成打包:

    chcp 65001
    qpt.exe -f ./sample_program -p ./sample_program/run.py -s ./out -h False

    chcp 65001 命令可使得终端转为utf-8形式,避免出现编码问题

  • 完整命令列表可使用qpt --help获取:

    Options:
      -f, --folder TEXT     [项目文件夹]待打包的文件夹路径该目录也应当为整个项目的根目录或工作目录否则可能会导致出现找不到模块等P
                            ython基础报错。  [required]
      -p, --py TEXT         [主程序文件]待打包的主要Py脚本文件所在的路径例如要yyy/xxx.py中xxx.py是需要打包的主要P
                            ython文件那么该处填写xxx.py即可。  [required]
      -s, --save TEXT       [输出目录]打包后文件保存的路径。  [required]
      -r, --require TEXT    [Python依赖]自动检测软件包依赖填写auto后将会自动查找待打包的文件夹路径中所有py文件的impo
                            rt使用情况最终生成requirements文件
                            当然也可传入requirements.txt文件路径这样即可指定依赖列表进行安装-h, --hidden BOOLEAN  [终端窗口]是否隐藏全部终端窗口若输入true或判定为真则隐藏全部Terminal窗口适用于使用了PyQ
                            TTK等桌面级可视化程序),输入false或判定为否则不隐藏适用于Console & 终端程序)。
      -i, --icon TEXT       [自定义图标文件]传入自定义图标文件路径为EXE设置属于你的图标样式支持将exe文件设置为ico/JPG/PNG等格式的自定义图标--help                Show this message and exit.

进阶使用QPT/FAQ

完整进阶使用文档详见examples/advanced

高阶开发手册/项目贡献指南

预计V1.0RC版本发布

设计**

还没来得及写,和Pyinstaller、Nutika、Czfreeze等打包工具思路不太一样。(他们几个的思路本来也不太一样哈哈哈)

社区相关

这些项目也在用

以下为内测初期QPT提供支持的开源项目,在此非常感谢这些作者与测试组用户为QPT提供的宝贵建议以及多次的调试与沟通,这也是QPT走向成熟的关键,同时也要感谢各位大佬在面对Bug时的不杀之恩。

  1. 交互式语义分割标注软件 - PaddleCV-SIG/iann
  2. 景观健康效益辅助评估工具 - JiehangXie/Landscape-Heath-Score
  3. 团子翻译器-OCR部分 - PantsuDango/Dango-Translator

社区支持

来一杯咖啡☕

一杯咖啡提神醒脑,代码更新会更快更好! (不介意的话可以在请咖啡时加个备注,例如QPT项目+昵称,后续将更新至支持与致谢中)

捐赠者 累计捐赠金额 赞助席位
5,000 .00 RMB 金牌赞助席位
社区ID 23****770 200 .00 RMB 银牌赞助席位
上海大学 曾老师 200 .00 RMB 银牌赞助席位
Viggo(wxbool) 100 .00 RMB 银牌赞助席位
YaoFANGUK 100 .00 RMB 银牌赞助席位
厦门大学 愚者 100 .00 RMB 银牌赞助席位
社区ID *头 66 .00 RMB 支持赞助席位
社区ID iterhui 50 .00 RMB 支持赞助席位
社区ID LFeightyFour 23 .33 RMB 支持赞助席位
社区ID *猪 20 .00 RMB 支持赞助席位
社区ID super松 20 .00 RMB 支持赞助席位
社区ID **辉 20 .00 RMB 支持赞助席位
社区ID jerrychoices 20 .00 RMB 支持赞助席位
社区ID 14****650 10 .00 RMB 支持赞助席位
社区ID yangy996 10 .00 RMB 支持赞助席位
社区ID 未知 1 .00 RMB 兴趣赞助席位

完整支持名单&规则详见支持致谢.MD

图片

Jetbrains 全家桶支持

本项目开发所使用的IDE由Jetbrains支持。

https://jb.gg/OpenSource

开源协议

本项目使用GNU LESSER GENERAL PUBLIC LICENSE(LGPL)开源协议。

Other情况

  1. 形如使用QPT简单打包了自己的“强化学习小游戏”等操作,该情况无需申请QPT授权以及更换个人代码仓库完整的开源协议。
  2. 若对QPT源代码进行了修改,尽管这些代码非恶意代码,但为了保证开发者和使用者权益和安全,在未取得QPT授权的情况下需要开源完整的源代码等LGPL协议中所要求的内容。

qpt's People

Contributors

ap-kai avatar dependabot[bot] avatar gt-zhangacer avatar iterydh avatar myuanz avatar sovlookup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qpt's Issues

【PaddlePaddle Hackathon 2】103、服务端模型管理模块

(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览

【任务说明】

  • 任务标题:服务端模型管理模块

  • 技术标签:Flask、飞桨PaddlePaddle核心框架

  • 任务难度:简单

详细描述: 为更好节约低配服务器资源的显存占用,开发者可考虑设计出一套简单的推理队列用于面对较为频繁的客户端请求,动态决策模型显存释放情况。

【提交流程】

直接PR至 https://github.com/QPT-Family/EIVideo 即可开启验收。

【提交内容】

  • 相关模块源代码、开发文档、Benchmark。

【合入标准】

  • 开发完成,并参与后续维护至正式版本发布。

【技术要求】

  • 熟悉Flask、飞桨PaddlePaddle基础API、深度学习基础

【答疑交流】

  • 如果在开发中对于上述任务有任何问题,欢迎在本 ISSUE 下留言交流。
  • 对于开发中的共性问题,在活动过程中,会定期组织答疑,请大家关注官网&QQ群的通知,及时参与。

文件下载失败,报错如下:<urlopen error [WinError 10054] 远程主机强迫关闭了一个现有的连接。

请键入指令[回车键 - 一次不行可以试试按两次]:_
2022-03-07 13:54:55,364 INFO: ----------QPT执行使用了以下OP----------
2022-03-07 13:54:55,364 INFO: AutoPythonEnv执行优先级5.0 {'Pack': ['PackPythonEnvOpt'], 'Unpack': ['UnPackPythonEnvOpt']}
2022-03-07 13:54:55,364 INFO: QPTDependencyPackage执行优先级3.0 {'Pack': ['OnlineInstallWhlOpt', 'OnlineInstallWhlOpt', 'DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
2022-03-07 13:54:55,364 INFO: ----------程序执行使用了以下OP----------
2022-03-07 13:54:55,364 INFO: AutoRequirementsPackage优先级3.0 {'Pack': ['DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
2022-03-07 13:54:55,364 INFO: BatchInstallation优先级2.0 {'Pack': [], 'Unpack': ['BatchInstallationOpt']}
2022-03-07 13:54:55,365 INFO: ------------------------------------
2022-03-07 13:54:55,365 INFO: 正在加载AutoPythonEnv-PackPythonEnvOptOP
2022-03-07 13:54:55,365 INFO: 正在加载Python解释器原文件至C:\Users\15301\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev2\Python\4726320339
2022-03-07 13:54:55,562 ERROR: 无法下载文件,请检查网络是否可以连接以下链接
https://bj.bcebos.com/v1/ai-studio-online/ea6af2820f594d209d6dc421b9392327d270368a6fb2428ebf8bd90cd74d7e26?responseContentDisposition=attachment%3B%20filename%3DPython39.zip
若该文件由QPT提供,请升级QPT版本,若版本升级后仍未解决可在以下地址提交issue反馈该情况
https://github.com/GT-ZhangAcer/QPT/issues
Traceback (most recent call last):
File "C:\anaconda3\envs\paddle1\lib\urllib\request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "C:\anaconda3\envs\paddle1\lib\http\client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\anaconda3\envs\paddle1\lib\http\client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\anaconda3\envs\paddle1\lib\http\client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\anaconda3\envs\paddle1\lib\http\client.py", line 1040, in _send_output
self.send(msg)
File "C:\anaconda3\envs\paddle1\lib\http\client.py", line 980, in send
self.connect()
File "C:\anaconda3\envs\paddle1\lib\http\client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
File "C:\anaconda3\envs\paddle1\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "C:\anaconda3\envs\paddle1\lib\ssl.py", line 1040, in _create
self.do_handshake()
File "C:\anaconda3\envs\paddle1\lib\ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\anaconda3\envs\paddle1\lib\site-packages\qpt\kernel\qos.py", line 85, in download
wget.download(url, file_path)
File "C:\anaconda3\envs\paddle1\lib\site-packages\wget.py", line 526, in download
(tmpfile, headers) = ulib.urlretrieve(binurl, tmpfile, callback)
File "C:\anaconda3\envs\paddle1\lib\urllib\request.py", line 239, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "C:\anaconda3\envs\paddle1\lib\urllib\request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "C:\anaconda3\envs\paddle1\lib\urllib\request.py", line 517, in open
response = self._open(req, data)
File "C:\anaconda3\envs\paddle1\lib\urllib\request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "C:\anaconda3\envs\paddle1\lib\urllib\request.py", line 494, in _call_chain
result = func(*args)
File "C:\anaconda3\envs\paddle1\lib\urllib\request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "C:\anaconda3\envs\paddle1\lib\urllib\request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10054] 远程主机强迫关闭了一个现有的连接。>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Test_Build\qpt2exe.py", line 13, in
module.make()
File "C:\anaconda3\envs\paddle1\lib\site-packages\qpt\executor.py", line 219, in make
self._solve_module(lazy=True)
File "C:\anaconda3\envs\paddle1\lib\site-packages\qpt\executor.py", line 202, in _solve_module
sub.pack()
File "C:\anaconda3\envs\paddle1\lib\site-packages\qpt\modules\base.py", line 172, in pack
opt.run(op_path)
File "C:\anaconda3\envs\paddle1\lib\site-packages\qpt\modules\base.py", line 73, in run
self.act()
File "C:\anaconda3\envs\paddle1\lib\site-packages\qpt\modules\python_env.py", line 55, in act
d_result = download(self.url, "Python.zip", dir_name)
File "C:\anaconda3\envs\paddle1\lib\site-packages\qpt\kernel\qos.py", line 92, in download
raise Exception("文件下载失败,报错如下:" + str(e))
Exception: 文件下载失败,报错如下:<urlopen error [WinError 10054] 远程主机强迫关闭了一个现有的连接。>

【可能的Bug】

简要描述Bug
A clear and concise description of what the bug is.

基本信息
QPT版本:1.0b2.dev7
操作系统版本:Windows 11 家庭中文版 21H2
CPU型号: AMD Ryzen 5 4600H

复现步骤/报错截图
在执行终端命令时检测到了失败,完整信息如下:
(base) PS D:\anquanmao> cd D: ;D:\anquanmao\out\Release\Python\python.exe -m pip install lap -i https://mirrors.bfsu.edu.cn/pypi/web/simple --target D:\anquanmao\out\Release\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\CloudSir\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
Collecting lap
Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz (1.5 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: lap
Building wheel for lap (setup.py): started
Building wheel for lap (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'D:\anquanmao\out\Release\Python\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\setup.py'"'"'; file='"'"'C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\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'"'"'))' bdist_wheel -d 'C:\Users\CloudSir\AppData\Local\Temp\pip-wheel-gfycscon'
cwd: C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d
Complete output (114 lines):
Partial import of lap during the build process.
Generating cython files
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "lap.lapjv" sources
building data_files sources
build_src: building npy-pkg config files
D:\anquanmao\out\Release\Python\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\lap
copying lap\lapmod.py -> build\lib.win-amd64-3.7\lap
copying lap_init
.py -> build\lib.win-amd64-3.7\lap
running build_ext
No module named 'numpy.distutils.msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
CCompilerOpt.cc_test_flags[1013] : testing flags (/O2)
creating C:\Users\CloudSir\AppData\Local\Temp\tmp_tg38zbp\anquanmao
creating C:\Users\CloudSir\AppData\Local\Temp\tmp_tg38zbp\anquanmao\out
creating C:\Users\CloudSir\AppData\Local\Temp\tmp_tg38zbp\anquanmao\out\Release
creating C:\Users\CloudSir\AppData\Local\Temp\tmp_tg38zbp\anquanmao\out\Release\Python
creating C:\Users\CloudSir\AppData\Local\Temp\tmp_tg38zbp\anquanmao\out\Release\Python\lib
creating C:\Users\CloudSir\AppData\Local\Temp\tmp_tg38zbp\anquanmao\out\Release\Python\lib\site-packages
creating C:\Users\CloudSir\AppData\Local\Temp\tmp_tg38zbp\anquanmao\out\Release\Python\lib\site-packages\numpy
creating C:\Users\CloudSir\AppData\Local\Temp\tmp_tg38zbp\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils
creating C:\Users\CloudSir\AppData\Local\Temp\tmp_tg38zbp\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\checks
CCompilerOpt.cc_test_flags[1013] : testing flags (/WX)
CCompilerOpt.init[1161] : feature 'AVX512_KNL' is disabled, MSVC compiler doesn't support it
CCompilerOpt.init[1161] : feature 'AVX512_KNM' is disabled, MSVC compiler doesn't support it
CCompilerOpt.init[1701] : check requested baseline
CCompilerOpt.cc_test_flags[1013] : testing flags (/arch:SSE)
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\setup.py", line 236, in
setup_package()
File "C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\setup.py", line 232, in setup_package
setup(**metadata)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\core.py", line 169, in setup
return old_setup(**new_attr)
File "D:\anquanmao\out\Release\Python\lib\site-packages\setuptools_init
.py", line 159, in setup
return distutils.core.setup(**attrs)
File "D:\anquanmao\out\Release\Python\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\anquanmao\out\Release\Python\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\anquanmao\out\Release\Python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\anquanmao\out\Release\Python\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "D:\anquanmao\out\Release\Python\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\anquanmao\out\Release\Python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\command\build.py", line 61, in run
old_build.run(self)
File "D:\anquanmao\out\Release\Python\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\anquanmao\out\Release\Python\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\anquanmao\out\Release\Python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\command\build_ext.py", line 166, in run
cache_path=opt_cache_path
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 2569, in new_ccompiler_opt
opt = CCompilerOpt(compiler, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 2137, in init
_Parse.init(self, cpu_baseline, cpu_dispatch)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1704, in init
baseline_names = self.feature_names(cpu_baseline)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1210, in feature_names
f, force_flags=force_flags, macros=macros
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 853, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1508, in feature_is_supported
if not self.feature_test(impl, force_flags, macros=macros):
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 853, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1464, in feature_test
force_flags = self.feature_flags(name)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 853, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1440, in feature_flags
if not f or not self.cc_test_flags(f):
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 853, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1015, in cc_test_flags
test = self.dist_test(test_path, flags)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 577, in dist_test
[source], flags, macros=macros, output_dir=self.conf_tmp_path
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 558, in dist_compile
return ccompiler.compile(sources, extra_postargs=flags, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\distutils_msvccompiler.py", line 396, in compile
self.spawn(args)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 685, in _dist_test_spawn_paths
self._dist_test_spawn(cmd)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 702, in _dist_test_spawn
universal_newlines=True)
File "D:\anquanmao\out\Release\Python\lib\subprocess.py", line 411, in check_output
**kwargs).stdout
File "D:\anquanmao\out\Release\Python\lib\subprocess.py", line 490, in run
stdout, stderr = process.communicate(input, timeout=timeout)
File "D:\anquanmao\out\Release\Python\lib\subprocess.py", line 951, in communicate
stdout = self.stdout.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x8c in position 12: illegal multibyte sequence
CCompilerOpt.cache_flush[809] : write cache to path -> C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\build\temp.win-amd64-3.7\Release\ccompiler_opt_cache_ext.py

ERROR: Failed building wheel for lap
Running setup.py clean for lap
Failed to build lap
Installing collected packages: lap
Running setup.py install for lap: started
Running setup.py install for lap: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'D:\anquanmao\out\Release\Python\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\setup.py'"'"'; file='"'"'C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\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 install --record 'C:\Users\CloudSir\AppData\Local\Temp\pip-record-j8v0pijp\install-record.txt' --single-version-externally-managed --home 'C:\Users\CloudSir\AppData\Local\Temp\pip-target-waymie9p' --compile --install-headers 'C:\Users\CloudSir\AppData\Local\Temp\pip-target-waymie9p\include\python\lap'
cwd: C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d
Complete output (118 lines):
Partial import of lap during the build process.
Generating cython files
running install
D:\anquanmao\out\Release\Python\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "lap.lapjv" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\lap
copying lap\lapmod.py -> build\lib.win-amd64-3.7\lap
copying lap_init
.py -> build\lib.win-amd64-3.7\lap
running build_ext
No module named 'numpy.distutils.msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
CCompilerOpt.cc_test_flags[1013] : testing flags (/O2)
creating C:\Users\CloudSir\AppData\Local\Temp\tmpjn8ablra\anquanmao
creating C:\Users\CloudSir\AppData\Local\Temp\tmpjn8ablra\anquanmao\out
creating C:\Users\CloudSir\AppData\Local\Temp\tmpjn8ablra\anquanmao\out\Release
creating C:\Users\CloudSir\AppData\Local\Temp\tmpjn8ablra\anquanmao\out\Release\Python
creating C:\Users\CloudSir\AppData\Local\Temp\tmpjn8ablra\anquanmao\out\Release\Python\lib
creating C:\Users\CloudSir\AppData\Local\Temp\tmpjn8ablra\anquanmao\out\Release\Python\lib\site-packages
creating C:\Users\CloudSir\AppData\Local\Temp\tmpjn8ablra\anquanmao\out\Release\Python\lib\site-packages\numpy
creating C:\Users\CloudSir\AppData\Local\Temp\tmpjn8ablra\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils
creating C:\Users\CloudSir\AppData\Local\Temp\tmpjn8ablra\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\checks
CCompilerOpt.cc_test_flags[1013] : testing flags (/WX)
CCompilerOpt.init[1161] : feature 'AVX512_KNL' is disabled, MSVC compiler doesn't support it
CCompilerOpt.init[1161] : feature 'AVX512_KNM' is disabled, MSVC compiler doesn't support it
CCompilerOpt.init[1701] : check requested baseline
CCompilerOpt.cc_test_flags[1013] : testing flags (/arch:SSE)
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\setup.py", line 236, in
setup_package()
File "C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\setup.py", line 232, in setup_package
setup(**metadata)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\core.py", line 169, in setup
return old_setup(**new_attr)
File "D:\anquanmao\out\Release\Python\lib\site-packages\setuptools_init
.py", line 159, in setup
return distutils.core.setup(**attrs)
File "D:\anquanmao\out\Release\Python\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\anquanmao\out\Release\Python\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\anquanmao\out\Release\Python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\command\install.py", line 60, in run
r = self.setuptools_run()
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\command\install.py", line 34, in setuptools_run
return distutils_install.run(self)
File "D:\anquanmao\out\Release\Python\lib\distutils\command\install.py", line 545, in run
self.run_command('build')
File "D:\anquanmao\out\Release\Python\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\anquanmao\out\Release\Python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\command\build.py", line 61, in run
old_build.run(self)
File "D:\anquanmao\out\Release\Python\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\anquanmao\out\Release\Python\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\anquanmao\out\Release\Python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\command\build_ext.py", line 166, in run
cache_path=opt_cache_path
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 2569, in new_ccompiler_opt
opt = CCompilerOpt(compiler, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 2137, in init
_Parse.init(self, cpu_baseline, cpu_dispatch)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1704, in init
baseline_names = self.feature_names(cpu_baseline)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1210, in feature_names
f, force_flags=force_flags, macros=macros
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 853, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1508, in feature_is_supported
if not self.feature_test(impl, force_flags, macros=macros):
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 853, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1464, in feature_test
force_flags = self.feature_flags(name)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 853, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1440, in feature_flags
if not f or not self.cc_test_flags(f):
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 853, in cache_wrap_me
ccb = cb(self, *args, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 1015, in cc_test_flags
test = self.dist_test(test_path, flags)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 577, in dist_test
[source], flags, macros=macros, output_dir=self.conf_tmp_path
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 558, in dist_compile
return ccompiler.compile(sources, extra_postargs=flags, **kwargs)
File "D:\anquanmao\out\Release\Python\lib\distutils_msvccompiler.py", line 396, in compile
self.spawn(args)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 685, in _dist_test_spawn_paths
self._dist_test_spawn(cmd)
File "D:\anquanmao\out\Release\Python\lib\site-packages\numpy\distutils\ccompiler_opt.py", line 702, in _dist_test_spawn
universal_newlines=True)
File "D:\anquanmao\out\Release\Python\lib\subprocess.py", line 411, in check_output
**kwargs).stdout
File "D:\anquanmao\out\Release\Python\lib\subprocess.py", line 490, in run
stdout, stderr = process.communicate(input, timeout=timeout)
File "D:\anquanmao\out\Release\Python\lib\subprocess.py", line 951, in communicate
stdout = self.stdout.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x8c in position 12: illegal multibyte sequence
CCompilerOpt.cache_flush[809] : write cache to path -> C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\build\temp.win-amd64-3.7\Release\ccompiler_opt_cache_ext.py
----------------------------------------
ERROR: Command errored out with exit status 1: 'D:\anquanmao\out\Release\Python\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\setup.py'"'"'; file='"'"'C:\Users\CloudSir\AppData\Local\Temp\pip-install-rdwk4ur9\lap_a51d62b5d45f4238a3a85b5cf7038a2d\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 install --record 'C:\Users\CloudSir\AppData\Local\Temp\pip-record-j8v0pijp\install-record.txt' --single-version-externally-managed --home 'C:\Users\CloudSir\AppData\Local\Temp\pip-target-waymie9p' --compile --install-headers 'C:\Users\CloudSir\AppData\Local\Temp\pip-target-waymie9p\include\python\lap' Check the logs for full command output.

2022-02-07 14:23:29,699 INFO: ----------生成状态WARNING:2 ERROR:1

code

'''
Author: CloudSir
@github: https://github.com/cloudsir
Date: 2022-02-07 11:14:17
LastEditTime: 2022-02-07 14:09:01
LastEditors: CloudSir
Description:
'''

导入QPT

from qpt.executor import CreateExecutableModule as CEM

导入自定义Module所需模块

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

撰写自定义Module,在lap前安装Numpy避免其认为没有安装Numpy

numpy_package = CustomPackage(package="numpy", version="1.21.5", deploy_mode=LOCAL_INSTALL_DEPLOY_MODE)
lap_package = CustomPackage(package="lap", version=None, deploy_mode=LOCAL_INSTALL_DEPLOY_MODE)

调整优先级至高优执行

numpy_package.level = HIGH_LEVEL

module = CEM(work_dir="./testqt",
launcher_py_path="./testqt/main.py",
save_path="./out",
sub_modules=[numpy_package, lap_package])

开始打包

module.make()

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

其他
Add any other context about the problem here.

增加中文路径缓冲区

想法内容

在打包/解包的安装时,往往会有中文路径引发的报错情况,可以考虑在分区内先做缓存,后指向最终的打包目录

打包完成后运行报错

在自己电脑运行debug出现:

dule>
    import paddle
ModuleNotFoundError: No module named 'paddle'

G:\detect\openvino_pyinstaller\maskcrop_out\Debug>pause


Current thread 0x00002a10 (most recent call first):

我已经安装了paddlepaddle,还是报这个错误

在别的电脑运行release出现:

C:\Users\Lenovo\Desktop\Release>"./Python/python.exe" -c "import sys;sys.path.append('./Python');sys.path.append('./Python/Lib/site-packages');sys.path.append('./Python/Scripts');import qpt.run as run"
Fatal Python error: initfsencoding: unable to load the file system codec
ValueError: source code string cannot contain null bytes

Current thread 0x00002a10 (most recent call first):

【PaddlePaddle Hackathon 2】106、EIVideo前端功能建设

(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览

【任务说明】

  • 任务标题:EIVideo前端功能建设

  • 技术标签:Electron、JavaScript

  • 任务难度:中等

  • 详细描述: EIVideo是一款基于PaddleVideo的通用半自动交互式视频标注工具,其主要依赖于Electron完成桌面开发,开发者可向EIVideo中增加形如视频多标签标注的增强模块以丰富相关功能。

【提交流程】

直接PR至 https://github.com/QPT-Family/EIVideo 即可开启验收。

【提交内容】

  • 相关模块源代码、开发文档、Benchmark。

【合入标准】

  • 开发完成,并参与后续维护至正式版本发布。

【技术要求】

  • 具备一定前端开发经验。

【答疑交流】

  • 如果在开发中对于上述任务有任何问题,欢迎在本 ISSUE 下留言交流。
  • 对于开发中的共性问题,在活动过程中,会定期组织答疑,请大家关注官网&QQ群的通知,及时参与。

【内部提出】用户名特殊字符使得pip无法正确运行的错误

PS D:\baidu\Haramese\download\Tuanzi\DangoTranslator\app\ocr> cd D: ;D:\baidu\Haramese\download\Tuanzi\DangoTranslator\app\ocr\Python\python.exe -m pip install -r C:\Users\GUO'SH~1\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev2\Cache\FileSerialize.tmp -i https://mirrors.bfsu.edu.cn/pypi/web/simple -f D:\baidu\Haramese\download\Tuanzi\DangoTranslator\app\ocr\opt/packages --no-index --target D:\baidu\Haramese\download\Tuanzi\DangoTranslator\app\ocr\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\GUO'SH~1\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev2\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2021-12-14 10:27:39,568 DEBUG: ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'C:\\Users\\GUOSH~1\\AppData\\Local\\Temp\\QPT_Cache_V/1.0b2.dev2\\Cache\\FileSerialize.tmp

【可能的Bug】ImportError: DLL load failed: 找不到指定的模块

隐藏窗口打包,拷贝Release复制到其他目录测试是否隐藏,打开后报下面的错误并闪退

2021-11-17 17:41:31,536 DEBUG: 终端命令执行成功!
2021-11-17 17:41:31,536 DEBUG: 正在连接PTerminal
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "D:\CellCounter\gsdfsdfRelease\Python\lib\site-packages\qpt\run.py", line 13, in <module>
    module.run()
  File "D:\CellCounter\gsdfsdfRelease\Python\lib\site-packages\qpt\executor.py", line 463, in run
    msg = warning_msg_box("Warning", f"非常不建议在该环境下进行调试,原因如下: \n"
  File "D:\CellCounter\gsdfsdfRelease\Python\lib\site-packages\qpt\kernel\qos.py", line 223, in warning_msg_box
    win32api = QPT_MEMORY.get_win32api
  File "D:\CellCounter\gsdfsdfRelease\Python\lib\site-packages\qpt\memory.py", line 19, in render
    out = func(self)
  File "D:\CellCounter\gsdfsdfRelease\Python\lib\site-packages\qpt\memory.py", line 67, in get_win32api
    import win32api
ImportError: DLL load failed: 找不到指定的模块

反馈

首次运行生成的DEBUG.exe时,提示我缺少bce库导致生成失败
于是我想通过CopyWhl2Packages方式将这个库手动加入安装
但是qpt.modules.package代码似乎已经改动过了,没有这个模块了,文档也没有更新
希望能提供一下导入方式,并更新一下文档

新版本使用多进程启动程序,导致无法使用Input()操作

1.0b1.dev8 版本涉及input输入时,不显示输入提示和光标。
下列代码可复现

import tkinter.filedialog
if __name__ == "__main__":
    originpah=tkinter.filedialog.askdirectory(title="请选择要处理的文件夹路径")
    savepath=tkinter.filedialog.askdirectory(title="请选择保存路径")
    input_size=input("请输入大小:")
    print(originpah,savepath,input_size)

[Bug report]CPU支持AVX但是脚本却提示不支持AVX指令集

简要描述Bug
A clear and concise description of what the bug is.

基本信息
QPT版本:1.0b3.dev7
操作系统版本:win 10 x64
CPU型号或AVX支持情况:
intel i5 12400 SSE4.1/4.2,AVX2

复现步骤/报错截图
步骤描述:
完整打包日志:
2022-04-13 18:07:26,472 DEBUG: 终端命令执行成功!
初始化进度 18:076/8 |━━━━━━━━━━━━━━━ | 75.00% BatchInstallation部署中...2022-04-13 18:07:26,473 DEBUG: 正在加载BatchInstallation-BatchInstallationOptOP
2022-04-13 18:07:26,508 INFO: 需要补充的安装包数量为:0
初始化进度 18:077/8 |━━━━━━━━━━━━━━━━━ | 87.50% PaddlePaddleCheckAVX部署中...2022-04-13 18:07:26,510 DEBUG: 正在加载PaddlePaddleCheckAVX-CheckAVXOptOP
2022-04-13 18:07:27,232 WARNING: cannot import name 'ImageOps' from 'PIL' (D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\PIL_init_.py)
2022-04-13 18:07:27,234 WARNING: 为保证可以成功在NoAVX平台执行PaddlePaddle,即将忽略小版本号进行安装PaddlePaddle-NoAVX
2022-04-13 18:07:27,234 WARNING: 当前CPU不支持AVX指令集,正在尝试在线下载noavx版本的PaddlePaddle
2022-04-13 18:07:27,234 DEBUG: SHELL: cd D: ;D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\python.exe -m pip uninstall paddlepaddle -y --isolated --disable-pip-version-check --cache-dir C:\Users\QY\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7\pip_cache --timeout 10 --prefer-binary
2022-04-13 18:07:27,236 DEBUG: (base) PS D:\desktop\project\python\pyseg\EISeg\out\Debug> cd D: ;D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\python.exe -m pip uninstall paddlepaddle -y --isolated --disable-pip-version-check --cache-dir C:\Users\QY\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-13 18:07:27,534 DEBUG: Usage:
2022-04-13 18:07:27,534 DEBUG: D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\python.exe -m pip uninstall [options] ...
2022-04-13 18:07:27,535 DEBUG: D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\python.exe -m pip uninstall [options] -r ...
2022-04-13 18:07:27,535 DEBUG: no such option: --prefer-binary
2022-04-13 18:07:27,560 DEBUG: 终端命令执行成功!
2022-04-13 18:07:27,560 DEBUG: SHELL: cd D: ;D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\python.exe -m pip install paddlepaddle -f https://www.paddlepaddle.org.cn/whl/windows/mkl/noavx/stable.html --no-index --no-deps --force-reinstall --isolated --disable-pip-version-check --cache-dir C:\Users\QY\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7\pip_cache --timeout 10 --prefer-binary
2022-04-13 18:07:27,562 DEBUG: (base) PS D:\desktop\project\python\pyseg\EISeg\out\Debug> cd D: ;D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\python.exe -m pip install paddlepaddle -f https://www.paddlepaddle.org.cn/whl/windows/mkl/noavx/stable.html --no-index --no-deps --force-reinstall --isolated --disable-pip-version-check --cache-dir C:\Users\QY\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-04-13 18:07:27,875 DEBUG: Looking in links: https://www.paddlepaddle.org.cn/whl/windows/mkl/noavx/stable.html
2022-04-13 18:07:28,134 DEBUG: ERROR: Could not find a version that satisfies the requirement paddlepaddle (from versions: none)
2022-04-13 18:07:28,134 DEBUG: ERROR: No matching distribution found for paddlepaddle
2022-04-13 18:07:28,163 ERROR: 在执行终端命令时检测到了失败,完整信息如下:
(base) PS D:\desktop\project\python\pyseg\EISeg\out\Debug> cd D: ;D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\python.exe -m pip install paddlepaddle -f https://www.paddlepaddle.org.cn/whl/windows/mkl/noavx/stable.html --no-index --no-deps --force-reinstall --isolated --disable-pip-version-check --cache-dir C:\Users\QY\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in links: https://www.paddlepaddle.org.cn/whl/windows/mkl/noavx/stable.html
ERROR: Could not find a version that satisfies the requirement paddlepaddle (from versions: none)
ERROR: No matching distribution found for paddlepaddle

初始化进度 18:078/8 |━━━━━━━━━━━━━━━━━━━━| 100.00% 初始化完毕2022-04-13 18:07:28,164 INFO:
2022-04-13 18:07:28,180 INFO: ----------WARNING SUMMARY
2022-04-13 18:07:28,180 INFO: 0|cannot import name 'ImageOps' from 'PIL' (D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\PIL_init_.py)

2022-04-13 18:07:28,181 INFO: 1|为保证可以成功在NoAVX平台执行PaddlePaddle,即将忽略小版本号进行安装PaddlePaddle-NoAVX

2022-04-13 18:07:28,181 INFO: 2|当前CPU不支持AVX指令集,正在尝试在线下载noavx版本的PaddlePaddle

2022-04-13 18:07:28,181 INFO: ----------ERROR SUMMARY
2022-04-13 18:07:28,181 INFO: 3|在执行终端命令时检测到了失败,完整信息如下:
(base) PS D:\desktop\project\python\pyseg\EISeg\out\Debug> cd D: ;D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\python.exe -m pip install paddlepaddle -f https://www.paddlepaddle.org.cn/whl/windows/mkl/noavx/stable.html --no-index --no-deps --force-reinstall --isolated --disable-pip-version-check --cache-dir C:\Users\QY\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in links: https://www.paddlepaddle.org.cn/whl/windows/mkl/noavx/stable.html
ERROR: Could not find a version that satisfies the requirement paddlepaddle (from versions: none)
ERROR: No matching distribution found for paddlepaddle

2022-04-13 18:07:28,182 INFO: ----------生成状态WARNING:3 ERROR:1
2022-04-13 18:15:46,935 DEBUG: SHELL: cd "D:\desktop\project\python\pyseg\EISeg\out\Debug\resources";./../Python/python.exe "D:\desktop\project\python\pyseg\EISeg\out\Debug\resources\run.py"
(base) PS D:\desktop\project\python\pyseg\EISeg\out\Debug> cd "D:\desktop\project\python\pyseg\EISeg\out\Debug\resources";./../Python/python.exe "D:\desktop\project\python\pyseg\EISeg\out\Debug\resources\run.py" ; echo "---QPT OUTPUT STATUS CODE---" $?
Traceback (most recent call last):
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\resources\run.py", line 26, in
from app import APP_EISeg # 导入带槽的界面
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\resources\app.py", line 26, in
from eiseg.util.opath import check_cn
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\eiseg\util_init_.py", line 4, in
from .polygon import get_polygon, Instructions
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\eiseg\util\polygon.py", line 20, in
from .regularization import boundary_regularization
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\eiseg\util\regularization_init_.py", line 21, in
from .rs_regularization import boundary_regularization
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\eiseg\util\regularization\rs_regularization.py", line 22, in
import matplotlib.pyplot as plt
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\matplotlib_init_.py", line 109, in
from . import api, version, cbook, docstring, rcsetup
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\matplotlib\rcsetup.py", line 27, in
from matplotlib.colors import Colormap, is_color_like
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\matplotlib\colors.py", line 51, in
from PIL import Image
ImportError: cannot import name 'Image' from 'PIL' (D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\PIL_init
.py)
2022-04-13 18:15:47,340 ERROR: 在执行终端命令时检测到了失败,完整信息如下:
(base) PS D:\desktop\project\python\pyseg\EISeg\out\Debug> cd "D:\desktop\project\python\pyseg\EISeg\out\Debug\resources";./../Python/python.exe "D:\desktop\project\python\pyseg\EISeg\out\Debug\resources\run.py" ; echo "---QPT OUTPUT STATUS CODE---" $?
Traceback (most recent call last):
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\resources\run.py", line 26, in
from app import APP_EISeg # 导入带槽的界面
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\resources\app.py", line 26, in
from eiseg.util.opath import check_cn
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\eiseg\util_init
.py", line 4, in
from .polygon import get_polygon, Instructions
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\eiseg\util\polygon.py", line 20, in
from .regularization import boundary_regularization
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\eiseg\util\regularization_init_.py", line 21, in
from .rs_regularization import boundary_regularization
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\eiseg\util\regularization\rs_regularization.py", line 22, in
import matplotlib.pyplot as plt
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\matplotlib_init_.py", line 109, in
from . import _api, version, cbook, docstring, rcsetup
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\matplotlib\rcsetup.py", line 27, in
from matplotlib.colors import Colormap, is_color_like
File "D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\matplotlib\colors.py", line 51, in
from PIL import Image
ImportError: cannot import name 'Image' from 'PIL' (D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\Lib\site-packages\PIL_init
.py)
完整运行日志:(如打包时已报错,此处可选)

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

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

其他
Add any other context about the problem here.

镜像问题

python QPT.py
2022-01-05 12:14:20,564 DEBUG: �[35m操作系统类型Windows�[0m
2022-01-05 12:14:20,564 DEBUG: �[35m操作系统位数AMD64�[0m
Traceback (most recent call last):
  File "QPT.py", line 6, in <module>
    from qpt.smart_opt import set_default_pip_source, DOUBAN_PIP_SOURCE, BAIDU_PIP_SOURCE
ImportError: cannot import name 'DOUBAN_PIP_SOURCE' from 'qpt.smart_opt' (E:\anaconda3\envs\paddleAI\lib\site-packages\qpt\smart_opt.py)
(paddleAI) PS F:\paddle_V2> python QPT.py
2022-01-05 12:14:33,856 DEBUG: �[35m操作系统类型Windows�[0m
2022-01-05 12:14:33,856 DEBUG: �[35m操作系统位数AMD64�[0m
2022-01-05 12:14:34,240 DEBUG: �[35m已设置PIP镜像源为https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-05 12:14:34,291 INFO: �[34m
如在本信息之后停留时间较长请升级Windows Powershell至版本5即可解决该问题下载地址官方地址https://www.microsoft.com/en-us/download/details.aspx?id=54616
团子云镜像https://s.dango.cloud/s/GVbhB 下载码zAkjpradJA2eHiC�[0m
2022-01-05 12:14:34,291 DEBUG: �[35mSHELL: chcp 65001�[0m
2022-01-05 12:14:34,498 DEBUG: Windows PowerShell
2022-01-05 12:14:34,498 DEBUG: 版权所有CMicrosoft Corporation保留所有权利2022-01-05 12:14:34,499 DEBUG: 安装最新的 PowerShell了解新功能和改进https://aka.ms/PSWindows
2022-01-05 12:14:35,348 DEBUG: PS F:\paddle_V2> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-01-05 12:14:35,387 DEBUG: �[35mActive code page: 65001�[0m
2022-01-05 12:14:35,538 DEBUG: 终端命令执行成功2022-01-05 12:14:35,538 INFO: 检测结束当前Powershell满足使用需求2022-01-05 12:14:35,539 DEBUG: 正在连接PIPTerminal
2022-01-05 12:14:35,540 DEBUG: 已设置PIP跨版本编译模式目标解释器路径为:./QPT_DABAO_OUT\Release\Python\python.exe
2022-01-05 12:14:35,541 INFO: 当前解释器版本为3.7.11正在向QPT查询是否存在合适的Python镜像...
2022-01-05 12:14:35,542 INFO: 已在QPT中找到Python3.7Env-Win镜像
2022-01-05 12:14:35,543 INFO: 当前路径F:\paddle_V2\QPT_DABAO\requirements_file.txt中不存在Requirements文件请优先检查路径是否提供正确必要时使用绝对路径
2022-01-05 12:14:35,543 INFO: [Auto]正在分析F:\paddle_V2\QPT_DABAO\requirements_file.txt下的依赖情况...
2022-01-05 12:14:35,842 INFO: Traceback (most recent call last):
  File "QPT.py", line 19, in <module>
    sub_modules=[CopyCUDAPackage(cuda_version="11.2")])
  File "E:\anaconda3\envs\paddleAI\lib\site-packages\qpt\executor.py", line 157, in __init__
    deploy_mode=deploy_mode)
  File "E:\anaconda3\envs\paddleAI\lib\site-packages\qpt\modules\auto_requirements.py", line 34, in __init__
    requirements = QPT_MEMORY.pip_tool.analyze_dependence(path, return_path=False)
  File "E:\anaconda3\envs\paddleAI\lib\site-packages\qpt\kernel\qinterpreter.py", line 162, in analyze_dependence
    with open(save_file_path, "w", encoding="utf-8") as req_file:
FileNotFoundError: [Errno 2] No such file or directory: './QPT_DABAO/requirements_file.txt\\requirements_with_opt.txt'
(paddleAI) PS F:\paddle_V2> python QPT.py
2022-01-05 12:15:11,319 DEBUG: �[35m操作系统类型Windows�[0m
2022-01-05 12:15:11,320 DEBUG: �[35m操作系统位数AMD64�[0m
2022-01-05 12:15:11,683 DEBUG: �[35m已设置PIP镜像源为https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-05 12:15:11,735 INFO: �[34m
如在本信息之后停留时间较长请升级Windows Powershell至版本5即可解决该问题下载地址官方地址https://www.microsoft.com/en-us/download/details.aspx?id=54616
团子云镜像https://s.dango.cloud/s/GVbhB 下载码zAkjpradJA2eHiC�[0m
2022-01-05 12:15:11,735 DEBUG: �[35mSHELL: chcp 65001�[0m
2022-01-05 12:15:11,942 DEBUG: Windows PowerShell
2022-01-05 12:15:11,942 DEBUG: 版权所有CMicrosoft Corporation保留所有权利2022-01-05 12:15:11,943 DEBUG: 安装最新的 PowerShell了解新功能和改进https://aka.ms/PSWindows
2022-01-05 12:15:12,761 DEBUG: PS F:\paddle_V2> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-01-05 12:15:12,801 DEBUG: �[35mActive code page: 65001�[0m
2022-01-05 12:15:12,966 DEBUG: 终端命令执行成功2022-01-05 12:15:12,966 INFO: 检测结束当前Powershell满足使用需求2022-01-05 12:15:12,968 DEBUG: 正在连接PIPTerminal
2022-01-05 12:15:12,968 DEBUG: 已设置PIP跨版本编译模式目标解释器路径为:./QPT_DABAO_OUT\Release\Python\python.exe
2022-01-05 12:15:12,969 INFO: 当前解释器版本为3.7.11正在向QPT查询是否存在合适的Python镜像...
2022-01-05 12:15:12,969 INFO: 已在QPT中找到Python3.7Env-Win镜像
2022-01-05 12:15:12,970 INFO: 正在读取F:\paddle_V2\QPT_DABAO\requirements_with_opt.txt下的依赖情况...
2022-01-05 12:15:12,970 INFO: PaddlePaddlePackage中自动添加了名为CopyCUDAPackage的ExtModule
2022-01-05 12:15:12,971 INFO: PaddlePaddlePackage中自动添加了名为PaddlePaddleCheckAVX的ExtModule
2022-01-05 12:15:12,972 INFO: AutoRequirementsPackage中自动添加了名为PaddlePaddlePackage的ExtModule
2022-01-05 12:15:12,972 INFO: ----------QPT执行使用了以下OP----------
2022-01-05 12:15:12,973 INFO: AutoPythonEnv执行优先级5.0        {'Pack': ['PackPythonEnvOpt'], 'Unpack': ['UnPackPythonEnvOpt']}
2022-01-05 12:15:12,973 INFO: QPTDependencyPackage执行优先级3.0 {'Pack': ['OnlineInstallWhlOpt', 'OnlineInstallWhlOpt', 'DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
2022-01-05 12:15:12,973 INFO: ----------程序执行使用了以下OP----------
2022-01-05 12:15:12,974 INFO: CopyCUDAPackage优先级3.0  {'Pack': ['CopyCUDADLL'], 'Unpack': ['SetCUDAEnv']}
2022-01-05 12:15:12,974 INFO: CopyCUDAPackage优先级3.0  {'Pack': ['CopyCUDADLL'], 'Unpack': ['SetCUDAEnv']}
2022-01-05 12:15:12,975 INFO: PaddlePaddlePackage优先级3.0      {'Pack': ['DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt', 'SetPaddleFamilyEnvValueOpt']}
2022-01-05 12:15:12,975 INFO: AutoRequirementsPackage优先级3.0  {'Pack': ['DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
2022-01-05 12:15:12,975 INFO: BatchInstallation优先级2.0        {'Pack': [], 'Unpack': ['BatchInstallationOpt']}
2022-01-05 12:15:12,977 INFO: PaddlePaddleCheckAVX优先级1.5     {'Pack': [], 'Unpack': ['CheckAVXOpt']}
2022-01-05 12:15:12,980 INFO: ------------------------------------
2022-01-05 12:15:12,981 INFO: 正在加载AutoPythonEnv-PackPythonEnvOptOP
2022-01-05 12:15:12,982 INFO: 正在加载Python解释器原文件至C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\Python\4613320337
100% [........................................................................] 18378038 / 183780382022-01-05 12:15:39,8正在拷贝文件2-013133/3133  |████████████████████| 100.00% 2022-01-05 12:15:43,765 INFO:
2022-01-05 12:15:43,766 INFO: 正在封装AutoPythonEnv-UnPackPythonEnvOptOP
2022-01-05 12:15:43,766 INFO: 正在加载QPTDependencyPackage-OnlineInstallWhlOptOP
2022-01-05 12:15:43,767 DEBUG: SHELL: cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip install qpt==1.0b2.dev6 -i https://mirrors.bfsu.edu.cn/pypi/web/simple --no-deps --target F:\paddle_V2\QPT_DABAO_OUT\Release\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10
2022-01-05 12:15:43,768 DEBUG: PS F:\paddle_V2> cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip install qpt==1.0b2.dev6 -i https://mirrors.bfsu.edu.cn/pypi/web/simple --no-deps --target F:\paddle_V2\QPT_DABAO_OUT\Release\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-05 12:15:46,822 DEBUG: �[35mLooking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-05 12:15:47,093 DEBUG: �[35mCollecting qpt==1.0b2.dev6�[0m
2022-01-05 12:15:47,165 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/4d/ed/4ee192019600bec1996eb3b3458ff9a49ad397bbd914b552371d32ee02c6/QPT-1.0b2.dev6-py3-none-any.whl (524 kB)�[0m
2022-01-05 12:15:47,380 DEBUG: �[35mInstalling collected packages: qpt�[0m
2022-01-05 12:15:47,518 DEBUG: �[35mSuccessfully installed qpt-1.0b2.dev6�[0m
2022-01-05 12:15:47,724 DEBUG: 终端命令执行成功2022-01-05 12:15:47,725 INFO: 正在加载QPTDependencyPackage-OnlineInstallWhlOptOP
2022-01-05 12:15:47,726 DEBUG: SHELL: cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip install -r E:\anaconda3\envs\paddleAI\lib\site-packages\qpt\modules\kernel_dependency.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple --target F:\paddle_V2\QPT_DABAO_OUT\Release\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10
2022-01-05 12:15:47,731 DEBUG: PS F:\paddle_V2> cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip install -r E:\anaconda3\envs\paddleAI\lib\site-packages\qpt\modules\kernel_dependency.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple --target F:\paddle_V2\QPT_DABAO_OUT\Release\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-05 12:15:48,489 DEBUG: �[35mLooking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-05 12:15:48,747 DEBUG: �[35mCollecting pywin32�[0m
2022-01-05 12:15:48,809 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/f3/bd/414d8ca015c2f392ae01a82a77de52aa944e261e3da647584a7425a2e506/pywin32-303-cp37-cp37m-win_amd64.whl (9.2 MB)�[0m
2022-01-05 12:15:49,877 DEBUG: �[35mInstalling collected packages: pywin32�[0m
2022-01-05 12:15:51,726 DEBUG: �[35mSuccessfully installed pywin32-303�[0m
2022-01-05 12:15:54,027 DEBUG: �[35mWARNING: Target directory F:\paddle_V2\QPT_DABAO_OUT\Release\Python\Lib\site-packages\bin already exists. Specify --upgrade to force replacement.�[0m
2022-01-05 12:15:54,075 DEBUG: 终端命令执行成功2022-01-05 12:15:54,076 INFO: 正在加载QPTDependencyPackage-DownloadWhlOptOP
2022-01-05 12:15:54,077 DEBUG: SHELL: cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip download -r E:\anaconda3\envs\paddleAI\lib\site-packages\qpt\modules\qpt_lazy_dependency.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./QPT_DABAO_OUT\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10
2022-01-05 12:15:54,094 DEBUG: PS F:\paddle_V2> cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip download -r E:\anaconda3\envs\paddleAI\lib\site-packages\qpt\modules\qpt_lazy_dependency.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./QPT_DABAO_OUT\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-05 12:15:54,622 DEBUG: �[35mLooking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-05 12:15:54,888 DEBUG: �[35mCollecting wheel�[0m
2022-01-05 12:15:54,951 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl (35 kB)�[0m
2022-01-05 12:15:55,049 DEBUG: �[35mCollecting wget�[0m
2022-01-05 12:15:55,111 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip (10 kB)�[0m
2022-01-05 12:15:55,120 DEBUG: �[35m  Preparing metadata (setup.py): started�[0m
2022-01-05 12:15:55,741 DEBUG: �[35m  Preparing metadata (setup.py): finished with status 'done'�[0m
2022-01-05 12:15:55,752 DEBUG: �[35mSaved f:\paddle_v2\qpt_dabao_out\release\opt\packages\wheel-0.37.1-py2.py3-none-any.whl�[0m
2022-01-05 12:15:55,753 DEBUG: �[35mSaved f:\paddle_v2\qpt_dabao_out\release\opt\packages\wget-3.2.zip�[0m
2022-01-05 12:15:55,753 DEBUG: �[35mSuccessfully downloaded wheel wget�[0m
2022-01-05 12:15:55,801 DEBUG: 终端命令执行成功2022-01-05 12:15:55,801 INFO: 正在封装QPTDependencyPackage-LocalInstallWhlOptOP
2022-01-05 12:15:55,853 INFO:
如在本信息之后停留时间较长请升级Windows Powershell至版本5即可解决该问题下载地址官方地址https://www.microsoft.com/en-us/download/details.aspx?id=54616
团子云镜像https://s.dango.cloud/s/GVbhB 下载码zAkjpradJA2eHiC
2022-01-05 12:15:55,853 DEBUG: SHELL: chcp 65001
2022-01-05 12:15:56,052 DEBUG: Windows PowerShell
2022-01-05 12:15:56,052 DEBUG: Copyright (C) Microsoft Corporation. All rights reserved.
2022-01-05 12:15:56,053 DEBUG: Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows2022-01-05 12:15:56,894 DEBUG: PS F:\paddle_V2> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-01-05 12:15:56,935 DEBUG: Active code page: 65001
2022-01-05 12:15:57,096 DEBUG: 终端命令执行成功2022-01-05 12:15:57,096 INFO: 检测结束当前Powershell满足使用需求2022-01-05 12:15:57,098 DEBUG: 正在连接PTerminal
2022-01-05 12:15:57,099 INFO: 正在加载CopyCUDAPackage-CopyCUDADLLOP
正在拷贝文件2:1551/51  |████████████████████| 100.00% 2022-01-05 12:16:04,087 INFO:
2022-01-05 12:16:04,087 INFO: 正在封装CopyCUDAPackage-SetCUDAEnvOP
2022-01-05 12:16:04,088 INFO: 正在加载CopyCUDAPackage-CopyCUDADLLOP
正在拷贝文件2:1651/51  |████████████████████| 100.00% 2022-01-05 12:16:11,138 INFO:
2022-01-05 12:16:11,138 INFO: 正在封装CopyCUDAPackage-SetCUDAEnvOP
2022-01-05 12:16:11,139 INFO: 正在加载PaddlePaddlePackage-DownloadWhlOptOP
2022-01-05 12:16:11,140 DEBUG: SHELL: cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip download paddlepaddle-gpu==2.2.1.post112 -i https://mirrors.bfsu.edu.cn/pypi/web/simple -f https://paddlepaddle.org.cn/whl/mkl/stable.html -d ./QPT_DABAO_OUT\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10
2022-01-05 12:16:11,141 DEBUG: PS F:\paddle_V2> cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip download paddlepaddle-gpu==2.2.1.post112 -i https://mirrors.bfsu.edu.cn/pypi/web/simple -f https://paddlepaddle.org.cn/whl/mkl/stable.html -d ./QPT_DABAO_OUT\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-05 12:16:11,836 DEBUG: �[35mLooking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-05 12:16:11,836 DEBUG: �[35mLooking in links: https://paddlepaddle.org.cn/whl/mkl/stable.html�[0m
2022-01-05 12:16:13,844 DEBUG: �[35mERROR: Could not find a version that satisfies the requirement paddlepaddle-gpu==2.2.1.post112 (from versions: 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.5.0.post87, 1.5.0.post97, 1.5.1.post87, 1.5.1.post97, 1.5.2.post87, 1.5.2.post97, 1.5.2.post107, 1.6.0rc0.post107, 1.6.0.post97, 1.6.0.post107, 1.6.1.post97, 1.6.1.post107, 1.6.2.post97, 1.6.2.post107, 1.6.3.post97, 1.6.3.post107, 1.7.0.post97, 1.7.0.post107, 1.7.1.post97, 1.7.1.post107, 1.7.2.post97, 1.7.2.post107, 1.8.0.post97, 1.8.0.post107, 1.8.1.post97, 1.8.1.post107, 1.8.2.post97, 1.8.2.post107, 1.8.3.post97, 1.8.3.post107, 1.8.4.post97, 1.8.4.post107, 1.8.5.post97, 1.8.5.post107, 2.0.0a0, 2.0.0b0, 2.0.0rc0, 2.0.0rc0.post90, 2.0.0rc0.post100, 2.0.0rc0.post101, 2.0.0rc1, 2.0.0rc1.post90, 2.0.0rc1.post100, 2.0.0rc1.post101, 2.0.0rc1.post110, 2.0.0, 2.0.0.post90, 2.0.0.post100, 2.0.0.post101, 2.0.0.post110, 2.0.1, 2.0.1.post90, 2.0.1.post100, 2.0.1.post101, 2.0.1.post110, 2.0.2, 2.0.2.post100, 2.0.2.post101, 2.0.2.post110, 2.1.0, 2.1.0.post101, 2.1.0.post110, 2.1.0.post112, 2.1.1, 2.1.1.post101, 2.1.1.post110, 2.1.1.post112, 2.1.2, 2.1.2.post101, 2.1.2.post110, 2.1.2.post112, 2.1.3, 2.1.3.post101, 2.1.3.post110, 2.1.3.post112, 2.2.0rc0, 2.2.0rc0.post101, 2.2.0rc0.post110, 2.2.0rc0.post112, 2.2.0, 2.2.0.post101, 2.2.0.post110, 2.2.0.post111, 2.2.0.post112, 2.2.1)�[0m
2022-01-05 12:16:13,844 DEBUG: �[35mERROR: No matching distribution found for paddlepaddle-gpu==2.2.1.post112�[0m
2022-01-05 12:16:13,900 ERROR: 在执行终端命令时检测到了失败完整信息如下PS F:\paddle_V2> cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip download paddlepaddle-gpu==2.2.1.post112 -i https://mirrors.bfsu.edu.cn/pypi/web/simple -f https://paddlepaddle.org.cn/whl/mkl/stable.html -d ./QPT_DABAO_OUT\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
Looking in links: https://paddlepaddle.org.cn/whl/mkl/stable.html
ERROR: Could not find a version that satisfies the requirement paddlepaddle-gpu==2.2.1.post112 (from versions: 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.5.0.post87, 1.5.0.post97, 1.5.1.post87, 1.5.1.post97, 1.5.2.post87, 1.5.2.post97, 1.5.2.post107, 1.6.0rc0.post107, 1.6.0.post97, 1.6.0.post107, 1.6.1.post97, 1.6.1.post107, 1.6.2.post97, 1.6.2.post107, 1.6.3.post97, 1.6.3.post107, 1.7.0.post97, 1.7.0.post107, 1.7.1.post97, 1.7.1.post107, 1.7.2.post97, 1.7.2.post107, 1.8.0.post97, 1.8.0.post107, 1.8.1.post97, 1.8.1.post107, 1.8.2.post97, 1.8.2.post107, 1.8.3.post97, 1.8.3.post107, 1.8.4.post97, 1.8.4.post107, 1.8.5.post97, 1.8.5.post107, 2.0.0a0, 2.0.0b0, 2.0.0rc0, 2.0.0rc0.post90, 2.0.0rc0.post100, 2.0.0rc0.post101, 2.0.0rc1, 2.0.0rc1.post90, 2.0.0rc1.post100, 2.0.0rc1.post101, 2.0.0rc1.post110, 2.0.0, 2.0.0.post90, 2.0.0.post100, 2.0.0.post101, 2.0.0.post110, 2.0.1, 2.0.1.post90, 2.0.1.post100, 2.0.1.post101, 2.0.1.post110, 2.0.2, 2.0.2.post100, 2.0.2.post101, 2.0.2.post110, 2.1.0, 2.1.0.post101, 2.1.0.post110, 2.1.0.post112, 2.1.1, 2.1.1.post101, 2.1.1.post110, 2.1.1.post112, 2.1.2, 2.1.2.post101, 2.1.2.post110, 2.1.2.post112, 2.1.3, 2.1.3.post101, 2.1.3.post110, 2.1.3.post112, 2.2.0rc0, 2.2.0rc0.post101, 2.2.0rc0.post110, 2.2.0rc0.post112, 2.2.0, 2.2.0.post101, 2.2.0.post110, 2.2.0.post111, 2.2.0.post112, 2.2.1)
ERROR: No matching distribution found for paddlepaddle-gpu==2.2.1.post112

2022-01-05 12:16:13,900 INFO: 正在封装PaddlePaddlePackage-LocalInstallWhlOptOP
2022-01-05 12:16:13,901 INFO: 正在封装PaddlePaddlePackage-SetPaddleFamilyEnvValueOptOP
2022-01-05 12:16:13,902 INFO: 正在加载AutoRequirementsPackage-DownloadWhlOptOP
2022-01-05 12:16:13,903 DEBUG: SHELL: cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip download -r C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\Cache\requirements_dev.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./QPT_DABAO_OUT\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10
2022-01-05 12:16:13,907 DEBUG: PS F:\paddle_V2> cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip download -r C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\Cache\requirements_dev.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./QPT_DABAO_OUT\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-05 12:16:14,634 DEBUG: �[35mLooking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-05 12:16:15,077 DEBUG: �[35mCollecting pysimplegui==4.55.1�[0m
2022-01-05 12:16:15,164 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/e5/d5/efd159e94e682b362a7ec82a49239a1b7e6b0467b129cbb64b0513dd09a0/PySimpleGUI-4.55.1-py3-none-any.whl (394 kB)�[0m
2022-01-05 12:16:15,465 DEBUG: �[35mCollecting paddlex==2.1.0�[0m
2022-01-05 12:16:15,530 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/ca/03/b401c6a34685aa698e7c2fbcfad029892cbfa4b562eaaa7722037fef86ed/paddlex-2.1.0-py3-none-any.whl (1.6 MB)�[0m
2022-01-05 12:16:16,073 DEBUG: �[35mCollecting visualdl==2.2.2�[0m
2022-01-05 12:16:16,127 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/26/0b/eb1c2926eac542d35a3229576a270ae4ee91e3fb5806e08ef45e27f9e8d6/visualdl-2.2.2-py3-none-any.whl (2.7 MB)�[0m
2022-01-05 12:16:16,885 DEBUG: �[35mCollecting cython==0.29.26�[0m
2022-01-05 12:16:16,935 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/48/12/a9b39e152a4ba3c24fa4dcb8816487f14040f6e1afc395907b1d90052ea9/Cython-0.29.26-cp37-cp37m-win_amd64.whl (1.6 MB)�[0m
2022-01-05 12:16:17,381 DEBUG: �[35mCollecting tqdm�[0m
2022-01-05 12:16:17,432 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/63/f3/b7a1b8e40fd1bd049a34566eb353527bb9b8e9b98f8b6cf803bb64d8ce95/tqdm-4.62.3-py2.py3-none-any.whl (76 kB)�[0m
2022-01-05 12:16:17,707 DEBUG: �[35mCollecting paddleslim==2.2.1�[0m
2022-01-05 12:16:17,815 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/dc/f46c4669d4cb35de23581a2380d55bf9d38bb6855aab1978fdb956d85da6/paddleslim-2.2.1-py3-none-any.whl (310 kB)�[0m
2022-01-05 12:16:18,052 DEBUG: �[35mCollecting motmetrics�[0m
2022-01-05 12:16:18,115 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/9c/28/9c3bc8e2a87f4c9e7b04ab72856ec7f9895a66681a65973ffaf9562ef879/motmetrics-1.2.0-py3-none-any.whl (151 kB)�[0m
2022-01-05 12:16:18,314 DEBUG: �[35mCollecting shapely>=1.7.0�[0m
2022-01-05 12:16:18,384 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/3f/e7/b40214fe8ccf92b59724adbf0684fb5203da2578a49fcfde00d7bb9364f9/Shapely-1.8.0-cp37-cp37m-win_amd64.whl (1.1 MB)�[0m
2022-01-05 12:16:19,383 DEBUG: �[35mCollecting flask-cors�[0m
2022-01-05 12:16:19,472 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/db/84/901e700de86604b1c4ef4b57110d4e947c218b9997adf5d38fa7da493bce/Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)�[0m
2022-01-05 12:16:19,562 DEBUG: �[35mCollecting openpyxl�[0m
2022-01-05 12:16:19,625 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/1c/a6/8ce4d2ef2c29be3235c08bb00e0b81e29d38ebc47d82b17af681bf662b74/openpyxl-3.0.9-py2.py3-none-any.whl (242 kB)�[0m
2022-01-05 12:16:19,990 DEBUG: �[35mCollecting opencv-python�[0m
2022-01-05 12:16:20,044 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/65/d4/0f4b0f72687780e3b4662e4a5323736d6c534e6914508e6239914c8d8515/opencv_python-4.5.5.62-cp36-abi3-win_amd64.whl (35.4 MB)�[0m
2022-01-05 12:16:24,718 DEBUG: �[35mCollecting lap�[0m
2022-01-05 12:16:24,782 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz (1.5 MB)�[0m
2022-01-05 12:16:25,009 DEBUG: �[35m  Preparing metadata (setup.py): started�[0m
2022-01-05 12:16:25,300 DEBUG: �[35m  Preparing metadata (setup.py): finished with status 'error'�[0m
2022-01-05 12:16:25,300 DEBUG: �[35m  ERROR: Command errored out with exit status 1:�[0m
2022-01-05 12:16:25,300 DEBUG: �[35m   command: 'F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\mm\\AppData\\Local\\Temp\\pip-download-5zxpj8en\\lap_36931c19f59e405ea029fc2a2dd6c2f7\\setup.py'"'"'; __file__='"'"'C:\\Users\\mm\\AppData\\Local\\Temp\\pip-download-5zxpj8en\\lap_36931c19f59e405ea029fc2a2dd6c2f7\\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\mm\AppData\Local\Temp\pip-pip-egg-info-0hthwge_'�[0m
2022-01-05 12:16:25,300 DEBUG: �[35m       cwd: C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_36931c19f59e405ea029fc2a2dd6c2f7\�[0m
2022-01-05 12:16:25,301 DEBUG: �[35m  Complete output (12 lines):�[0m
2022-01-05 12:16:25,301 DEBUG: �[35m  Partial import of lap during the build process.�[0m
2022-01-05 12:16:25,301 DEBUG: �[35m  Traceback (most recent call last):�[0m
2022-01-05 12:16:25,301 DEBUG: �[35m    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_36931c19f59e405ea029fc2a2dd6c2f7\setup.py", line 127, in get_numpy_status�[0m
2022-01-05 12:16:25,301 DEBUG: �[35m      import numpy�[0m
2022-01-05 12:16:25,301 DEBUG: �[35m  ModuleNotFoundError: No module named 'numpy'�[0m
2022-01-05 12:16:25,302 DEBUG: �[35m  Traceback (most recent call last):�[0m
2022-01-05 12:16:25,302 DEBUG: �[35m    File "<string>", line 1, in <module>�[0m
2022-01-05 12:16:25,302 DEBUG: �[35m    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_36931c19f59e405ea029fc2a2dd6c2f7\setup.py", line 236, in <module>�[0m
2022-01-05 12:16:25,302 DEBUG: �[35m      setup_package()�[0m
2022-01-05 12:16:25,302 DEBUG: �[35m    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_36931c19f59e405ea029fc2a2dd6c2f7\setup.py", line 220, in setup_package�[0m
2022-01-05 12:16:25,302 DEBUG: �[35m      raise ImportError('lap requires numpy, '�[0m
2022-01-05 12:16:25,302 DEBUG: �[35m  ImportError: lap requires numpy, please "pip install numpy".�[0m
2022-01-05 12:16:25,303 DEBUG: �[35m  ----------------------------------------�[0m
2022-01-05 12:16:25,303 DEBUG: �[35mWARNING: Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz#sha256=c4dad9976f0e9f276d8a676a6d03632c3cb7ab7c80142e3b27303d49f0ed0e3b (from https://mirrors.bfsu.edu.cn/pypi/web/simple/lap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.�[0m
2022-01-05 12:16:25,372 DEBUG: �[35m  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/17/d179f806407e1ccbce2c4ad5a265851c1c8d78f5b6ec5e1d1d6101135086/lap-0.3.0.tar.gz (1.5 MB)�[0m
2022-01-05 12:16:25,719 DEBUG: �[35m  Preparing metadata (setup.py): started�[0m
2022-01-05 12:16:26,011 DEBUG: �[35m  Preparing metadata (setup.py): finished with status 'error'�[0m
2022-01-05 12:16:26,012 DEBUG: �[35m  ERROR: Command errored out with exit status 1:�[0m
2022-01-05 12:16:26,012 DEBUG: �[35m   command: 'F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\mm\\AppData\\Local\\Temp\\pip-download-5zxpj8en\\lap_28d5f092d8d5493b8ac80f8b0936f9ea\\setup.py'"'"'; __file__='"'"'C:\\Users\\mm\\AppData\\Local\\Temp\\pip-download-5zxpj8en\\lap_28d5f092d8d5493b8ac80f8b0936f9ea\\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\mm\AppData\Local\Temp\pip-pip-egg-info-c3vlhkwt'�[0m
2022-01-05 12:16:26,012 DEBUG: �[35m       cwd: C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_28d5f092d8d5493b8ac80f8b0936f9ea\�[0m
2022-01-05 12:16:26,012 DEBUG: �[35m  Complete output (12 lines):�[0m
2022-01-05 12:16:26,013 DEBUG: �[35m  Partial import of lap during the build process.�[0m
2022-01-05 12:16:26,013 DEBUG: �[35m  Traceback (most recent call last):�[0m
2022-01-05 12:16:26,013 DEBUG: �[35m    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_28d5f092d8d5493b8ac80f8b0936f9ea\setup.py", line 127, in get_numpy_status�[0m
2022-01-05 12:16:26,013 DEBUG: �[35m      import numpy�[0m
2022-01-05 12:16:26,013 DEBUG: �[35m  ModuleNotFoundError: No module named 'numpy'�[0m
2022-01-05 12:16:26,014 DEBUG: �[35m  Traceback (most recent call last):�[0m
2022-01-05 12:16:26,014 DEBUG: �[35m    File "<string>", line 1, in <module>�[0m
2022-01-05 12:16:26,014 DEBUG: �[35m    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_28d5f092d8d5493b8ac80f8b0936f9ea\setup.py", line 235, in <module>�[0m
2022-01-05 12:16:26,014 DEBUG: �[35m      setup_package()�[0m
2022-01-05 12:16:26,014 DEBUG: �[35m    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_28d5f092d8d5493b8ac80f8b0936f9ea\setup.py", line 219, in setup_package�[0m
2022-01-05 12:16:26,014 DEBUG: �[35m      raise ImportError('lap requires numpy, '�[0m
2022-01-05 12:16:26,014 DEBUG: �[35m  ImportError: lap requires numpy, please "pip install numpy".�[0m
2022-01-05 12:16:26,014 DEBUG: �[35m  ----------------------------------------�[0m
2022-01-05 12:16:26,016 DEBUG: �[35mWARNING: Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/17/d179f806407e1ccbce2c4ad5a265851c1c8d78f5b6ec5e1d1d6101135086/lap-0.3.0.tar.gz#sha256=f0464186e7f4a29073e3d960e0fe9d0eaed4515ebf936e6d48662c5e76906799 (from https://mirrors.bfsu.edu.cn/pypi/web/simple/lap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.�[0m
2022-01-05 12:16:26,016 DEBUG: �[35mERROR: Could not find a version that satisfies the requirement lap (from versions: 0.3.0, 0.4.0)�[0m
2022-01-05 12:16:26,018 DEBUG: �[35mERROR: No matching distribution found for lap�[0m
2022-01-05 12:16:26,115 ERROR: 在执行终端命令时检测到了失败完整信息如下PS F:\paddle_V2> cd F: ;F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip download -r C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\Cache\requirements_dev.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./QPT_DABAO_OUT\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
Collecting pysimplegui==4.55.1
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/e5/d5/efd159e94e682b362a7ec82a49239a1b7e6b0467b129cbb64b0513dd09a0/PySimpleGUI-4.55.1-py3-none-any.whl (394 kB)
Collecting paddlex==2.1.0
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/ca/03/b401c6a34685aa698e7c2fbcfad029892cbfa4b562eaaa7722037fef86ed/paddlex-2.1.0-py3-none-any.whl (1.6 MB)
Collecting visualdl==2.2.2
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/26/0b/eb1c2926eac542d35a3229576a270ae4ee91e3fb5806e08ef45e27f9e8d6/visualdl-2.2.2-py3-none-any.whl (2.7 MB)
Collecting cython==0.29.26
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/48/12/a9b39e152a4ba3c24fa4dcb8816487f14040f6e1afc395907b1d90052ea9/Cython-0.29.26-cp37-cp37m-win_amd64.whl (1.6 MB)
Collecting tqdm
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/63/f3/b7a1b8e40fd1bd049a34566eb353527bb9b8e9b98f8b6cf803bb64d8ce95/tqdm-4.62.3-py2.py3-none-any.whl (76 kB)
Collecting paddleslim==2.2.1
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/dc/f46c4669d4cb35de23581a2380d55bf9d38bb6855aab1978fdb956d85da6/paddleslim-2.2.1-py3-none-any.whl (310 kB)
Collecting motmetrics
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/9c/28/9c3bc8e2a87f4c9e7b04ab72856ec7f9895a66681a65973ffaf9562ef879/motmetrics-1.2.0-py3-none-any.whl (151 kB)
Collecting shapely>=1.7.0
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/3f/e7/b40214fe8ccf92b59724adbf0684fb5203da2578a49fcfde00d7bb9364f9/Shapely-1.8.0-cp37-cp37m-win_amd64.whl (1.1 MB)
Collecting flask-cors
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/db/84/901e700de86604b1c4ef4b57110d4e947c218b9997adf5d38fa7da493bce/Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
Collecting openpyxl
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/1c/a6/8ce4d2ef2c29be3235c08bb00e0b81e29d38ebc47d82b17af681bf662b74/openpyxl-3.0.9-py2.py3-none-any.whl (242 kB)
Collecting opencv-python
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/65/d4/0f4b0f72687780e3b4662e4a5323736d6c534e6914508e6239914c8d8515/opencv_python-4.5.5.62-cp36-abi3-win_amd64.whl (35.4 MB)
Collecting lap
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz (1.5 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: 'F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\mm\\AppData\\Local\\Temp\\pip-download-5zxpj8en\\lap_36931c19f59e405ea029fc2a2dd6c2f7\\setup.py'"'"'; __file__='"'"'C:\\Users\\mm\\AppData\\Local\\Temp\\pip-download-5zxpj8en\\lap_36931c19f59e405ea029fc2a2dd6c2f7\\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\mm\AppData\Local\Temp\pip-pip-egg-info-0hthwge_'
       cwd: C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_36931c19f59e405ea029fc2a2dd6c2f7\
  Complete output (12 lines):
  Partial import of lap during the build process.
  Traceback (most recent call last):
    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_36931c19f59e405ea029fc2a2dd6c2f7\setup.py", line 127, in get_numpy_status
      import numpy
  ModuleNotFoundError: No module named 'numpy'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_36931c19f59e405ea029fc2a2dd6c2f7\setup.py", line 236, in <module>
      setup_package()
    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_36931c19f59e405ea029fc2a2dd6c2f7\setup.py", line 220, in setup_package
      raise ImportError('lap requires numpy, '
  ImportError: lap requires numpy, please "pip install numpy".
  ----------------------------------------
WARNING: Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz#sha256=c4dad9976f0e9f276d8a676a6d03632c3cb7ab7c80142e3b27303d49f0ed0e3b (from https://mirrors.bfsu.edu.cn/pypi/web/simple/lap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/17/d179f806407e1ccbce2c4ad5a265851c1c8d78f5b6ec5e1d1d6101135086/lap-0.3.0.tar.gz (1.5 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: 'F:\paddle_V2\QPT_DABAO_OUT\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\mm\\AppData\\Local\\Temp\\pip-download-5zxpj8en\\lap_28d5f092d8d5493b8ac80f8b0936f9ea\\setup.py'"'"'; __file__='"'"'C:\\Users\\mm\\AppData\\Local\\Temp\\pip-download-5zxpj8en\\lap_28d5f092d8d5493b8ac80f8b0936f9ea\\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\mm\AppData\Local\Temp\pip-pip-egg-info-c3vlhkwt'
       cwd: C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_28d5f092d8d5493b8ac80f8b0936f9ea\
  Complete output (12 lines):
  Partial import of lap during the build process.
  Traceback (most recent call last):
    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_28d5f092d8d5493b8ac80f8b0936f9ea\setup.py", line 127, in get_numpy_status
      import numpy
  ModuleNotFoundError: No module named 'numpy'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_28d5f092d8d5493b8ac80f8b0936f9ea\setup.py", line 235, in <module>
      setup_package()
    File "C:\Users\mm\AppData\Local\Temp\pip-download-5zxpj8en\lap_28d5f092d8d5493b8ac80f8b0936f9ea\setup.py", line 219, in setup_package
      raise ImportError('lap requires numpy, '
  ImportError: lap requires numpy, please "pip install numpy".
  ----------------------------------------
WARNING: Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/17/d179f806407e1ccbce2c4ad5a265851c1c8d78f5b6ec5e1d1d6101135086/lap-0.3.0.tar.gz#sha256=f0464186e7f4a29073e3d960e0fe9d0eaed4515ebf936e6d48662c5e76906799 (from https://mirrors.bfsu.edu.cn/pypi/web/simple/lap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement lap (from versions: 0.3.0, 0.4.0)
ERROR: No matching distribution found for lap

2022-01-05 12:16:26,116 INFO: 正在封装AutoRequirementsPackage-LocalInstallWhlOptOP
2022-01-05 12:16:26,118 INFO: 正在封装BatchInstallation-BatchInstallationOptOP
2022-01-05 12:16:26,119 INFO: 正在封装PaddlePaddleCheckAVX-CheckAVXOptOP
2022-01-05 12:16:26,120 INFO: 正在复制相关文件可能会耗时较长
正在拷贝文件2:1619/19  |████████████████████| 100.00% 2022-01-05 12:16:26,184 INFO:
2022-01-05 12:16:26,185 INFO: 正在复制相关文件可能会耗时较长
正在拷贝文件2:167/7  |████████████████████| 100.00% 2022-01-05 12:16:26,215 INFO:
正在拷贝文件2:161514/4923  |██████              | 30.75% 2022-01-05 12:16:39,549 INFO:

换成
https://pypi.tuna.tsinghua.edu.cn/simple

 在执行终端命令时检测到了失败,完整信息如下:
PS F:\Intsoft_V2> cd F: ;F:\paddlex_V2\QPT_DABAO_OUT\Release\Python\python.exe -m pip download paddlepaddle-gpu==2.2.1.post112 -i https://pypi.tuna.tsinghua.edu.cn/simple -f https://paddlepaddle.org.cn/whl/mkl/stable.html -d ./QPT_DABAO_OUT\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\mm\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev6\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Looking in links: https://paddlepaddle.org.cn/whl/mkl/stable.html
ERROR: Could not find a version that satisfies the requirement paddlepaddle-gpu==2.2.1.post112 (from versions: 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.5.0.post87, 1.5.0.post97, 1.5.1.post87, 1.5.1.post97, 1.5.2.post87, 1.5.2.post97, 1.5.2.post107, 1.6.0rc0.post107, 1.6.0.post97, 1.6.0.post107, 1.6.1.post97, 1.6.1.post107, 1.6.2.post97, 1.6.2.post107, 1.6.3.post97, 1.6.3.post107, 1.7.0.post97, 1.7.0.post107, 1.7.1.post97, 1.7.1.post107, 1.7.2.post97, 1.7.2.post107, 1.8.0.post97, 1.8.0.post107, 1.8.1.post97, 1.8.1.post107, 1.8.2.post97, 1.8.2.post107, 1.8.3.post97, 1.8.3.post107, 1.8.4.post97, 1.8.4.post107, 1.8.5.post97, 1.8.5.post107, 2.0.0a0, 2.0.0b0, 2.0.0rc0, 2.0.0rc0.post90, 2.0.0rc0.post100, 2.0.0rc0.post101, 2.0.0rc1, 2.0.0rc1.post90, 2.0.0rc1.post100, 2.0.0rc1.post101, 2.0.0rc1.post110, 2.0.0, 2.0.0.post90, 2.0.0.post100, 2.0.0.post101, 2.0.0.post110, 2.0.1, 2.0.1.post90, 2.0.1.post100, 2.0.1.post101, 2.0.1.post110, 2.0.2, 2.0.2.post100, 2.0.2.post101, 2.0.2.post110, 2.1.0, 2.1.0.post101, 2.1.0.post110, 2.1.0.post112, 2.1.1, 2.1.1.post101, 2.1.1.post110, 2.1.1.post112, 2.1.2, 2.1.2.post101, 2.1.2.post110, 2.1.2.post112, 2.1.3, 2.1.3.post101, 2.1.3.post110, 2.1.3.post112, 2.2.0rc0, 2.2.0rc0.post101, 2.2.0rc0.post110, 2.2.0rc0.post112, 2.2.0, 2.2.0.post101, 2.2.0.post110, 2.2.0.post111, 2.2.0.post112, 2.2.1)
ERROR: No matching distribution found for paddlepaddle-gpu==2.2.1.post112

【可能的Bug,Python包Lap安装出现失败】

简要描述Bug
打包paddleX==2.1.0这个包的时候出现ModuleNotFoundError: No module named 'numpy',但我确定是安装过的numpy包。运行打包的程序却出现
ERROR: Could not find a version that satisfies the requirement paddlex==2.1.0 (from versions: none)
ERROR: No matching distribution found for paddlex==2.1.0

基本信息
QPT版本:V1.0b2
操作系统版本:win10x64专业版
CPU型号: i7-11700k

复现步骤/报错截图

(dabao-huanjing) C:\Users\JS-YFB\Desktop\dabao_ceshi>chcp 65001
Active code page: 65001

(dabao-huanjing) C:\Users\JS-YFB\Desktop\dabao_ceshi>qpt.exe -f ./dabao -p ./dabao/predict.py -s ./out -h False
2022-01-07 22:06:14,196 DEBUG: �[35m操作系统类型:Windows�[0m
2022-01-07 22:06:14,197 DEBUG: �[35m操作系统位数:AMD64�[0m
D:\Users\JS-YFB\Anaconda3\envs\dabao-huanjing\lib\site-packages_distutils_hack_init_.py:36: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
[Python依赖]请输入requirements.txt文件路径,若无该文件可直接按下[回车键]自动生成该文件 [auto]:
2022-01-07 22:06:39,640 INFO: �[34m-----------------------------QPT--------------------------------�[0m
2022-01-07 22:06:39,640 INFO: �[34m当前执行模式为命令式执行,仅提供QPT基础功能,高阶操作可在GitHub参考最新文档�[0m
2022-01-07 22:06:39,641 INFO: �[34m https://github.com/GT-ZhangAcer/QPT�[0m
2022-01-07 22:06:39,641 INFO: �[34m-----------------------------QPT--------------------------------�[0m
2022-01-07 22:06:39,641 INFO: �[34m[--folder]待打包的文件夹路径为 C:\Users\JS-YFB\Desktop\dabao_ceshi\dabao�[0m
2022-01-07 22:06:39,641 INFO: �[34m[--py]待打包的主Python文件路径为 C:\Users\JS-YFB\Desktop\dabao_ceshi\dabao\predict.py�[0m
2022-01-07 22:06:39,641 INFO: �[34m[--save]打包后文件保存路径为 C:\Users\JS-YFB\Desktop\dabao_ceshi\out�[0m
2022-01-07 22:06:39,641 INFO: �[34m[--require]使用自动化依赖查找Module:AutoRequirementsPackage�[0m
2022-01-07 22:06:39,641 INFO: �[34m[--hidden]当前打包模式为:显示Terminal窗口(就是用户打开后的那个黑色框框,可通过指定 -h True 命令来隐藏)�[0m
2022-01-07 22:06:39,641 INFO: �[34mQPT使用命令可输入:qpt --help 获取�[0m
2022-01-07 22:06:39,644 INFO: �[34m
如在本信息之后停留时间较长,请升级Windows Powershell至版本5即可解决该问题,下载地址:
官方地址:https://www.microsoft.com/en-us/download/details.aspx?id=54616
团子云镜像:https://s.dango.cloud/s/GVbhB 下载码:zAkjpradJA2eHiC�[0m
2022-01-07 22:06:39,644 DEBUG: �[35mSHELL: chcp 65001�[0m
2022-01-07 22:06:39,698 DEBUG: Windows PowerShell
2022-01-07 22:06:39,698 DEBUG: Copyright (C) Microsoft Corporation. All rights reserved.
2022-01-07 22:06:39,698 DEBUG: Try the new cross-platform PowerShell https://aka.ms/pscore6
2022-01-07 22:06:39,892 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-01-07 22:06:39,905 DEBUG: �[35mActive code page: 65001�[0m
2022-01-07 22:06:39,907 DEBUG: 终端命令执行成功!
2022-01-07 22:06:39,907 INFO: 检测结束,当前Powershell满足使用需求。
2022-01-07 22:06:39,907 DEBUG: 正在连接PIPTerminal
2022-01-07 22:06:39,929 DEBUG: 已设置PIP跨版本编译模式,目标解释器路径为:./out\Release\Python\python.exe
2022-01-07 22:06:39,930 INFO: 当前解释器版本为3.7.12,正在向QPT查询是否存在合适的Python镜像...
2022-01-07 22:06:39,930 INFO: 已在QPT中找到Python3.7Env-Win镜像
2022-01-07 22:06:39,930 INFO: [Auto]正在分析C:\Users\JS-YFB\Desktop\dabao_ceshi\dabao下的依赖情况...
1/1 |████████████████████| 100.00% 对应文件:./dabao\predict.py2022-01-07 22:06:40,135 INFO: 依赖分析完毕!
已在C:\Users\JS-YFB\Desktop\dabao_ceshi\dabao\requirements_with_opt.txt 中创建了依赖列表
Tips 1: 查看文件后可能需要关闭查看该文件的文本查看器,这样可以有效避免文件被占用
Tips 2: 请务必检查上方文件中所写入的依赖列表情况,因为自动分析并不能保证程序依赖均可以被检出
若在执行EXE时提示:ImportError: No module named xxx 报错信息,请在该依赖文件中加入xxx或 取消xxx前的 # 符号

请在检查/修改依赖文件后在此处按下回车键继续...
请键入指令[回车键 - 一次不行可以试试按两次]:_
2022-01-07 22:07:10,363 INFO: ----------QPT执行使用了以下OP----------
2022-01-07 22:07:10,363 INFO: AutoPythonEnv执行优先级5.0 {'Pack': ['PackPythonEnvOpt'], 'Unpack': ['UnPackPythonEnvOpt']}
2022-01-07 22:07:10,363 INFO: QPTDependencyPackage执行优先级3.0 {'Pack': ['OnlineInstallWhlOpt', 'OnlineInstallWhlOpt', 'DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
2022-01-07 22:07:10,363 INFO: ----------程序执行使用了以下OP----------
2022-01-07 22:07:10,363 INFO: AutoRequirementsPackage优先级3.0 {'Pack': ['DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
2022-01-07 22:07:10,363 INFO: BatchInstallation优先级2.0 {'Pack': [], 'Unpack': ['BatchInstallationOpt']}
2022-01-07 22:07:10,363 INFO: ------------------------------------
2022-01-07 22:07:10,363 INFO: 正在加载AutoPythonEnv-PackPythonEnvOptOP
2022-01-07 22:07:10,364 INFO: 正在加载Python解释器原文件至C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Python\4613320337
正在拷贝文件2:073133/3133 |████████████████████| 100.00% 2022-01-07 22:07:13,014 INFO:
2022-01-07 22:07:13,015 INFO: 正在封装AutoPythonEnv-UnPackPythonEnvOptOP
2022-01-07 22:07:13,015 INFO: 正在加载QPTDependencyPackage-OnlineInstallWhlOptOP
2022-01-07 22:07:13,016 DEBUG: SHELL: cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe -m pip install qpt==1.0b2.dev7 -i https://mirrors.bfsu.edu.cn/pypi/web/simple --no-deps --target C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10
2022-01-07 22:07:13,017 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi> cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe -m pip install qpt==1.0b2.dev7 -i https://mirrors.bfsu.edu.cn/pypi/web/simple --no-deps --target C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-07 22:07:16,467 DEBUG: �[35mLooking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-07 22:07:27,792 DEBUG: Collecting qpt==1.0b2.dev7
2022-01-07 22:08:05,192 DEBUG: Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/7a/22/fd6e7db2ba517dc4f8c0571c31172826012124bad317484075193ae60140/QPT-1.0b2.dev7-py3-none-any.whl (524 kB)
2022-01-07 22:08:05,193 DEBUG: Installing collected packages: qpt
2022-01-07 22:08:05,193 DEBUG: Successfully installed qpt-1.0b2.dev7
2022-01-07 22:08:05,194 DEBUG: 终端命令执行成功!
2022-01-07 22:08:05,194 INFO: 正在加载QPTDependencyPackage-OnlineInstallWhlOptOP
2022-01-07 22:08:05,196 DEBUG: SHELL: cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe -m pip install -r D:\Users\JS-YFB\Anaconda3\envs\dabao-huanjing\lib\site-packages\qpt\modules\kernel_dependency.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple --target C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10
2022-01-07 22:08:05,197 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi> cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe -m pip install -r D:\Users\JS-YFB\Anaconda3\envs\dabao-huanjing\lib\site-packages\qpt\modules\kernel_dependency.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple --target C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-07 22:08:05,544 DEBUG: �[35mLooking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-07 22:08:05,740 DEBUG: �[35mCollecting pywin32�[0m
2022-01-07 22:08:05,833 DEBUG: �[35m Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/f3/bd/414d8ca015c2f392ae01a82a77de52aa944e261e3da647584a7425a2e506/pywin32-303-cp37-cp37m-win_amd64.whl (9.2 MB)�[0m
2022-01-07 22:08:05,897 DEBUG: �[35mInstalling collected packages: pywin32�[0m
2022-01-07 22:08:08,497 DEBUG: �[35mSuccessfully installed pywin32-303�[0m
2022-01-07 22:08:08,523 DEBUG: �[35mWARNING: Target directory C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\Lib\site-packages\bin already exists. Specify --upgrade to force replacement.�[0m
2022-01-07 22:08:08,554 DEBUG: 终端命令执行成功!
2022-01-07 22:08:08,554 INFO: 正在加载QPTDependencyPackage-DownloadWhlOptOP
2022-01-07 22:08:08,555 DEBUG: SHELL: cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe -m pip download -r D:\Users\JS-YFB\Anaconda3\envs\dabao-huanjing\lib\site-packages\qpt\modules\qpt_lazy_dependency.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./out\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10
2022-01-07 22:08:08,557 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi> cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe -m pip download -r D:\Users\JS-YFB\Anaconda3\envs\dabao-huanjing\lib\site-packages\qpt\modules\qpt_lazy_dependency.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./out\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-07 22:08:08,948 DEBUG: �[35mLooking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-07 22:08:09,147 DEBUG: �[35mCollecting wheel�[0m
2022-01-07 22:08:09,228 DEBUG: �[35m Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl (35 kB)�[0m
2022-01-07 22:08:09,284 DEBUG: �[35mCollecting wget�[0m
2022-01-07 22:08:09,331 DEBUG: �[35m Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip (10 kB)�[0m
2022-01-07 22:08:09,338 DEBUG: �[35m Preparing metadata (setup.py): started�[0m
2022-01-07 22:08:09,982 DEBUG: �[35m Preparing metadata (setup.py): finished with status 'done'�[0m
2022-01-07 22:08:09,992 DEBUG: �[35mSaved c:\users\js-yfb\desktop\dabao_ceshi\out\release\opt\packages\wheel-0.37.1-py2.py3-none-any.whl�[0m
2022-01-07 22:08:09,993 DEBUG: �[35mSaved c:\users\js-yfb\desktop\dabao_ceshi\out\release\opt\packages\wget-3.2.zip�[0m
2022-01-07 22:08:09,993 DEBUG: �[35mSuccessfully downloaded wheel wget�[0m
2022-01-07 22:08:10,033 DEBUG: 终端命令执行成功!
2022-01-07 22:08:10,033 INFO: 正在封装QPTDependencyPackage-LocalInstallWhlOptOP
2022-01-07 22:08:10,035 INFO:
如在本信息之后停留时间较长,请升级Windows Powershell至版本5即可解决该问题,下载地址:
官方地址:https://www.microsoft.com/en-us/download/details.aspx?id=54616
团子云镜像:https://s.dango.cloud/s/GVbhB 下载码:zAkjpradJA2eHiC
2022-01-07 22:08:10,036 DEBUG: SHELL: chcp 65001
2022-01-07 22:08:10,092 DEBUG: Windows PowerShell
2022-01-07 22:08:10,093 DEBUG: Copyright (C) Microsoft Corporation. All rights reserved.
2022-01-07 22:08:10,093 DEBUG: Try the new cross-platform PowerShell https://aka.ms/pscore6
2022-01-07 22:08:10,293 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-01-07 22:08:10,302 DEBUG: Active code page: 65001
2022-01-07 22:08:10,304 DEBUG: 终端命令执行成功!
2022-01-07 22:08:10,304 INFO: 检测结束,当前Powershell满足使用需求。
2022-01-07 22:08:10,305 DEBUG: 正在连接PTerminal
2022-01-07 22:08:10,305 INFO: 正在加载AutoRequirementsPackage-DownloadWhlOptOP
2022-01-07 22:08:10,306 DEBUG: SHELL: cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe -m pip download -r C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Cache\requirements_dev.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./out\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10
2022-01-07 22:08:10,306 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi> cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe -m pip download -r C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Cache\requirements_dev.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./out\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-07 22:08:10,671 DEBUG: �[35mLooking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple�[0m
2022-01-07 22:08:21,982 DEBUG: �[35mCollecting paddlex==2.1.0�[0m
2022-01-07 22:08:22,035 DEBUG: �[35m Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/ca/03/b401c6a34685aa698e7c2fbcfad029892cbfa4b562eaaa7722037fef86ed/paddlex-2.1.0-py3-none-any.whl (1.6 MB)�[0m
2022-01-07 22:08:22,462 DEBUG: �[35mCollecting numpy�[0m
2022-01-07 22:08:22,502 DEBUG: �[35m Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/22/a3/3a5469ebaca59100e50b4300dd011eed943f2aad7c6a80a07966b985e2c6/numpy-1.21.5-cp37-cp37m-win_amd64.whl (14.0 MB)�[0m
2022-01-07 22:08:24,087 DEBUG: �[35mCollecting lap�[0m
2022-01-07 22:08:24,193 DEBUG: �[35m Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz (1.5 MB)�[0m
2022-01-07 22:08:24,234 DEBUG: �[35m Preparing metadata (setup.py): started�[0m
2022-01-07 22:08:24,419 DEBUG: �[35m Preparing metadata (setup.py): finished with status 'error'�[0m
2022-01-07 22:08:24,419 DEBUG: �[35m ERROR: Command errored out with exit status 1:�[0m
2022-01-07 22:08:24,419 DEBUG: �[35m command: 'C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py'"'"'; file='"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\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\JS-YFB\AppData\Local\Temp\pip-pip-egg-info-qedj8lou'�[0m
2022-01-07 22:08:24,421 DEBUG: �[35m cwd: C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\�[0m
2022-01-07 22:08:24,423 DEBUG: �[35m Complete output (12 lines):�[0m
2022-01-07 22:08:24,423 DEBUG: �[35m Partial import of lap during the build process.�[0m
2022-01-07 22:08:24,423 DEBUG: �[35m Traceback (most recent call last):�[0m
2022-01-07 22:08:24,424 DEBUG: �[35m File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py", line 127, in get_numpy_status�[0m
2022-01-07 22:08:24,424 DEBUG: �[35m import numpy�[0m
2022-01-07 22:08:24,424 DEBUG: �[35m ModuleNotFoundError: No module named 'numpy'�[0m
2022-01-07 22:08:24,424 DEBUG: �[35m Traceback (most recent call last):�[0m
2022-01-07 22:08:24,424 DEBUG: �[35m File "", line 1, in �[0m
2022-01-07 22:08:24,425 DEBUG: �[35m File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py", line 236, in �[0m
2022-01-07 22:08:24,425 DEBUG: �[35m setup_package()�[0m
2022-01-07 22:08:24,425 DEBUG: �[35m File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py", line 220, in setup_package�[0m
2022-01-07 22:08:24,425 DEBUG: �[35m raise ImportError('lap requires numpy, '�[0m
2022-01-07 22:08:24,425 DEBUG: �[35m ImportError: lap requires numpy, please "pip install numpy".�[0m
2022-01-07 22:08:24,425 DEBUG: �[35m ----------------------------------------�[0m
2022-01-07 22:08:24,426 DEBUG: �[35mWARNING: Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz#sha256=c4dad9976f0e9f276d8a676a6d03632c3cb7ab7c80142e3b27303d49f0ed0e3b (from https://mirrors.bfsu.edu.cn/pypi/web/simple/lap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.�[0m
2022-01-07 22:08:24,476 DEBUG: �[35m Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/17/d179f806407e1ccbce2c4ad5a265851c1c8d78f5b6ec5e1d1d6101135086/lap-0.3.0.tar.gz (1.5 MB)�[0m
2022-01-07 22:08:24,505 DEBUG: �[35m Preparing metadata (setup.py): started�[0m
2022-01-07 22:08:24,678 DEBUG: �[35m Preparing metadata (setup.py): finished with status 'error'�[0m
2022-01-07 22:08:24,678 DEBUG: �[35m ERROR: Command errored out with exit status 1:�[0m
2022-01-07 22:08:24,679 DEBUG: �[35m command: 'C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py'"'"'; file='"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\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\JS-YFB\AppData\Local\Temp\pip-pip-egg-info-1czef7ol'�[0m
2022-01-07 22:08:24,679 DEBUG: �[35m cwd: C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\�[0m
2022-01-07 22:08:24,680 DEBUG: �[35m Complete output (12 lines):�[0m
2022-01-07 22:08:24,680 DEBUG: �[35m Partial import of lap during the build process.�[0m
2022-01-07 22:08:24,680 DEBUG: �[35m Traceback (most recent call last):�[0m
2022-01-07 22:08:24,681 DEBUG: �[35m File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py", line 127, in get_numpy_status�[0m
2022-01-07 22:08:24,681 DEBUG: �[35m import numpy�[0m
2022-01-07 22:08:24,681 DEBUG: �[35m ModuleNotFoundError: No module named 'numpy'�[0m
2022-01-07 22:08:24,681 DEBUG: �[35m Traceback (most recent call last):�[0m
2022-01-07 22:08:24,681 DEBUG: �[35m File "", line 1, in �[0m
2022-01-07 22:08:24,681 DEBUG: �[35m File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py", line 235, in �[0m
2022-01-07 22:08:24,682 DEBUG: �[35m setup_package()�[0m
2022-01-07 22:08:24,682 DEBUG: �[35m File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py", line 219, in setup_package�[0m
2022-01-07 22:08:24,682 DEBUG: �[35m raise ImportError('lap requires numpy, '�[0m
2022-01-07 22:08:24,682 DEBUG: �[35m ImportError: lap requires numpy, please "pip install numpy".�[0m
2022-01-07 22:08:24,682 DEBUG: �[35m ----------------------------------------�[0m
2022-01-07 22:08:24,683 DEBUG: �[35mWARNING: Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/17/d179f806407e1ccbce2c4ad5a265851c1c8d78f5b6ec5e1d1d6101135086/lap-0.3.0.tar.gz#sha256=f0464186e7f4a29073e3d960e0fe9d0eaed4515ebf936e6d48662c5e76906799 (from https://mirrors.bfsu.edu.cn/pypi/web/simple/lap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.�[0m
2022-01-07 22:08:24,683 DEBUG: �[35mERROR: Could not find a version that satisfies the requirement lap (from paddlex) (from versions: 0.3.0, 0.4.0)�[0m
2022-01-07 22:08:24,683 DEBUG: �[35mERROR: No matching distribution found for lap�[0m
2022-01-07 22:08:24,728 ERROR: 在执行终端命令时检测到了失败,完整信息如下:
PS C:\Users\JS-YFB\Desktop\dabao_ceshi> cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe -m pip download -r C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Cache\requirements_dev.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./out\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
Collecting paddlex==2.1.0
Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/ca/03/b401c6a34685aa698e7c2fbcfad029892cbfa4b562eaaa7722037fef86ed/paddlex-2.1.0-py3-none-any.whl (1.6 MB)
Collecting numpy
Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/22/a3/3a5469ebaca59100e50b4300dd011eed943f2aad7c6a80a07966b985e2c6/numpy-1.21.5-cp37-cp37m-win_amd64.whl (14.0 MB)
Collecting lap
Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz (1.5 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py'"'"'; file='"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\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\JS-YFB\AppData\Local\Temp\pip-pip-egg-info-qedj8lou'
cwd: C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0
Complete output (12 lines):
Partial import of lap during the build process.
Traceback (most recent call last):
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py", line 127, in get_numpy_status
import numpy
ModuleNotFoundError: No module named 'numpy'
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py", line 236, in
setup_package()
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py", line 220, in setup_package
raise ImportError('lap requires numpy, '
ImportError: lap requires numpy, please "pip install numpy".

WARNING: Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz#sha256=c4dad9976f0e9f276d8a676a6d03632c3cb7ab7c80142e3b27303d49f0ed0e3b (from https://mirrors.bfsu.edu.cn/pypi/web/simple/lap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/17/d179f806407e1ccbce2c4ad5a265851c1c8d78f5b6ec5e1d1d6101135086/lap-0.3.0.tar.gz (1.5 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py'"'"'; file='"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\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\JS-YFB\AppData\Local\Temp\pip-pip-egg-info-1czef7ol'
cwd: C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa
Complete output (12 lines):
Partial import of lap during the build process.
Traceback (most recent call last):
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py", line 127, in get_numpy_status
import numpy
ModuleNotFoundError: No module named 'numpy'
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py", line 235, in
setup_package()
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py", line 219, in setup_package
raise ImportError('lap requires numpy, '
ImportError: lap requires numpy, please "pip install numpy".

WARNING: Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/17/d179f806407e1ccbce2c4ad5a265851c1c8d78f5b6ec5e1d1d6101135086/lap-0.3.0.tar.gz#sha256=f0464186e7f4a29073e3d960e0fe9d0eaed4515ebf936e6d48662c5e76906799 (from https://mirrors.bfsu.edu.cn/pypi/web/simple/lap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement lap (from paddlex) (from versions: 0.3.0, 0.4.0)
ERROR: No matching distribution found for lap

2022-01-07 22:08:24,728 INFO: 正在封装AutoRequirementsPackage-LocalInstallWhlOptOP
2022-01-07 22:08:24,730 INFO: 正在封装BatchInstallation-BatchInstallationOptOP
2022-01-07 22:08:24,731 INFO: 正在复制相关文件,可能会耗时较长
正在拷贝文件2:089/9 |████████████████████| 100.00% 2022-01-07 22:08:24,884 INFO:
2022-01-07 22:08:24,885 INFO: 正在复制相关文件,可能会耗时较长
正在拷贝文件2:087/7 |████████████████████| 100.00% 2022-01-07 22:08:24,892 INFO:
正在拷贝文件2:084858/4858 |████████████████████| 100.00% 2022-01-07 22:08:39,792 INFO:
正在拷贝文件2:084/4 |████████████████████| 100.00% 2022-01-07 22:08:39,800 INFO:
2022-01-07 22:08:39,801 INFO: ----------WARNING SUMMARY
2022-01-07 22:08:39,801 INFO: ----------ERROR SUMMARY
2022-01-07 22:08:39,801 INFO: 0|在执行终端命令时检测到了失败,完整信息如下:
PS C:\Users\JS-YFB\Desktop\dabao_ceshi> cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe -m pip download -r C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Cache\requirements_dev.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple -d ./out\Release\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
Collecting paddlex==2.1.0
Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/ca/03/b401c6a34685aa698e7c2fbcfad029892cbfa4b562eaaa7722037fef86ed/paddlex-2.1.0-py3-none-any.whl (1.6 MB)
Collecting numpy
Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/22/a3/3a5469ebaca59100e50b4300dd011eed943f2aad7c6a80a07966b985e2c6/numpy-1.21.5-cp37-cp37m-win_amd64.whl (14.0 MB)
Collecting lap
Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz (1.5 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py'"'"'; file='"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\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\JS-YFB\AppData\Local\Temp\pip-pip-egg-info-qedj8lou'
cwd: C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0
Complete output (12 lines):
Partial import of lap during the build process.
Traceback (most recent call last):
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py", line 127, in get_numpy_status
import numpy
ModuleNotFoundError: No module named 'numpy'
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py", line 236, in
setup_package()
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_aa1a70396713412e9e3c105069f827f0\setup.py", line 220, in setup_package
raise ImportError('lap requires numpy, '
ImportError: lap requires numpy, please "pip install numpy".

WARNING: Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz#sha256=c4dad9976f0e9f276d8a676a6d03632c3cb7ab7c80142e3b27303d49f0ed0e3b (from https://mirrors.bfsu.edu.cn/pypi/web/simple/lap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/17/d179f806407e1ccbce2c4ad5a265851c1c8d78f5b6ec5e1d1d6101135086/lap-0.3.0.tar.gz (1.5 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Release\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py'"'"'; file='"'"'C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\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\JS-YFB\AppData\Local\Temp\pip-pip-egg-info-1czef7ol'
cwd: C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa
Complete output (12 lines):
Partial import of lap during the build process.
Traceback (most recent call last):
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py", line 127, in get_numpy_status
import numpy
ModuleNotFoundError: No module named 'numpy'
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py", line 235, in
setup_package()
File "C:\Users\JS-YFB\AppData\Local\Temp\pip-download-lzzhv8wc\lap_ebb7ab1deec24ccea35c22527bb14daa\setup.py", line 219, in setup_package
raise ImportError('lap requires numpy, '
ImportError: lap requires numpy, please "pip install numpy".

WARNING: Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/0b/17/d179f806407e1ccbce2c4ad5a265851c1c8d78f5b6ec5e1d1d6101135086/lap-0.3.0.tar.gz#sha256=f0464186e7f4a29073e3d960e0fe9d0eaed4515ebf936e6d48662c5e76906799 (from https://mirrors.bfsu.edu.cn/pypi/web/simple/lap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement lap (from paddlex) (from versions: 0.3.0, 0.4.0)
ERROR: No matching distribution found for lap

2022-01-07 22:08:39,802 INFO: ----------生成状态WARNING:0 ERROR:1
2022-01-07 22:08:39,802 WARNING: SUMMARY结束,发现上述异常情况,请确认后按任意键继续!

---------------------***********************----------------------------------------------------------------------------------------------------***运行打包程序结果begin

C:\Users\JS-YFB\Desktop\dabao_ceshi\out\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-01-07 22:18:01,439 DEBUG: 操作系统类型:Windows
2022-01-07 22:18:01,439 DEBUG: 操作系统位数:AMD64
2022-01-07 22:18:01,440 DEBUG: Python所识别到的环境变量如下:
PATH:C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages
PATH:C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib
PATH:C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\ext
PATH:C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python
PATH:C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Scripts
PATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin
PATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\libnvvp
PATH:C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
PATH:C:\Program Files\NVIDIA Corporation\Nsight Compute 2020.3.0
PATH:C:\Program Files\NVIDIA Corporation\NVSMI
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)\Windows Kits\8.1\Windows Performance Toolkit
PATH:C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
PATH:C:\Users\JS-YFB\AppData\Local\Microsoft\WindowsApps
PATH:D:\Users\JS-YFB\AppData\Local\Programs\Microsoft VS Code\bin
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:C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/CUDA
PATH:
PYTHONPATH:C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages
PYTHONPATH:C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug
PYTHONPATH:C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python

2022-01-07 22:18:03,475 INFO: QPT Runtime版本号为1.0b2.dev7,若无法使用该程序,可向程序发布者或GitHub: QPT-Family/QPT提 交issue寻求帮助
2022-01-07 22:18:03,478 INFO:
如在本信息之后停留时间较长,请升级Windows Powershell至版本5即可解决该问题,下载地址:
官方地址:https://www.microsoft.com/en-us/download/details.aspx?id=54616
团子云镜像:https://s.dango.cloud/s/GVbhB 下载码:zAkjpradJA2eHiC
2022-01-07 22:18:03,479 DEBUG: SHELL: chcp 65001
2022-01-07 22:18:03,537 DEBUG: Windows PowerShell
2022-01-07 22:18:03,538 DEBUG: Copyright (C) Microsoft Corporation. All rights reserved.
2022-01-07 22:18:03,538 DEBUG: Try the new cross-platform PowerShell https://aka.ms/pscore6
2022-01-07 22:18:03,734 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-01-07 22:18:03,747 DEBUG: Active code page: 65001
2022-01-07 22:18:03,749 DEBUG: 终端命令执行成功!
2022-01-07 22:18:03,749 INFO: 检测结束,当前Powershell满足使用需求。
2022-01-07 22:18:03,749 DEBUG: 正在连接PIPTerminal
2022-01-07 22:18:03,978 DEBUG: 已设置PIP跨版本编译模式,目标解释器路径为:C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\python.exe
2022-01-07 22:18:03,983 INFO:
如在本信息之后停留时间较长,请升级Windows Powershell至版本5即可解决该问题,下载地址:
官方地址:https://www.microsoft.com/en-us/download/details.aspx?id=54616
团子云镜像:https://s.dango.cloud/s/GVbhB 下载码:zAkjpradJA2eHiC
2022-01-07 22:18:03,983 DEBUG: SHELL: chcp 65001
2022-01-07 22:18:04,039 DEBUG: Windows PowerShell
2022-01-07 22:18:04,039 DEBUG: Copyright (C) Microsoft Corporation. All rights reserved.
2022-01-07 22:18:04,040 DEBUG: Try the new cross-platform PowerShell https://aka.ms/pscore6
2022-01-07 22:18:04,234 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-01-07 22:18:04,243 DEBUG: Active code page: 65001
2022-01-07 22:18:04,245 DEBUG: 终端命令执行成功!
2022-01-07 22:18:04,247 INFO: 检测结束,当前Powershell满足使用需求。
2022-01-07 22:18:04,247 DEBUG: 正在连接PTerminal
2022-01-07 22:18:04,251 INFO: 初次使用将会适应本地环境,可能需要几分钟时间,请耐心等待...
初始化进度 22:181/5 |████ | 20.00% AutoPythonEnv部署中...2022-01-07 22:18:04,255 DEBUG: 正在加载AutoPythonEnv-UnPackPythonEnvOptOP
初始化进度 22:182/5 |████████ | 40.00% QPTDependencyPackage部署中...2022-01-07 22:18:04,259 DEBUG: 正在加载QPTDependencyPackage-LocalInstallWhlOptOP
2022-01-07 22:18:04,260 DEBUG: SHELL: cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\python.exe -m pip install -r C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Cache\FileSerialize.tmp -i https://mirrors.bfsu.edu.cn/pypi/web/simple -f C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/packages --no-index --target C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10
2022-01-07 22:18:04,262 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug> cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\python.exe -m pip install -r C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Cache\FileSerialize.tmp -i https://mirrors.bfsu.edu.cn/pypi/web/simple -f C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/packages --no-index --target C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-07 22:18:05,282 DEBUG: Looking in links: c:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/packages
2022-01-07 22:18:05,484 DEBUG: Processing c:\users\js-yfb\desktop\dabao_ceshi\out\debug\opt\packages\wheel-0.37.1-py2.py3-none-any.whl
2022-01-07 22:18:05,497 DEBUG: Collecting wget
2022-01-07 22:18:05,497 DEBUG: Using cached wget-3.2-py3-none-any.whl
2022-01-07 22:18:05,524 DEBUG: Installing collected packages: wheel, wget
2022-01-07 22:18:05,691 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-01-07 22:18:05,691 DEBUG: qpt 1.0b2.dev7 requires click, which is not installed.
2022-01-07 22:18:05,692 DEBUG: qpt 1.0b2.dev7 requires pefile, which is not installed.
2022-01-07 22:18:05,692 DEBUG: qpt 1.0b2.dev7 requires pillow, which is not installed.
2022-01-07 22:18:05,692 DEBUG: qpt 1.0b2.dev7 requires ttkbootstrap, which is not installed.
2022-01-07 22:18:05,692 DEBUG: Successfully installed wget-3.2 wheel-0.37.1
2022-01-07 22:18:05,694 DEBUG: WARNING: Target directory C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages\wheel already exists. Specify --upgrade to force replacement.
2022-01-07 22:18:05,695 DEBUG: WARNING: Target directory C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages_pycache_ already exists. Specify --upgrade to force replacement.
2022-01-07 22:18:05,695 DEBUG: WARNING: Target directory C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages\bin already exists. Specify --upgrade to force replacement.
2022-01-07 22:18:05,735 DEBUG: 终端命令执行成功!
初始化进度 22:183/5 |████████████ | 60.00% AutoRequirementsPackage部署中...2022-01-07 22:18:05,737 DEBUG: 正在加载AutoRequirementsPackage-LocalInstallWhlOptOP
2022-01-07 22:18:05,738 DEBUG: SHELL: cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\python.exe -m pip install -r C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Cache\FileSerialize.tmp -i https://mirrors.bfsu.edu.cn/pypi/web/simple -f C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/packages --no-index --target C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10
2022-01-07 22:18:05,740 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug> cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\python.exe -m pip install -r C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Cache\FileSerialize.tmp -i https://mirrors.bfsu.edu.cn/pypi/web/simple -f C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/packages --no-index --target C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
2022-01-07 22:18:06,150 DEBUG: Looking in links: c:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/packages
2022-01-07 22:18:06,288 DEBUG: ERROR: Could not find a version that satisfies the requirement paddlex==2.1.0 (from versions: none)
2022-01-07 22:18:06,288 DEBUG: ERROR: No matching distribution found for paddlex==2.1.0
2022-01-07 22:18:06,316 ERROR: 在执行终端命令时检测到了失败,完整信息如下:
PS C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug> cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\python.exe -m pip install -r C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Cache\FileSerialize.tmp -i https://mirrors.bfsu.edu.cn/pypi/web/simple -f C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/packages --no-index --target C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in links: c:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/packages
ERROR: Could not find a version that satisfies the requirement paddlex==2.1.0 (from versions: none)
ERROR: No matching distribution found for paddlex==2.1.0

初始化进度 22:184/5 |████████████████ | 80.00% BatchInstallation部署中...2022-01-07 22:18:06,317 DEBUG: 正在加载BatchInstallation-BatchInstallationOptOP
2022-01-07 22:18:06,351 INFO: 需要补充的安装包数量为:0
初始化进度 22:185/5 |████████████████████| 100.00% 初始化完毕2022-01-07 22:18:06,352 INFO:
2022-01-07 22:18:06,352 INFO: ----------WARNING SUMMARY
2022-01-07 22:18:06,352 INFO: ----------ERROR SUMMARY
2022-01-07 22:18:06,353 INFO: 0|在执行终端命令时检测到了失败,完整信息如下:
PS C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug> cd C: ;C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\python.exe -m pip install -r C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Cache\FileSerialize.tmp -i https://mirrors.bfsu.edu.cn/pypi/web/simple -f C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/packages --no-index --target C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages --isolated --disable-pip-version-check --cache-dir C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\pip_cache --timeout 10; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in links: c:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\opt/packages
ERROR: Could not find a version that satisfies the requirement paddlex==2.1.0 (from versions: none)
ERROR: No matching distribution found for paddlex==2.1.0

2022-01-07 22:18:06,354 INFO: ----------生成状态WARNING:0 ERROR:1
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages\qpt\run.py", line 25, in
module.run()
File "C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages\qpt\executor.py", line 473, in run
text="检测到安装中出现问题,若您为未成功运行过本程序,请点击 取消 \n"
File "C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages\qpt\kernel\qos.py", line 232, in warning_msg_box
win32api = QPT_MEMORY.get_win32api
File "C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages\qpt\memory.py", line 21, in render
out = func(self)
File "C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug\Python\Lib\site-packages\qpt\memory.py", line 78, in get_win32api
import win32api
ImportError: DLL load failed: 找不到指定的模块。

C:\Users\JS-YFB\Desktop\dabao_ceshi\out\Debug>pause
Press any key to continue . . .
------------------------------------------------------------------------**********************--------------END

其他

【PaddlePaddle Hackathon 2】105、视频标注格式转换模块

(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览

【任务说明】

  • 任务标题:视频标注格式转换模块

  • 技术标签:飞桨PaddlePaddle核心框架

  • 任务难度:简单

  • 详细描述: 在深度学习视频任务中,有时我们会为了更快的标注效率,选择形如MANet等半自动视频像素级标注模型进行标注工作。然而,为了保证模型推理效率等一系列原因,在最后任务选择时可能需要将像素级标注降维至更低的层次,就像使用实例分割的MS-COCO数据集一样,我们既可以将数据集转换为语义分割任务可用的格式,也可以转换为目标检测,甚至是分类任务的格式,在视频标注中同样有类似需求。开发者可考虑如何开发一个可将视频语义分割标注格式,转换为目标检测、分类等视频任务的数据集格式的视频标注格式转换模块,最后贡献至EIVideo半自动交互式视频标注工具的仓库中。

【提交流程】

直接PR至 https://github.com/QPT-Family/EIVideo 即可开启验收。

【提交内容】

  • 相关模块源代码、开发文档、Benchmark。

【合入标准】

  • 开发完成,并参与后续维护至正式版本发布。

【技术要求】

  • 了解基本计算机视觉的深度学习任务数据标注格式,例如分类、分割、目标检测。

【答疑交流】

  • 如果在开发中对于上述任务有任何问题,欢迎在本 ISSUE 下留言交流。
  • 对于开发中的共性问题,在活动过程中,会定期组织答疑,请大家关注官网&QQ群的通知,及时参与。

KeyError: '~illow'

打包时中断,出现这个错误

正在搜索依赖    26/25  |████████████████████| 104.00% 对应文件:./detection_FL12\utils\loggers\wandb\__init__.pyTraceback (most recent call last):
  File "F:\Anaconda\envs\tf2\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "F:\Anaconda\envs\tf2\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "F:\Anaconda\envs\tf2\Scripts\qpt.exe\__main__.py", line 7, in <module>
  File "F:\Anaconda\envs\tf2\lib\site-packages\click\core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "F:\Anaconda\envs\tf2\lib\site-packages\click\core.py", line 782, in main
    rv = self.invoke(ctx)
  File "F:\Anaconda\envs\tf2\lib\site-packages\click\core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "F:\Anaconda\envs\tf2\lib\site-packages\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "F:\Anaconda\envs\tf2\lib\site-packages\qpt\command.py", line 77, in cli
    icon=icon)
  File "F:\Anaconda\envs\tf2\lib\site-packages\qpt\executor.py", line 154, in __init__
    deploy_mode=deploy_mode)
  File "F:\Anaconda\envs\tf2\lib\site-packages\qpt\modules\auto_requirements.py", line 34, in __init__
    requirements = PIP.analyze_dependence(path, return_path=False)
  File "F:\Anaconda\envs\tf2\lib\site-packages\qpt\kernel\tools\qinterpreter.py", line 168, in analyze_dependence
    if dep[require_name]:
KeyError: '~illow'

报错CPU不支持AVX指令

2022-04-13 17:48:42,477 INFO: 1|为保证可以成功在NoAVX平台执行PaddlePaddle,即将忽略小版本号进行安装PaddlePaddle-NoAVX

2022-04-13 17:48:42,477 INFO: 2|当前CPU不支持AVX指令集,正在尝试在线下载noavx版本的PaddlePaddle

2022-04-13 17:48:42,477 INFO: ----------ERROR SUMMARY
2022-04-13 17:48:42,478 INFO: 3|在执行终端命令时检测到了失败,完整信息如下:
(base) PS D:\desktop\project\python\pyseg\EISeg\out\Debug> cd D: ;D:\desktop\project\python\pyseg\EISeg\out\Debug\Python\python.exe -m pip install paddlepaddle -f https://www.paddlepaddle.org.cn/whl/windows/mkl/noavx/stable.html --no-index --no-deps --force-reinstall --isolated --disable-pip-version-check --cache-dir C:\Users\QY\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
Looking in links: https://www.paddlepaddle.org.cn/whl/windows/mkl/noavx/stable.html
ERROR: Could not find a version that satisfies the requirement paddlepaddle (from versions: none)
ERROR: No matching distribution found for paddlepaddle

但是我的CPU是12代i5 12400,是支持AVX的呀

image

【PaddlePaddle Hackathon 2】104、MANet语义分割模型代码重构

(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览

【任务说明】

  • 任务标题:MANet语义分割模型代码重构

  • 技术标签:飞桨PaddlePaddle核心框架

  • 任务难度:中等

  • 详细描述: EIVideo是一款基于PaddleVideo的通用半自动交互式视频标注工具,当前的MANet模型相关的实现、推理代码效率一般,开发者可基于原有代码进行重构,实现替换Backbone、支持CPU环境模型推理、多轮推理三个基础功能,同时简化预测接口。

【提交流程】

直接PR至 https://github.com/QPT-Family/EIVideo 即可开启验收。

【提交内容】

  • 相关模块源代码、开发文档、Benchmark。

【合入标准】

  • 开发完成,并参与后续维护至正式版本发布。

【技术要求】

  • 熟悉PaddlePaddle基础API与模型复现细节。

【参考内容】

https://github.com/QPT-Family/EIVideo 中含有MANet实现情况。

【答疑交流】

  • 如果在开发中对于上述任务有任何问题,欢迎在本 ISSUE 下留言交流。
  • 对于开发中的共性问题,在活动过程中,会定期组织答疑,请大家关注官网&QQ群的通知,及时参与。

【可能的Bug】pip版本错误

1.0b1.dev8 当pip==21.3最新版本时,执行打包会会出现下面的错误,pip降至21.2.4,版本时就不报错了

Traceback (most recent call last):
  File "F:\Anaconda\envs\tf2\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "F:\Anaconda\envs\tf2\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "F:\Anaconda\envs\tf2\Scripts\qpt.exe\__main__.py", line 4, in <module>
  File "F:\Anaconda\envs\tf2\lib\site-packages\qpt\command.py", line 8, in <module>
    from qpt.executor import CreateExecutableModule
  File "F:\Anaconda\envs\tf2\lib\site-packages\qpt\executor.py", line 20, in <module>
    from qpt.modules.package import QPTDependencyPackage, QPTGUIDependencyPackage, \
  File "F:\Anaconda\envs\tf2\lib\site-packages\qpt\modules\package.py", line 12, in <module>
    from qpt.kernel.qcode import PythonPackages
  File "F:\Anaconda\envs\tf2\lib\site-packages\qpt\kernel\qcode.py", line 8, in <module>
    from pip._internal.utils.misc import get_installed_distributions
ImportError: cannot import name 'get_installed_distributions' from 'pip._internal.utils.misc' (F:\Anaconda\envs\tf2\lib\site-packages\pip\_internal\utils\misc.py)

【无法下载文件,请检查网络是否可以连接以下链接Bug】

简要描述Bug
脚本打包出现无法下载文件,但是根据提供的地址,网页是可以直接访问并下载的,

基本信息
QPT版本:
操作系统版本:win10-64位专业版
CPU型号: i7-11700k

复现步骤/报错截图
2022-01-07 16:52:34,537 DEBUG: 操作系统类型:Windows
2022-01-07 16:52:34,538 DEBUG: 操作系统位数:AMD64
D:\Users\JS-YFB\Anaconda3\envs\dabao-huanjing\lib\site-packages_distutils_hack_init_.py:36: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
2022-01-07 16:52:34,945 INFO:
如在本信息之后停留时间较长,请升级Windows Powershell至版本5即可解决该问题,下载地址:
官方地址:https://www.microsoft.com/en-us/download/details.aspx?id=54616
团子云镜像:https://s.dango.cloud/s/GVbhB 下载码:zAkjpradJA2eHiC
2022-01-07 16:52:34,946 DEBUG: SHELL: chcp 65001
2022-01-07 16:52:34,996 DEBUG: Windows PowerShell
2022-01-07 16:52:34,997 DEBUG: Copyright (C) Microsoft Corporation. All rights reserved.
2022-01-07 16:52:34,997 DEBUG: Try the new cross-platform PowerShell https://aka.ms/pscore6
2022-01-07 16:52:35,174 DEBUG: PS C:\Users\JS-YFB\Desktop\dabao_ceshi> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
2022-01-07 16:52:35,182 DEBUG: Active code page: 65001
2022-01-07 16:52:35,184 DEBUG: 终端命令执行成功!
2022-01-07 16:52:35,184 INFO: 检测结束,当前Powershell满足使用需求。
2022-01-07 16:52:35,185 DEBUG: 正在连接PIPTerminal
2022-01-07 16:52:35,219 DEBUG: 已设置PIP跨版本编译模式,目标解释器路径为:./out\Release\Python\python.exe
2022-01-07 16:52:35,220 INFO: 当前解释器版本为3.7.12,正在向QPT查询是否存在合适的Python镜像...
2022-01-07 16:52:35,220 INFO: 已在QPT中找到Python3.7Env-Win镜像
2022-01-07 16:52:35,221 INFO: [Auto]正在分析C:\Users\JS-YFB\Desktop\dabao_ceshi\dabao下的依赖情况...
1/1 |████████████████████| 100.00% 对应文件:./dabao\predict.py2022-01-07 16:52:35,807 INFO: 依赖分析完毕!
已在C:\Users\JS-YFB\Desktop\dabao_ceshi\dabao\requirements_with_opt.txt 中创建了依赖列表
Tips 1: 查看文件后可能需要关闭查看该文件的文本查看器,这样可以有效避免文件被占用
Tips 2: 请务必检查上方文件中所写入的依赖列表情况,因为自动分析并不能保证程序依赖均可以被检出
若在执行EXE时提示:ImportError: No module named xxx 报错信息,请在该依赖文件中加入xxx或取消xxx前的 # 符号

请在检查/修改依赖文件后在此处按下回车键继续...
请键入指令[回车键 - 一次不行可以试试按两次]:_
2022-01-07 16:52:38,524 INFO: ----------QPT执行使用了以下OP----------
2022-01-07 16:52:38,524 INFO: AutoPythonEnv执行优先级5.0 {'Pack': ['PackPythonEnvOpt'], 'Unpack': ['UnPackPythonEnvOpt']}
2022-01-07 16:52:38,524 INFO: QPTDependencyPackage执行优先级3.0 {'Pack': ['OnlineInstallWhlOpt', 'OnlineInstallWhlOpt', 'DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
2022-01-07 16:52:38,525 INFO: ----------程序执行使用了以下OP----------
2022-01-07 16:52:38,525 INFO: AutoRequirementsPackage优先级3.0 {'Pack': ['DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}2022-01-07 16:52:38,525 INFO: BatchInstallation优先级2.0 {'Pack': [], 'Unpack': ['BatchInstallationOpt']}
2022-01-07 16:52:38,525 INFO: ------------------------------------
2022-01-07 16:52:38,526 INFO: 正在加载AutoPythonEnv-PackPythonEnvOptOP
2022-01-07 16:52:38,527 INFO: 正在加载Python解释器原文件至C:\Users\JS-YFB\AppData\Local\Temp\QPT_Cache_V/1.0b2.dev7\Python\4613320337
2022-01-07 16:52:38,531 ERROR: 无法下载文件,请检查网络是否可以连接以下链接
https://bj.bcebos.com/v1/ai-studio-online/470b6a91063f425db72ddece0931bcc566950d67f3914339b40beea878461f3b?responseContentDisposition=attachment%3B%20filename%3DPython37.zip
若该文件由QPT提供,请升级QPT版本,若版本升级后仍未解决可在以下地址提交issue反馈该情况
https://github.com/GT-ZhangAcer/QPT/issues

image

我的建议

其他

【内部提出】ERROR: No matching distribution found for pycocotools

PaddleX 打包Debug问题
复制pycocotools覆盖也是一样

Processing e:\qpt\out\debug\opt\packages\pycocotools-2.0.4.tar.gz
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: 'E:\QPT\Out\Debug\Python\python.exe' 'C:\Users\MM\AppData\Local\Temp\pip-standalone-pip-qbiev5k2\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\MM\AppData\Local\Temp\pip-build-env-n3rqer_c\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links 'E:\QPT\Out\Debug\opt/packages' --prefer-binary -- 'cython>=0.27.3' oldest-supported-numpy 'setuptools>=43.0.0' wheel
       cwd: None
  Complete output (4 lines):
  Looking in links: e:\QPT\Out\Debug\opt/packages
  Processing e:\qpt\out\debug\opt\packages\cython-0.29.28-py2.py3-none-any.whl
  ERROR: Could not find a version that satisfies the requirement oldest-supported-numpy (from versions: none)
  ERROR: No matching distribution found for oldest-supported-numpy
  ----------------------------------------
WARNING: Discarding file:///E:/QPT/Out/Debug/opt/packages/pycocotools-2.0.4.tar.gz. Command errored out with exit status 1: 'E:\QPT\Out\Debug\Python\python.exe' 'C:\Users\MM\AppData\Local\Temp\pip-standalone-pip-qbiev5k2\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\MM\AppData\Local\Temp\pip-build-env-n3rqer_c\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links 'E:\QPT\Out\Debug\opt/packages' --prefer-binary -- 'cython>=0.27.3' oldest-supported-numpy 'setuptools>=43.0.0' wheel Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement pycocotools (from versions: 2.0.4)
ERROR: No matching distribution found for pycocotools



2022-04-10 20:15:20,469 INFO: 0|在执行终端命令时检测到了失败,完整信息如下:
PS E:\QPT\Out\Debug> cd E: ;E:\QPT\Out\Debug\Python\python.exe -m pip install E:\QPT\Out\Debug\opt/packages\pycocotools-2.0.4.tar.gz --no-index --no-deps -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\MM\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev7\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
Processing e:\qpt\out\debug\opt\packages\pycocotools-2.0.4.tar.gz
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: 'E:\QPT\Out\Debug\Python\python.exe' 'C:\Users\MM\AppData\Local\Temp\pip-standalone-pip-2k63uhgv\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\MM\AppData\Local\Temp\pip-build-env-nx_5ebrp\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --prefer-binary -- 'cython>=0.27.3' oldest-supported-numpy 'setuptools>=43.0.0' wheel
       cwd: None
  Complete output (2 lines):
  ERROR: Could not find a version that satisfies the requirement cython>=0.27.3 (from versions: none)
  ERROR: No matching distribution found for cython>=0.27.3
  ----------------------------------------
WARNING: Discarding file:///E:/QPT/Out/Debug/opt/packages/pycocotools-2.0.4.tar.gz. Command errored out with exit status 1: 'E:\QPT\Out\Debug\Python\python.exe' 'C:\Users\MM\AppData\Local\Temp\pip-standalone-pip-2k63uhgv\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\MM\AppData\Local\Temp\pip-build-env-nx_5ebrp\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --prefer-binary -- 'cython>=0.27.3' oldest-supported-numpy 'setuptools>=43.0.0' wheel Check the logs for full command output.
ERROR: Command errored out with exit status 1: 'E:\QPT\Out\Debug\Python\python.exe' 'C:\Users\MM\AppData\Local\Temp\pip-standalone-pip-2k63uhgv\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\MM\AppData\Local\Temp\pip-build-env-nx_5ebrp\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --prefer-binary -- 'cython>=0.27.3' oldest-supported-numpy 'setuptools>=43.0.0' wheel Check the logs for full command output.



2022-04-10 20:15:20,469 INFO: ----------生成状态WARNING:0 ERROR:2

打包paddledetection简单demo时报错

简要描述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.

外部开发者共建

(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览

【任务说明】

  • 任务标题:借助QPT Python打包工具,将更多飞桨模型开发套件封装为EXE格式

  • 技术标签:QPT、PaddlePaddle、Python、pip

  • 任务难度:中等

  • 详细描述: QPT是一款可以“模拟”开发环境的多功能封装工具,最短只需一行命令即可将普通的Python脚本打包成EXE可执行程序,并且支持CUDA的封装,对飞桨PaddlePaddle深度学习框架适配有所侧重。但由于部分Python第三方依赖包可能在旧的Windows平台上出现兼容性问题,从而导致封装后的EXE存在兼容隐患,开发者可基于QPT高阶开发文档,对PaddleOCR、PaddleDetection、PaddleSeg、PaddleX、PaddleGAN做进一步的测试与适配,尽可能保证在更多平台上的稳定性。尽管技术层面上该任务较为简单,甚至无需撰写相关代码,由于测试环节可能会较为漫长,故设置为高阶任务。

【提交内容】

  • 在QPT中新增飞桨开发套件的自动适配脚本 或 提供描述中的飞桨开发套件的EXE打包教程。

【合入标准】

  • 用户可根据QPT较为流畅的打包出PaddleOCR与PaddleX两大工具组件,或提供用户可流畅打包的飞桨开发套件的EXE打包教程。

【技术要求】

Python包管理基础、pip进阶使用能力、良好的Python工程能力。

【答疑交流】

  • 如果在开发中对于上述任务有任何问题,欢迎在本 ISSUE 下留言交流。
  • 对于开发中的共性问题,在活动过程中,会定期组织答疑,请大家关注官网&QQ群的通知,及时参与。

参考教程

https://aistudio.baidu.com/aistudio/projectdetail/3571518

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.