qpt-family / qpt Goto Github PK
View Code? Open in Web Editor NEW[内测中]QPT - 致力于让开源项目更好通往互联网世界的Python to EXE工具(Python打包)。
License: GNU Lesser General Public License v2.1
[内测中]QPT - 致力于让开源项目更好通往互联网世界的Python to EXE工具(Python打包)。
License: GNU Lesser General Public License v2.1
在自己电脑运行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的依赖,如果开发者也不加的话,默认获取pip的版本用用好了
(此 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做进一步的测试与适配,尽可能保证在更多平台上的稳定性。尽管技术层面上该任务较为简单,甚至无需撰写相关代码,由于测试环节可能会较为漫长,故设置为高阶任务。
【提交内容】
【合入标准】
【技术要求】
Python包管理基础、pip进阶使用能力、良好的Python工程能力。
【答疑交流】
简要描述Bug
A clear and concise description of what the bug is.
基本信息
QPT版本:1.0b2.dev7
操作系统版本:Windows 11 家庭中文版 21H2
CPU型号: AMD Ryzen 5 4600H
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
'''
Author: CloudSir
@github: https://github.com/cloudsir
Date: 2022-02-07 11:14:17
LastEditTime: 2022-02-07 14:09:01
LastEditors: CloudSir
Description:
'''
from qpt.executor import CreateExecutableModule as CEM
from qpt.modules.base import HIGH_LEVEL
from qpt.modules.package import CustomPackage, LOCAL_INSTALL_DEPLOY_MODE
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.
类似找不到模块这类的,需要在程序那边也做个判断,捕获到未知异常就抛出FAQ列表,具体异常则来个具体issue
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: 版权所有(C) Microsoft 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: 版权所有(C) Microsoft 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
增加兼容模式以及exe执行时工作目录自动切换功能
向其他编程语言环境提供执行入口
cmd中加 cd /d %~dp0
首次运行生成的DEBUG.exe时,提示我缺少bce库导致生成失败
于是我想通过CopyWhl2Packages方式将这个库手动加入安装
但是qpt.modules.package代码似乎已经改动过了,没有这个模块了,文档也没有更新
希望能提供一下导入方式,并更新一下文档
(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览)
【任务说明】
任务标题:服务端模型管理模块
技术标签:Flask、飞桨PaddlePaddle核心框架
任务难度:简单
详细描述: 为更好节约低配服务器资源的显存占用,开发者可考虑设计出一套简单的推理队列用于面对较为频繁的客户端请求,动态决策模型显存释放情况。
【提交流程】
直接PR至 https://github.com/QPT-Family/EIVideo 即可开启验收。
【提交内容】
【合入标准】
【技术要求】
【答疑交流】
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
(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览)
【任务说明】
任务标题:MANet语义分割模型代码重构
技术标签:飞桨PaddlePaddle核心框架
任务难度:中等
详细描述: EIVideo是一款基于PaddleVideo的通用半自动交互式视频标注工具,当前的MANet模型相关的实现、推理代码效率一般,开发者可基于原有代码进行重构,实现替换Backbone、支持CPU环境模型推理、多轮推理三个基础功能,同时简化预测接口。
【提交流程】
直接PR至 https://github.com/QPT-Family/EIVideo 即可开启验收。
【提交内容】
【合入标准】
【技术要求】
【参考内容】
https://github.com/QPT-Family/EIVideo 中含有MANet实现情况。
【答疑交流】
打包时中断,出现这个错误
正在搜索依赖 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'
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
隐藏窗口打包,拷贝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: 找不到指定的模块
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的呀
这年头颜值就是正义,加个可选图标吧
简要描述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
复现步骤/报错截图
步骤描述:
完整打包日志: 必须
建议在此处粘贴完整日志
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
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结束,发现上述异常情况,请确认后按任意键继续!
建议在此处粘贴完整日志
我的建议
A clear and concise description of what you expected to happen.
记录一个ToDo
在打包/解包的安装时,往往会有中文路径引发的报错情况,可以考虑在分区内先做缓存,后指向最终的打包目录
简要描述Bug
脚本打包出现无法下载文件,但是根据提供的地址,网页是可以直接访问并下载的,
基本信息
QPT版本:
操作系统版本:win10-64位专业版
CPU型号: i7-11700k
请在检查/修改依赖文件后在此处按下回车键继续...
请键入指令[回车键 - 一次不行可以试试按两次]:_
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
我的建议
其他
隐藏窗口打包模式时,Release版本启动程序会闪退,但是使用兼容模式可以运行,但是会一直显示terminal,那跟显示窗口没什么区别了
(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览)
【任务说明】
任务标题:EIVideo前端功能建设
技术标签:Electron、JavaScript
任务难度:中等
详细描述: EIVideo是一款基于PaddleVideo的通用半自动交互式视频标注工具,其主要依赖于Electron完成桌面开发,开发者可向EIVideo中增加形如视频多标签标注的增强模块以丰富相关功能。
【提交流程】
直接PR至 https://github.com/QPT-Family/EIVideo 即可开启验收。
【提交内容】
【合入标准】
【技术要求】
【答疑交流】
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)
我在程序用到了多进程处理,然后用到了multiprocessing库,pyinstaller 打包时在主函数头部加multiprocessing.freeze_support()可以解决,用qpt打包的程序用这种方法还是不能解决,还是会无限循环
简要描述Bug
想确认一下qpt打包后是不是一定要包含py文件,打包完成后发现resources文件夹下有程序的py文件,而一旦删除文件,exe就无法执行了,提示缺少该文件
基本信息
QPT版本:1.0b3.dev7
请键入指令[回车键 - 一次不行可以试试按两次]:_
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] 远程主机强迫关闭了一个现有的连接。>
没想到兜兜转转最后选择了TK
简要描述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)
完整运行日志:(如打包时已报错,此处可选)
我的建议
A clear and concise description of what you expected to happen.
其他
Add any other context about the problem here.
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)
(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览)
【任务说明】
任务标题:视频标注格式转换模块
技术标签:飞桨PaddlePaddle核心框架
任务难度:简单
详细描述: 在深度学习视频任务中,有时我们会为了更快的标注效率,选择形如MANet等半自动视频像素级标注模型进行标注工作。然而,为了保证模型推理效率等一系列原因,在最后任务选择时可能需要将像素级标注降维至更低的层次,就像使用实例分割的MS-COCO数据集一样,我们既可以将数据集转换为语义分割任务可用的格式,也可以转换为目标检测,甚至是分类任务的格式,在视频标注中同样有类似需求。开发者可考虑如何开发一个可将视频语义分割标注格式,转换为目标检测、分类等视频任务的数据集格式的视频标注格式转换模块,最后贡献至EIVideo半自动交互式视频标注工具的仓库中。
【提交流程】
直接PR至 https://github.com/QPT-Family/EIVideo 即可开启验收。
【提交内容】
【合入标准】
【技术要求】
【答疑交流】
简要描述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
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
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
其他
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.