QPT-Family / QPT

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Report]Requirement指定子依赖版本号后,仍无法固定版本号

BigerPatax opened this issue · comments

QPT版本

1.0b3.dev10

操作系统版本

Windows 10

CPU型号

inter i3 10100

核心信息填写

复现步骤/报错截图

步骤描述

打包一个paddlepaddle程序,debug运行时报错
猜测可能时paddlepaddle版本的问题
protobuf 于 2022.05.26 发布了 4.21 版本,如果您环境中没有 protobuf 的话,默认安装 paddle 时会自动下载最高版本的protobuf 4.21,paddle能安装成功但是 import paddle 会报错,这是由于protobuf 4.21 为不兼容升级,目前 develop 版本的 paddle 已经修复了这个问题( see PaddlePaddle/Paddle#43009 ),但是发行版由于已经编包发布所以仍存在这个问题,飞桨会在下个版本2.3.1中解决。

解决办法:

手动降低 protobuf 为 3.x
pip install protobuf==3.20.1
但是打包时我设置了requirements_with_opt.txt的protobuf==3.20.0,依然报错

【如报错则必须提供】Requirements文件内容

# -------------Mainly depends on package analysis results--------------
shapely==1.8.2
uvicorn==0.17.6
opencv_python==4.6.0.66
pyclipper==1.3.0.post3
paddlepaddle==2.3.0
qpt==1.0b3.dev10
python_multipart==0.0.5
# ----------------------Ignored dependent packages---------------------
#wheel==0.37.1
orjson==3.7.2
fastapi==0.78.0
# ----------------------Ignored sub dependent packages---------------------

# -----Dependencies of uvicorn
#click>=7.0
#h11>=0.8
#asgiref>=3.4.0
# -----Dependencies of opencv_python
numpy>=1.17.3
# -----Dependencies of paddlepaddle
#opt_einsum==3.3.0
#astor
#decorator
#protobuf>=3.1.0
#paddle_bfloat==0.1.2
#requests>=2.20.0
#six
#numpy>=1.13
pillow
# -----Dependencies of qpt
#click
#pip>=22.1.1
#wget
#pefile
#pillow
# -----Dependencies of python_multipart
#six>=1.4.0

【如报错则必须提供】完整打包日志

  (ocr) PS E:\RD31\projects\P01_ConferenceAIO\src\client_win\master\ai_server>  e:; cd 'e:\RD31\projects\P01_ConferenceAIO\src\client_win\master\ai_server'; & 'D:\Anaconda3\envs\ocr\python.exe' 'c:\Users\Zhuxy\.vscode\extensions\ms-python.python-2022.8.0\pythonFiles\lib\python\debugpy\launcher' '1306' '--' 'e:\Python\pack.py' 
→[2022-06-17 17:30:18,792] [DEBUG] | 操作系统类型:Windows
→[2022-06-17 17:30:18,793] [DEBUG] | 操作系统位数:AMD64
D:\Anaconda3\envs\ocr\lib\site-packages\_distutils_hack\__init__.py:30: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
→[2022-06-17 17:30:19,616] [WARNING] | E:\Python\out\Release已存在,已清空该目录
→[2022-06-17 17:30:21,806] [WARNING] | E:\Python\out\Debug已存在,已清空该目录
→[2022-06-17 17:30:26,387] [DEBUG] | SHELL: chcp 65001
→[2022-06-17 17:30:26,577] [DEBUG] | Windows PowerShell
→[2022-06-17 17:30:26,577] [DEBUG] | Copyright (C) Microsoft Corporation. All rights reserved.
→[2022-06-17 17:30:26,577] [DEBUG] | Try the new cross-platform PowerShell https://aka.ms/pscore6
→[2022-06-17 17:30:28,820] [DEBUG] | Loading personal and system profiles took 1585ms.
→[2022-06-17 17:30:28,921] [DEBUG] | (base) PS E:\RD31\projects\P01_ConferenceAIO\src\client_win\master\ai_server> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $? 
→[2022-06-17 17:30:28,959] [DEBUG] | Active code page: 65001
→[2022-06-17 17:30:28,962] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:30:28,962] [DEBUG] | 正在连接PIPTerminal
→[2022-06-17 17:30:29,073] [DEBUG] | 已设置PIP跨版本编译模式,目标解释器路径为:E:/Python/out\Release\Python\python.exe
→[2022-06-17 17:30:29,078] [INFO] | 当前解释器版本为3.9.7,正在向QPT查询是否存在合适的Python镜像...
→[2022-06-17 17:30:29,078] [INFO] | 已在QPT中找到Python3.9Env-Win镜像
→[2022-06-17 17:30:29,080] [INFO] | [Auto]正在分析E:\Python\PackExeTest下的依赖情况...
正在搜索依赖 17:10/10  |━━━━━━━━━━━━━━━━━━━━| 100.00% 对应文件:E:/Python/PackExeTest\utility.py→[2022-06-17 17:30:30,262] [INFO] | | O] | 
→[2022-06-17 17:30:30,264] [INFO] | 依赖分析完毕!
已在E:\Python\PackExeTest\requirements_with_opt.txt 中创建了依赖列表
Tips 1: 查看文件后可能需要关闭查看该文件的文本查看器,这样可以有效避免文件被占用
Tips 2: 请务必检查上方文件中所写入的依赖列表情况,因为自动分析并不能保证程序依赖均可以被检出
        若在执行EXE时提示:ImportError: No module named xxx 报错信息,请在该依赖文件中加入xxx或取消xxx前的 # 符号
---------------------------------------------------------------------
请在检查/修改依赖文件后在此处按下回车键继续...
请键入指令[回车键 - 一次不行可以试试按两次]:_Y
→[2022-06-17 17:30:58,422] [INFO] | PaddlePaddlePackage中自动添加了名为PaddlePaddleCheckAVX的ExtModule
→[2022-06-17 17:30:58,424] [INFO] | AutoRequirementsPackage中自动添加了名为PaddlePaddlePackage的ExtModule
→[2022-06-17 17:30:58,424] [INFO] | ----------QPT执行使用了以下OP----------
→[2022-06-17 17:30:58,425] [INFO] | AutoPythonEnv执行优先级5.0  {'Pack': ['PackPythonEnvOpt'], 'Unpack': ['UnPackPythonEnvOpt']}
→[2022-06-17 17:30:58,425] [INFO] | QPTDependencyPackage执行优先级3.0   {'Pack': ['OnlineInstallWhlOpt', 'OnlineInstallWhlOpt', 'DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
→[2022-06-17 17:30:58,425] [INFO] | ----------程序执行使用了以下OP----------
→[2022-06-17 17:30:58,426] [INFO] | PaddlePaddlePackage优先级3.0        {'Pack': ['DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt', 'SetPaddleFamilyEnvValueOpt']}
→[2022-06-17 17:30:58,426] [INFO] | AutoRequirementsPackage优先级3.0    {'Pack': ['_FreezeRequirementsOpt', 'DownloadWhlOpt'], 'Unpack': ['LocalInstallWhlOpt']}
→[2022-06-17 17:30:58,426] [INFO] | CheckCompileCompatibility优先级1.5  {'Pack': ['CheckCompileCompatibilityOpt'], 'Unpack': []}
→[2022-06-17 17:30:58,427] [INFO] | PaddlePaddleCheckAVX优先级1.5       {'Pack': [], 'Unpack': ['CheckAVXOpt']}
→[2022-06-17 17:30:58,427] [INFO] | ------------------------------------
→[2022-06-17 17:30:58,427] [INFO] | 正在加载AutoPythonEnv-PackPythonEnvOptOP
→[2022-06-17 17:30:58,428] [INFO] | 正在加载Python解释器原文件至C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\Python\4726320339
正在拷贝文件 17:3199/3200  |━━━━━━━━━━━━━━━━━━━ | 99.97% →[2022-06-17 17:31:07,183] [INFO] | 正在封装AutoPythonEnv-UnPackPythonEnvOptOP
→[2022-06-17 17:31:07,184] [INFO] | 正在加载QPTDependencyPackage-OnlineInstallWhlOptOP
→[2022-06-17 17:31:07,185] [DEBUG] | SHELL: cd E: ;E:\Python\out\Release\Python\python.exe -m pip install qpt==1.0b3.dev10 --target E:\Python\out\Release\Python\Lib\site-packages --no-deps -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary
→[2022-06-17 17:31:07,186] [DEBUG] | (base) PS E:\RD31\projects\P01_ConferenceAIO\src\client_win\master\ai_server> cd E: ;E:\Python\out\Release\Python\python.exe -m pip install qpt==1.0b3.dev10 --target E:\Python\out\Release\Python\Lib\site-packages --no-deps -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 
10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
→[2022-06-17 17:31:09,903] [DEBUG] | Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
→[2022-06-17 17:31:10,143] [DEBUG] | Collecting qpt==1.0b3.dev10
→[2022-06-17 17:31:10,200] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/64/87/32819b38a106ca9192f9e021ce14aff7f8c3e69b8321ac82bcba96a24d9d/QPT-1.0b3.dev10-py3-none-any.whl (525 kB)
→[2022-06-17 17:31:10,214] [DEBUG] | Installing collected packages: qpt
→[2022-06-17 17:31:10,416] [DEBUG] | Successfully installed qpt-1.0b3.dev10
→[2022-06-17 17:31:10,686] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:31:10,687] [INFO] | 正在加载QPTDependencyPackage-OnlineInstallWhlOptOP
→[2022-06-17 17:31:10,689] [DEBUG] | SHELL: cd E: ;E:\Python\out\Release\Python\python.exe -m pip install -U -r D:\Anaconda3\envs\ocr\lib\site-packages\qpt\modules\kernel_dependency.txt --target E:\Python\out\Release\Python\Lib\site-packages -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary→[2022-06-17 17:31:10,691] [DEBUG] | (base) PS E:\RD31\projects\P01_ConferenceAIO\src\client_win\master\ai_server> cd E: ;E:\Python\out\Release\Python\python.exe -m pip install -U -r D:\Anaconda3\envs\ocr\lib\site-packages\qpt\modules\kernel_dependency.txt --target E:\Python\out\Release\Python\Lib\site-packages -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
→[2022-06-17 17:31:11,481] [DEBUG] | Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
→[2022-06-17 17:31:11,972] [DEBUG] | Collecting setuptools
→[2022-06-17 17:31:12,053] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/d0/12/412167a1f80290555c557a556fb1fc294a6e889924fcf2b2db3a789b11a4/setuptools-62.4.0-py3-none-any.whl (1.2 MB)
→[2022-06-17 17:31:12,408] [DEBUG] | Collecting wheel
→[2022-06-17 17:31:12,456] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl (35 kB)
→[2022-06-17 17:31:12,523] [DEBUG] | Collecting pywin32
→[2022-06-17 17:31:12,657] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/bc/ca/9311427c719f6902c30ac4a6b252a38632fa3fd0e7b360a526a0a3b1dae7/pywin32-304-cp39-cp39-win_amd64.whl (12.2 MB)
→[2022-06-17 17:31:12,817] [DEBUG] | Installing collected packages: wheel, setuptools, pywin32
→[2022-06-17 17:31:17,024] [DEBUG] | Successfully installed pywin32-304 setuptools-62.4.0 wheel-0.37.1
→[2022-06-17 17:31:20,464] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:31:20,465] [INFO] | 正在加载QPTDependencyPackage-DownloadWhlOptOP
→[2022-06-17 17:31:20,467] [DEBUG] | SHELL: cd E: ;E:\Python\out\Release\Python\python.exe -m pip download -r D:\Anaconda3\envs\ocr\lib\site-packages\qpt\modules\qpt_lazy_dependency.txt -d E:/Python/out\Release\opt/packages -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary
→[2022-06-17 17:31:20,470] [DEBUG] | (base) PS E:\RD31\projects\P01_ConferenceAIO\src\client_win\master\ai_server> cd E: ;E:\Python\out\Release\Python\python.exe -m pip download -r D:\Anaconda3\envs\ocr\lib\site-packages\qpt\modules\qpt_lazy_dependency.txt -d E:/Python/out\Release\opt/packages -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
→[2022-06-17 17:31:21,293] [DEBUG] | Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
→[2022-06-17 17:31:21,520] [DEBUG] | Collecting wget
→[2022-06-17 17:31:21,634] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip (10 kB)
→[2022-06-17 17:31:21,645] [DEBUG] |   Preparing metadata (setup.py): started
→[2022-06-17 17:31:22,775] [DEBUG] |   Preparing metadata (setup.py): finished with status 'done'
→[2022-06-17 17:31:22,783] [DEBUG] | Saved e:\python\out\release\opt\packages\wget-3.2.zip
→[2022-06-17 17:31:22,784] [DEBUG] | Successfully downloaded wget
→[2022-06-17 17:31:22,845] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:31:22,846] [INFO] | 正在封装QPTDependencyPackage-LocalInstallWhlOptOP
→[2022-06-17 17:31:22,861] [DEBUG] | SHELL: chcp 65001
→[2022-06-17 17:31:23,044] [DEBUG] | Windows PowerShell
→[2022-06-17 17:31:23,045] [DEBUG] | Copyright (C) Microsoft Corporation. All rights reserved.
→[2022-06-17 17:31:23,045] [DEBUG] | Try the new cross-platform PowerShell https://aka.ms/pscore6
→[2022-06-17 17:31:25,048] [DEBUG] | Loading personal and system profiles took 1408ms.
→[2022-06-17 17:31:25,140] [DEBUG] | (base) PS E:\RD31\projects\P01_ConferenceAIO\src\client_win\master\ai_server> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $? 
→[2022-06-17 17:31:25,169] [DEBUG] | Active code page: 65001
→[2022-06-17 17:31:25,171] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:31:25,171] [DEBUG] | 正在连接PTerminal
→[2022-06-17 17:31:25,172] [INFO] | 正在加载PaddlePaddlePackage-DownloadWhlOptOP
→[2022-06-17 17:31:25,174] [DEBUG] | SHELL: cd E: ;E:\Python\out\Release\Python\python.exe -m pip download paddlepaddle==2.3.0 -d E:/Python/out\Release\opt/packages -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary
→[2022-06-17 17:31:25,175] [DEBUG] | (base) PS E:\RD31\projects\P01_ConferenceAIO\src\client_win\master\ai_server> cd E: ;E:\Python\out\Release\Python\python.exe -m pip download paddlepaddle==2.3.0 -d E:/Python/out\Release\opt/packages -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
→[2022-06-17 17:31:25,939] [DEBUG] | Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
→[2022-06-17 17:31:26,177] [DEBUG] | Collecting paddlepaddle==2.3.0
→[2022-06-17 17:31:26,688] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/04/d7/99775df9ba0ec34c2711008423e60599a281efd6f042ebfa3477244fd31a/paddlepaddle-2.3.0-cp39-cp39-win_amd64.whl (64.2 MB)
→[2022-06-17 17:31:27,391] [DEBUG] | Collecting Pillow
→[2022-06-17 17:31:27,464] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/cc/d9/5d0c2a0146fe68781a1920fa2a68d81bc55de38bed50beb8bf2493e0c7c1/Pillow-9.1.1-cp39-cp39-win_amd64.whl (3.3 MB)
→[2022-06-17 17:31:27,544] [DEBUG] | Collecting six
→[2022-06-17 17:31:27,593] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)
→[2022-06-17 17:31:27,848] [DEBUG] | Collecting protobuf>=3.1.0
→[2022-06-17 17:31:27,902] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/d2/54/b22d7c991be15135ca91a0770b2f957b5f6afa4a878b2ee7b343c9a20047/protobuf-4.21.1-cp39-cp39-win_amd64.whl (524 kB)
→[2022-06-17 17:31:27,963] [DEBUG] | Collecting opt-einsum==3.3.0
→[2022-06-17 17:31:28,013] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/bc/19/404708a7e54ad2798907210462fd950c3442ea51acc8790f3da48d2bee8b/opt_einsum-3.3.0-py3-none-any.whl (65 kB)
→[2022-06-17 17:31:28,102] [DEBUG] | Collecting requests>=2.20.0
→[2022-06-17 17:31:28,152] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/41/5b/2209eba8133fc081d3ffff02e1f6376e3117e52bb16f674721a83e67e68e/requests-2.28.0-py3-none-any.whl (62 kB)
→[2022-06-17 17:31:28,548] [DEBUG] | Collecting numpy>=1.13
→[2022-06-17 17:31:28,698] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/99/2e/de8dcdbe1579b96f202685d8811d864291c374ea5fce13c63c70fdaf905d/numpy-1.22.4-cp39-cp39-win_amd64.whl (14.7 MB)
→[2022-06-17 17:31:28,863] [DEBUG] | Collecting paddle-bfloat==0.1.2
→[2022-06-17 17:31:28,913] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/96/07/35c8ce4d10affb8189a93a25e2803e68736805917d9c8d4e1acb23d1a367/paddle_bfloat-0.1.2-cp39-cp39-win_amd64.whl (39 kB)
→[2022-06-17 17:31:28,977] [DEBUG] | Collecting decorator
→[2022-06-17 17:31:29,026] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/d5/50/83c593b07763e1161326b3b8c6686f0f4b0f24d5526546bee538c89837d6/decorator-5.1.1-py3-none-any.whl (9.1 kB)
→[2022-06-17 17:31:29,084] [DEBUG] | Collecting astor
→[2022-06-17 17:31:29,138] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/c3/88/97eef84f48fa04fbd6750e62dcceafba6c63c81b7ac1420856c8dcc0a3f9/astor-0.8.1-py2.py3-none-any.whl (27 kB)
→[2022-06-17 17:31:29,244] [DEBUG] | Collecting urllib3<1.27,>=1.21.1
→[2022-06-17 17:31:29,295] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/ec/03/062e6444ce4baf1eac17a6a0ebfe36bb1ad05e1df0e20b110de59c278498/urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
→[2022-06-17 17:31:29,363] [DEBUG] | Collecting charset-normalizer~=2.0.0
→[2022-06-17 17:31:29,413] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
→[2022-06-17 17:31:29,482] [DEBUG] | Collecting certifi>=2017.4.17
→[2022-06-17 17:31:29,532] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/e9/06/d3d367b7af6305b16f0d28ae2aaeb86154fa91f144f036c2d5002a5a202b/certifi-2022.6.15-py3-none-any.whl (160 kB)
→[2022-06-17 17:31:29,593] [DEBUG] | Collecting idna<4,>=2.5
→[2022-06-17 17:31:29,641] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl (61 kB)
→[2022-06-17 17:31:29,734] [DEBUG] | Saved e:\python\out\release\opt\packages\paddlepaddle-2.3.0-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:29,737] [DEBUG] | Saved e:\python\out\release\opt\packages\opt_einsum-3.3.0-py3-none-any.whl
→[2022-06-17 17:31:29,739] [DEBUG] | Saved e:\python\out\release\opt\packages\paddle_bfloat-0.1.2-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:29,758] [DEBUG] | Saved e:\python\out\release\opt\packages\numpy-1.22.4-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:29,763] [DEBUG] | Saved e:\python\out\release\opt\packages\protobuf-4.21.1-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:29,766] [DEBUG] | Saved e:\python\out\release\opt\packages\requests-2.28.0-py3-none-any.whl
→[2022-06-17 17:31:29,769] [DEBUG] | Saved e:\python\out\release\opt\packages\astor-0.8.1-py2.py3-none-any.whl
→[2022-06-17 17:31:29,771] [DEBUG] | Saved e:\python\out\release\opt\packages\decorator-5.1.1-py3-none-any.whl
→[2022-06-17 17:31:29,777] [DEBUG] | Saved e:\python\out\release\opt\packages\pillow-9.1.1-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:29,781] [DEBUG] | Saved e:\python\out\release\opt\packages\six-1.16.0-py2.py3-none-any.whl
→[2022-06-17 17:31:29,783] [DEBUG] | Saved e:\python\out\release\opt\packages\certifi-2022.6.15-py3-none-any.whl
→[2022-06-17 17:31:29,786] [DEBUG] | Saved e:\python\out\release\opt\packages\charset_normalizer-2.0.12-py3-none-any.whl
→[2022-06-17 17:31:29,788] [DEBUG] | Saved e:\python\out\release\opt\packages\idna-3.3-py3-none-any.whl
→[2022-06-17 17:31:29,790] [DEBUG] | Saved e:\python\out\release\opt\packages\urllib3-1.26.9-py2.py3-none-any.whl
→[2022-06-17 17:31:29,791] [DEBUG] | Successfully downloaded paddlepaddle opt-einsum paddle-bfloat numpy protobuf requests astor decorator Pillow six certifi charset-normalizer idna urllib3
→[2022-06-17 17:31:29,902] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:31:29,903] [INFO] | 正在封装PaddlePaddlePackage-LocalInstallWhlOptOP
→[2022-06-17 17:31:29,904] [INFO] | 正在封装PaddlePaddlePackage-SetPaddleFamilyEnvValueOptOP
→[2022-06-17 17:31:29,906] [INFO] | 正在加载AutoRequirementsPackage-_FreezeRequirementsOptOP
→[2022-06-17 17:31:29,909] [INFO] | 正在加载AutoRequirementsPackage-DownloadWhlOptOP
→[2022-06-17 17:31:29,911] [DEBUG] | SHELL: cd E: ;E:\Python\out\Release\Python\python.exe -m pip download -r C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\Cache\requirements_dev.txt -d E:/Python/out\Release\opt/packages --no-deps -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary
→[2022-06-17 17:31:29,912] [DEBUG] | (base) PS E:\RD31\projects\P01_ConferenceAIO\src\client_win\master\ai_server> cd E: ;E:\Python\out\Release\Python\python.exe -m pip download -r C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\Cache\requirements_dev.txt -d E:/Python/out\Release\opt/packages --no-deps -i https://mirrors.bfsu.edu.cn/pypi/web/simple --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
→[2022-06-17 17:31:30,732] [DEBUG] | Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
→[2022-06-17 17:31:31,042] [DEBUG] | Collecting shapely==1.8.2
→[2022-06-17 17:31:31,098] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/35/0c/dbd7fbf21e38a6042419ac3d36acb3ecafd5b65e5849c3112aa692a82171/Shapely-1.8.2-cp39-cp39-win_amd64.whl (1.3 MB)
→[2022-06-17 17:31:31,248] [DEBUG] | Collecting uvicorn==0.17.6
→[2022-06-17 17:31:31,294] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/36/ab/c13847c53d0624ee5a2e19c9c8d19a8cea5f865b95d08b839fac375a9e83/uvicorn-0.17.6-py3-none-any.whl (53 kB)
→[2022-06-17 17:31:31,362] [DEBUG] | Collecting click==8.1.3
→[2022-06-17 17:31:31,410] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/c2/f1/df59e28c642d583f7dacffb1e0965d0e00b218e0186d7858ac5233dce840/click-8.1.3-py3-none-any.whl (96 kB)
→[2022-06-17 17:31:31,477] [DEBUG] | Collecting colorama==0.4.4
→[2022-06-17 17:31:31,523] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl (16 kB)
→[2022-06-17 17:31:31,576] [DEBUG] | Collecting h11==0.13.0
→[2022-06-17 17:31:31,624] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/19/d2/32a15a4955be1b8114a1c570999eefd31279c7f9aa2d2a43d492a79b53c5/h11-0.13.0-py3-none-any.whl (58 kB)
→[2022-06-17 17:31:31,694] [DEBUG] | Collecting asgiref==3.5.2
→[2022-06-17 17:31:31,742] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/af/6d/ea3a5c3027c3f14b0321cd4f7e594c776ebe64e4b927432ca6917512a4f7/asgiref-3.5.2-py3-none-any.whl (22 kB)
→[2022-06-17 17:31:31,954] [DEBUG] | Collecting opencv_python==4.6.0.66
→[2022-06-17 17:31:32,276] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/cf/09/b24c266cd61ddeed101b90c92a26f54d060b06f4a1b102eb891576d6e9e2/opencv_python-4.6.0.66-cp36-abi3-win_amd64.whl (35.6 
MB)
→[2022-06-17 17:31:32,828] [DEBUG] | Collecting numpy==1.22.4
→[2022-06-17 17:31:32,829] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\numpy-1.22.4-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:33,278] [DEBUG] | Collecting pyclipper==1.3.0.post3
→[2022-06-17 17:31:33,331] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/b7/35/0fb0508e21ef2a543dd9cd6d2ea9da29b5fc0ff974a585d18392182f50db/pyclipper-1.3.0.post3-cp39-cp39-win_amd64.whl (94 kB)→[2022-06-17 17:31:33,386] [DEBUG] | Collecting opt_einsum==3.3.0
→[2022-06-17 17:31:33,386] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\opt_einsum-3.3.0-py3-none-any.whl
→[2022-06-17 17:31:33,471] [DEBUG] | Collecting astor==0.8.1
→[2022-06-17 17:31:33,471] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\astor-0.8.1-py2.py3-none-any.whl
→[2022-06-17 17:31:33,535] [DEBUG] | Collecting decorator==5.1.1
→[2022-06-17 17:31:33,535] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\decorator-5.1.1-py3-none-any.whl
→[2022-06-17 17:31:33,804] [DEBUG] | Collecting protobuf==3.20.0
→[2022-06-17 17:31:33,867] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/07/96/a3cae1ce36af23dc0df53ce36ae4cd0be677d243dbd4f98b9b52f4c91a32/protobuf-3.20.0-cp39-cp39-win_amd64.whl (904 kB)
→[2022-06-17 17:31:33,955] [DEBUG] | Collecting paddle_bfloat==0.1.2
→[2022-06-17 17:31:33,956] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\paddle_bfloat-0.1.2-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:34,042] [DEBUG] | Collecting requests==2.28.0
→[2022-06-17 17:31:34,043] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\requests-2.28.0-py3-none-any.whl
→[2022-06-17 17:31:34,107] [DEBUG] | Collecting certifi==2022.6.15
→[2022-06-17 17:31:34,108] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\certifi-2022.6.15-py3-none-any.whl
→[2022-06-17 17:31:34,173] [DEBUG] | Collecting charset_normalizer==2.0.12
→[2022-06-17 17:31:34,173] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\charset_normalizer-2.0.12-py3-none-any.whl
→[2022-06-17 17:31:34,253] [DEBUG] | Collecting urllib3==1.26.9
→[2022-06-17 17:31:34,253] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\urllib3-1.26.9-py2.py3-none-any.whl
→[2022-06-17 17:31:34,311] [DEBUG] | Collecting idna==3.3
→[2022-06-17 17:31:34,312] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\idna-3.3-py3-none-any.whl
→[2022-06-17 17:31:34,373] [DEBUG] | Collecting six==1.16.0
→[2022-06-17 17:31:34,374] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\six-1.16.0-py2.py3-none-any.whl
→[2022-06-17 17:31:34,722] [DEBUG] | Collecting pillow
→[2022-06-17 17:31:34,722] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\Pillow-9.1.1-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:34,808] [DEBUG] | Collecting qpt==1.0b3.dev10
→[2022-06-17 17:31:34,860] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/64/87/32819b38a106ca9192f9e021ce14aff7f8c3e69b8321ac82bcba96a24d9d/QPT-1.0b3.dev10-py3-none-any.whl (525 kB)
→[2022-06-17 17:31:34,991] [DEBUG] | Collecting pip==22.1.2
→[2022-06-17 17:31:35,055] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/96/2f/caec18213f6a67852f6997fb0673ae08d2e93d1b81573edb93ba4ef06970/pip-22.1.2-py3-none-any.whl (2.1 MB)
→[2022-06-17 17:31:35,123] [DEBUG] | Collecting wget==3.2
→[2022-06-17 17:31:35,124] [DEBUG] |   File was already downloaded e:\python\out\release\opt\packages\wget-3.2.zip
→[2022-06-17 17:31:35,131] [DEBUG] |   Preparing metadata (setup.py): started
→[2022-06-17 17:31:36,156] [DEBUG] |   Preparing metadata (setup.py): finished with status 'done'
→[2022-06-17 17:31:36,206] [DEBUG] | Collecting pefile==2022.5.30
→[2022-06-17 17:31:36,253] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/48/30/4559d06bad5bb627733dac1ef28c34f5e35f1461247ba63e5f6366901277/pefile-2022.5.30.tar.gz (72 kB)
→[2022-06-17 17:31:36,289] [DEBUG] |   Preparing metadata (setup.py): started
→[2022-06-17 17:31:37,504] [DEBUG] |   Preparing metadata (setup.py): finished with status 'done'
→[2022-06-17 17:31:37,563] [DEBUG] | Collecting future==0.18.2
→[2022-06-17 17:31:37,618] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz (829 kB)
→[2022-06-17 17:31:38,105] [DEBUG] |   Preparing metadata (setup.py): started
→[2022-06-17 17:31:39,915] [DEBUG] |   Preparing metadata (setup.py): finished with status 'done'
→[2022-06-17 17:31:39,974] [DEBUG] | Collecting python_multipart==0.0.5
→[2022-06-17 17:31:40,024] [DEBUG] |   Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/46/40/a933ac570bf7aad12a298fc53458115cc74053474a72fbb8201d7dc06d3d/python-multipart-0.0.5.tar.gz (32 kB)
→[2022-06-17 17:31:40,109] [DEBUG] |   Preparing metadata (setup.py): started
→[2022-06-17 17:31:41,413] [DEBUG] |   Preparing metadata (setup.py): finished with status 'done'
→[2022-06-17 17:31:41,733] [DEBUG] | Collecting orjson==3.7.2
→[2022-06-17 17:31:41,796] [DEBUG] |   Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/3d/78/9919a7111876278e3c54d51508d1b64c09760d8806c13471a14db5e13ec4/orjson-3.7.2-cp39-none-win_amd64.whl (189 kB)
→[2022-06-17 17:31:41,974] [DEBUG] | Collecting fastapi==0.78.0
→[2022-06-17 17:31:42,017] [DEBUG] |   Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/61/0f/427f0af121b226e62237e430f5bf4485e0ae1565b3f5b782613b59f30abc/fastapi-0.78.0-py3-none-any.whl (54 kB)
→[2022-06-17 17:31:42,187] [DEBUG] | Collecting pydantic==1.9.1
→[2022-06-17 17:31:42,230] [DEBUG] |   Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/09/ca/44704f9ed827019f15ed17bd61be8217efe0d224609980c12b961bfcefdc/pydantic-1.9.1-cp39-cp39-win_amd64.whl (2.0 MB)
→[2022-06-17 17:31:42,496] [DEBUG] | Collecting typing_extensions==4.2.0
→[2022-06-17 17:31:42,538] [DEBUG] |   Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/75/e1/932e06004039dd670c9d5e1df0cd606bf46e29a28e65d5bb28e894ea29c9/typing_extensions-4.2.0-py3-none-any.whl (24 kB)
→[2022-06-17 17:31:42,623] [DEBUG] | Collecting starlette==0.19.1
→[2022-06-17 17:31:42,669] [DEBUG] |   Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/f1/9d/1fa96008b302dd3e398f89f3fc5afb19fb0b0f341fefa05c65b3a38d64cf/starlette-0.19.1-py3-none-any.whl (63 kB)
→[2022-06-17 17:31:42,746] [DEBUG] | Collecting anyio==3.6.1
→[2022-06-17 17:31:42,788] [DEBUG] |   Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/c3/22/4cba7e1b4f45ffbefd2ca817a6800ba1c671c26f288d7705f20289872012/anyio-3.6.1-py3-none-any.whl (80 kB)
→[2022-06-17 17:31:42,845] [DEBUG] | Collecting sniffio==1.2.0
→[2022-06-17 17:31:42,897] [DEBUG] |   Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/52/b0/7b2e028b63d092804b6794595871f936aafa5e9322dcaaad50ebf67445b3/sniffio-1.2.0-py3-none-any.whl (10 kB)
→[2022-06-17 17:31:43,001] [DEBUG] | Saved e:\python\out\release\opt\packages\shapely-1.8.2-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:43,003] [DEBUG] | Saved e:\python\out\release\opt\packages\uvicorn-0.17.6-py3-none-any.whl
→[2022-06-17 17:31:43,006] [DEBUG] | Saved e:\python\out\release\opt\packages\click-8.1.3-py3-none-any.whl
→[2022-06-17 17:31:43,008] [DEBUG] | Saved e:\python\out\release\opt\packages\colorama-0.4.4-py2.py3-none-any.whl
→[2022-06-17 17:31:43,010] [DEBUG] | Saved e:\python\out\release\opt\packages\h11-0.13.0-py3-none-any.whl
→[2022-06-17 17:31:43,014] [DEBUG] | Saved e:\python\out\release\opt\packages\asgiref-3.5.2-py3-none-any.whl
→[2022-06-17 17:31:43,049] [DEBUG] | Saved e:\python\out\release\opt\packages\opencv_python-4.6.0.66-cp36-abi3-win_amd64.whl
→[2022-06-17 17:31:43,052] [DEBUG] | Saved e:\python\out\release\opt\packages\pyclipper-1.3.0.post3-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:43,055] [DEBUG] | Saved e:\python\out\release\opt\packages\protobuf-3.20.0-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:43,060] [DEBUG] | Saved e:\python\out\release\opt\packages\qpt-1.0b3.dev10-py3-none-any.whl
→[2022-06-17 17:31:43,065] [DEBUG] | Saved e:\python\out\release\opt\packages\pip-22.1.2-py3-none-any.whl
→[2022-06-17 17:31:43,067] [DEBUG] | Saved e:\python\out\release\opt\packages\pefile-2022.5.30.tar.gz
→[2022-06-17 17:31:43,070] [DEBUG] | Saved e:\python\out\release\opt\packages\future-0.18.2.tar.gz
→[2022-06-17 17:31:43,072] [DEBUG] | Saved e:\python\out\release\opt\packages\python-multipart-0.0.5.tar.gz
→[2022-06-17 17:31:43,077] [DEBUG] | Saved e:\python\out\release\opt\packages\orjson-3.7.2-cp39-none-win_amd64.whl
→[2022-06-17 17:31:43,079] [DEBUG] | Saved e:\python\out\release\opt\packages\fastapi-0.78.0-py3-none-any.whl
→[2022-06-17 17:31:43,083] [DEBUG] | Saved e:\python\out\release\opt\packages\pydantic-1.9.1-cp39-cp39-win_amd64.whl
→[2022-06-17 17:31:43,087] [DEBUG] | Saved e:\python\out\release\opt\packages\typing_extensions-4.2.0-py3-none-any.whl
→[2022-06-17 17:31:43,092] [DEBUG] | Saved e:\python\out\release\opt\packages\starlette-0.19.1-py3-none-any.whl
→[2022-06-17 17:31:43,100] [DEBUG] | Saved e:\python\out\release\opt\packages\anyio-3.6.1-py3-none-any.whl
→[2022-06-17 17:31:43,104] [DEBUG] | Saved e:\python\out\release\opt\packages\sniffio-1.2.0-py3-none-any.whl
→[2022-06-17 17:31:43,104] [DEBUG] | Successfully downloaded shapely uvicorn click colorama h11 asgiref opencv-python numpy pyclipper opt-einsum astor decorator protobuf paddle-bfloat requests certifi charset-normalizer urllib3 idna six qpt pip wget pefile future python-multipart orjson fastapi pydantic typing-extensions starlette anyio sniffio pillow
→[2022-06-17 17:31:43,453] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:31:43,453] [INFO] | 正在封装AutoRequirementsPackage-LocalInstallWhlOptOP
→[2022-06-17 17:31:43,454] [INFO] | 正在加载CheckCompileCompatibility-CheckCompileCompatibilityOptOP
→[2022-06-17 17:31:43,457] [WARNING] | 
以下Python依赖,其官方并未提供二进制whl包,为保证在无编译环境下仍可正常运行,即将复制本地编译后文件至运行环境。
future, pefile, python_multipart
→[2022-06-17 17:31:44,017] [INFO] | 正在封装PaddlePaddleCheckAVX-CheckAVXOptOP
→[2022-06-17 17:31:44,018] [INFO] | 正在复制相关文件,可能会耗时较长
正在拷贝文件 17:44/45  |━━━━━━━━━━━━━━━━━━━ | 97.78% →[2022-06-17 17:31:44,324] [INFO] | 正在复制相关文件,可能会耗时较长
正在拷贝文件 17:4/5  |━━━━━━━━━━━━━━━━    | 80.00% →[2022-06-17 17:31:59,251] [INFO] | ----------WARNING SUMMARY59,244] [INFO] | 
→[2022-06-17 17:31:59,251] [INFO] | 0|E:\Python\out\Release已存在,已清空该目录
→[2022-06-17 17:31:59,252] [INFO] | 1|E:\Python\out\Debug已存在,已清空该目录
→[2022-06-17 17:31:59,252] [INFO] | 2|
以下Python依赖,其官方并未提供二进制whl包,为保证在无编译环境下仍可正常运行,即将复制本地编译后文件至运行环境。
future, pefile, python_multipart
→[2022-06-17 17:31:59,252] [INFO] | ----------ERROR SUMMARY  
→[2022-06-17 17:31:59,252] [INFO] | ----------生成状态WARNING:3 ERROR:0
→[2022-06-17 17:31:59,253] [INFO] |
制作完毕,保存位置为:E:\Python\out\Release,该目录下将会有以下文件夹
| ----------------------------------------------------------------------------- |
| Debug目录:   该目录下提供了Debug环境,可简单验证打包后程序是否可以正常执行。
| Release目录: 将该目录进行压缩,并发给您的用户,待您的用户打开该压缩包下的“启动程序.exe”后
|               即可启动您制作的程序
| ----------------------------------------------------------------------------- |

→[2022-06-17 17:31:59,254] [WARNING] | 
| ---------------------------------Warning!------------------------------------ |
| 请勿在本机打开Release目录下的“启动程序.exe”文件,原因如下:
| 1. 该程序会加载“一次性部署模块”,部署后该模块会消失,消失后可能无法在其他电脑上使用。
| 2. 该程序会解压缩当前环境,执行“启动程序.exe”后整个目录大小可能会增加1~5倍。(取决于压缩率)
| 3. 若需要测试打包后程序是否可以正常运行,请在Debug目录下进行测试。
| 4. 若特殊情况必须在Release目录下进行测试,请制作Release目录的备份,在他人需要时提供该备份
|    文件或重新打包,以避免因执行“启动程序.exe”后丢失“一次性部署模块”,从而无法被他人使用。
| ----------------------------------------------------------------------------- |

→[2022-06-17 17:31:59,255] [INFO] | 是否需要保留QPT在打包时产生的缓存文件?若不清空则可能会在下次使用QPT时复用缓存以提升打包速度
→[2022-06-17 17:31:59,255] [INFO] | [保留(Y)/清空(N)]:_Y

完整运行日志(如打包时已报错,此处可选)

  (QPT_VENV) (QPT_VENV) E:\Python\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');from qpt.run import module;module.run('""')"
→[2022-06-17 17:32:25,887] [DEBUG] | 操作系统类型:Windows
→[2022-06-17 17:32:25,887] [DEBUG] | 操作系统位数:AMD64
E:\Python\out\Debug\Python\Lib\site-packages\_distutils_hack\__init__.py:30: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
→[2022-06-17 17:32:25,895] [DEBUG] | Python所识别到的环境变量如下:
PATH:E:\Python\out\Debug\Python\Lib\site-packages
PATH:E:\Python\out\Debug\Python\Lib
PATH:E:\Python\out\Debug\Python\Lib\ext
PATH:E:\Python\out\Debug\Python
PATH:E:\Python\out\Debug\Python\Scripts
PATH:D:\VMware\VMware Workstation\bin\
PATH:C:\Program Files (x86)\Common Files\Oracle\Java\javapath
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\Microsoft SQL Server\130\Tools\Binn\
PATH:C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
PATH:C:\Program Files\Microsoft SQL Server\150\Tools\Binn\
PATH:C:\Program Files\TortoiseSVN\bin
PATH:C:\Program Files\Git\cmd
PATH:C:\Program Files\MySQL\MySQL Server 8.0\bin
PATH:D:\Microsoft Windows Performance Toolkit\
PATH:D:\mingw-w64\x86_64-8.1.0-win32-seh-rt_v6-rev0\mingw64\bin
PATH:D:\PuTTY\
PATH:F:\nginx-1.21.5
PATH:C:\Program Files\dotnet\
PATH:C:\Program Files\TortoiseGit\bin
PATH:C:\Users\Zhuxy\AppData\Local\Microsoft\WindowsApps
PATH:d:\Microsoft VS Code\bin
PATH:C:\Program Files\Bandizip\
PATH:C:\Users\Zhuxy\.dotnet\tools
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:E:\Python\out\Debug\opt/CUDA
PATH:
PYTHONPATH:E:\Python\out\Debug\Python\Lib\site-packages
PYTHONPATH:E:\Python\out\Debug
PYTHONPATH:E:\Python\out\Debug\Python

→[2022-06-17 17:32:27,162] [INFO] | QPT Runtime版本号为1.0b3.dev10,若无法使用该程序,可向程序发布者或GitHub: QPT-Family/QPT提交issue寻求帮助
→[2022-06-17 17:32:27,176] [DEBUG] | SHELL: chcp 65001
→[2022-06-17 17:32:27,753] [DEBUG] | Windows PowerShell
→[2022-06-17 17:32:27,753] [DEBUG] | Copyright (C) Microsoft Corporation. All rights reserved.
→[2022-06-17 17:32:27,754] [DEBUG] | Try the new cross-platform PowerShell https://aka.ms/pscore6
→[2022-06-17 17:32:30,744] [DEBUG] | Loading personal and system profiles took 2360ms.
→[2022-06-17 17:32:30,845] [DEBUG] | (base) PS E:\Python\out\Debug> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
→[2022-06-17 17:32:30,980] [DEBUG] | Active code page: 65001
→[2022-06-17 17:32:30,988] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:32:30,988] [DEBUG] | 正在连接PIPTerminal
→[2022-06-17 17:32:31,175] [DEBUG] | 已设置PIP跨版本编译模式,目标解释器路径为:E:\Python\out\Debug\Python\python.exe
→[2022-06-17 17:32:31,187] [DEBUG] | SHELL: chcp 65001
→[2022-06-17 17:32:31,705] [DEBUG] | Windows PowerShell
→[2022-06-17 17:32:31,705] [DEBUG] | Copyright (C) Microsoft Corporation. All rights reserved.
→[2022-06-17 17:32:31,707] [DEBUG] | Try the new cross-platform PowerShell https://aka.ms/pscore6
→[2022-06-17 17:32:34,820] [DEBUG] | Loading personal and system profiles took 2502ms.
→[2022-06-17 17:32:34,920] [DEBUG] | (base) PS E:\Python\out\Debug> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $?
→[2022-06-17 17:32:35,141] [DEBUG] | Active code page: 65001
→[2022-06-17 17:32:35,149] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:32:35,149] [DEBUG] | 正在连接PTerminal
→[2022-06-17 17:32:35,151] [INFO] | 初次使用将会适应本地环境,可能需要几分钟时间,请耐心等待...
初始化进度-17 171/7  |━━                  | 14.29% AutoPythonEnv部署中...→[2022-06-17 17:32:35,153] [DEBUG] | 正在加载AutoPythonEnv-UnPackPythonEnvOptOP
初始化进度-17 172/7  |━━━━━               | 28.57% QPTDependencyPackage部署中...→[2022-06-17 17:32:35,155] [DEBUG] | 正在加载QPTDependencyPackage-LocalInstallWhlOptOP
→[2022-06-17 17:32:35,158] [DEBUG] | SHELL: cd E: ;E:\Python\out\Debug\Python\python.exe -m pip install -r C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\Cache\FileSerialize.tmp --target E:\Python\out\Debug\Python\Lib\site-packages --no-index -f E:\Python\out\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary
→[2022-06-17 17:32:35,159] [DEBUG] | (base) PS E:\Python\out\Debug> cd E: ;E:\Python\out\Debug\Python\python.exe -m pip install -r C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\Cache\FileSerialize.tmp --target E:\Python\out\Debug\Python\Lib\site-packages --no-index -f E:\Python\out\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
→[2022-06-17 17:32:37,290] [DEBUG] | Looking in links: e:\Python\out\Debug\opt/packages
→[2022-06-17 17:32:37,575] [DEBUG] | Collecting wget
→[2022-06-17 17:32:37,575] [DEBUG] |   Using cached wget-3.2-py3-none-any.whl
→[2022-06-17 17:32:37,635] [DEBUG] | Installing collected packages: wget
→[2022-06-17 17:32:37,667] [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-06-17 17:32:37,667] [DEBUG] | qpt 1.0b3.dev10 requires click, which is not installed.
→[2022-06-17 17:32:37,668] [DEBUG] | qpt 1.0b3.dev10 requires pillow, which is not installed.
→[2022-06-17 17:32:37,668] [DEBUG] | qpt 1.0b3.dev10 requires pip>=22.1.1, but you have pip 21.3.1 which is incompatible.
→[2022-06-17 17:32:37,668] [DEBUG] | Successfully installed wget-3.2
→[2022-06-17 17:32:37,687] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\__pycache__ already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:32:37,754] [DEBUG] | 终端命令执行成功!
初始化进度-17 173/7  |━━━━━━━━            | 42.86% PaddlePaddlePackage部署中...→[2022-06-17 17:32:37,757] [DEBUG] | 正 在加载PaddlePaddlePackage-LocalInstallWhlOptOP
→[2022-06-17 17:32:37,758] [DEBUG] | SHELL: cd E: ;E:\Python\out\Debug\Python\python.exe -m pip install paddlepaddle==2.3.0 -U --upgrade-strategy eager --target E:\Python\out\Debug\Python\Lib\site-packages --no-index -f E:\Python\out\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary
→[2022-06-17 17:32:37,760] [DEBUG] | (base) PS E:\Python\out\Debug> cd E: ;E:\Python\out\Debug\Python\python.exe -m pip install paddlepaddle==2.3.0 -U --upgrade-strategy eager --target E:\Python\out\Debug\Python\Lib\site-packages --no-index -f E:\Python\out\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
→[2022-06-17 17:32:39,324] [DEBUG] | Looking in links: e:\Python\out\Debug\opt/packages
→[2022-06-17 17:32:39,619] [DEBUG] | Processing e:\python\out\debug\opt\packages\paddlepaddle-2.3.0-cp39-cp39-win_amd64.whl
→[2022-06-17 17:32:39,645] [DEBUG] | Processing e:\python\out\debug\opt\packages\astor-0.8.1-py2.py3-none-any.whl
→[2022-06-17 17:32:39,655] [DEBUG] | Processing e:\python\out\debug\opt\packages\pillow-9.1.1-cp39-cp39-win_amd64.whl
→[2022-06-17 17:32:39,666] [DEBUG] | Processing e:\python\out\debug\opt\packages\requests-2.28.0-py3-none-any.whl
→[2022-06-17 17:32:39,675] [DEBUG] | Processing e:\python\out\debug\opt\packages\opt_einsum-3.3.0-py3-none-any.whl
→[2022-06-17 17:32:39,686] [DEBUG] | Processing e:\python\out\debug\opt\packages\decorator-5.1.1-py3-none-any.whl
→[2022-06-17 17:32:39,696] [DEBUG] | Processing e:\python\out\debug\opt\packages\six-1.16.0-py2.py3-none-any.whl
→[2022-06-17 17:32:39,707] [DEBUG] | Processing e:\python\out\debug\opt\packages\numpy-1.22.4-cp39-cp39-win_amd64.whl
→[2022-06-17 17:32:39,722] [DEBUG] | Processing e:\python\out\debug\opt\packages\protobuf-4.21.1-cp39-cp39-win_amd64.whl
→[2022-06-17 17:32:39,733] [DEBUG] | Processing e:\python\out\debug\opt\packages\paddle_bfloat-0.1.2-cp39-cp39-win_amd64.whl
→[2022-06-17 17:32:39,755] [DEBUG] | Processing e:\python\out\debug\opt\packages\charset_normalizer-2.0.12-py3-none-any.whl
→[2022-06-17 17:32:39,765] [DEBUG] | Processing e:\python\out\debug\opt\packages\certifi-2022.6.15-py3-none-any.whl
→[2022-06-17 17:32:39,785] [DEBUG] | Processing e:\python\out\debug\opt\packages\urllib3-1.26.9-py2.py3-none-any.whl
→[2022-06-17 17:32:39,795] [DEBUG] | Processing e:\python\out\debug\opt\packages\idna-3.3-py3-none-any.whl
→[2022-06-17 17:32:39,952] [DEBUG] | Installing collected packages: urllib3, numpy, idna, charset-normalizer, certifi, six, requests, protobuf, Pillow, paddle-bfloat, opt-einsum, decorator, astor, paddlepaddle
→[2022-06-17 17:32:54,224] [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-06-17 17:32:54,224] [DEBUG] | qpt 1.0b3.dev10 requires click, which is not installed.
→[2022-06-17 17:32:54,225] [DEBUG] | qpt 1.0b3.dev10 requires pip>=22.1.1, but you have pip 21.3.1 which is incompatible.
→[2022-06-17 17:32:54,226] [DEBUG] | Successfully installed Pillow-9.1.1 astor-0.8.1 certifi-2022.6.15 charset-normalizer-2.0.12 decorator-5.1.1 idna-3.3 numpy-1.22.4 opt-einsum-3.3.0 paddle-bfloat-0.1.2 paddlepaddle-2.3.0 protobuf-4.21.1 requests-2.28.0 six-1.16.0 urllib3-1.26.9
→[2022-06-17 17:33:06,135] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:33:06,138] [DEBUG] | 正在加载PaddlePaddlePackage-SetPaddleFamilyEnvValueOptOP
初始化进度-17 174/7  |━━━━━━━━━━━         | 57.14% AutoRequirementsPackage部署中...→[2022-06-17 17:33:06,140] [DEBUG] | 正在加载AutoRequirementsPackage-LocalInstallWhlOptOP
→[2022-06-17 17:33:06,142] [DEBUG] | SHELL: cd E: ;E:\Python\out\Debug\Python\python.exe -m pip install -r E:\Python\out\Debug\opt\requirements_dev.txt --target E:\Python\out\Debug\Python\Lib\site-packages --no-index --no-deps -f E:\Python\out\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary
→[2022-06-17 17:33:06,143] [DEBUG] | (base) PS E:\Python\out\Debug> cd E: ;E:\Python\out\Debug\Python\python.exe -m pip install -r E:\Python\out\Debug\opt\requirements_dev.txt --target E:\Python\out\Debug\Python\Lib\site-packages --no-index --no-deps -f E:\Python\out\Debug\opt/packages --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
→[2022-06-17 17:33:07,632] [DEBUG] | Looking in links: e:\Python\out\Debug\opt/packages
→[2022-06-17 17:33:07,922] [DEBUG] | Processing e:\python\out\debug\opt\packages\shapely-1.8.2-cp39-cp39-win_amd64.whl
→[2022-06-17 17:33:07,934] [DEBUG] | Processing e:\python\out\debug\opt\packages\uvicorn-0.17.6-py3-none-any.whl
→[2022-06-17 17:33:07,944] [DEBUG] | Processing e:\python\out\debug\opt\packages\click-8.1.3-py3-none-any.whl
→[2022-06-17 17:33:07,954] [DEBUG] | Processing e:\python\out\debug\opt\packages\colorama-0.4.4-py2.py3-none-any.whl
→[2022-06-17 17:33:07,965] [DEBUG] | Processing e:\python\out\debug\opt\packages\h11-0.13.0-py3-none-any.whl
→[2022-06-17 17:33:07,976] [DEBUG] | Processing e:\python\out\debug\opt\packages\asgiref-3.5.2-py3-none-any.whl
→[2022-06-17 17:33:07,986] [DEBUG] | Processing e:\python\out\debug\opt\packages\opencv_python-4.6.0.66-cp36-abi3-win_amd64.whl
→[2022-06-17 17:33:07,997] [DEBUG] | Processing e:\python\out\debug\opt\packages\numpy-1.22.4-cp39-cp39-win_amd64.whl
→[2022-06-17 17:33:08,011] [DEBUG] | Processing e:\python\out\debug\opt\packages\pyclipper-1.3.0.post3-cp39-cp39-win_amd64.whl
→[2022-06-17 17:33:08,020] [DEBUG] | Processing e:\python\out\debug\opt\packages\opt_einsum-3.3.0-py3-none-any.whl
→[2022-06-17 17:33:08,030] [DEBUG] | Processing e:\python\out\debug\opt\packages\astor-0.8.1-py2.py3-none-any.whl
→[2022-06-17 17:33:08,039] [DEBUG] | Processing e:\python\out\debug\opt\packages\decorator-5.1.1-py3-none-any.whl
→[2022-06-17 17:33:08,049] [DEBUG] | Processing e:\python\out\debug\opt\packages\protobuf-3.20.0-cp39-cp39-win_amd64.whl
→[2022-06-17 17:33:08,058] [DEBUG] | Processing e:\python\out\debug\opt\packages\paddle_bfloat-0.1.2-cp39-cp39-win_amd64.whl
→[2022-06-17 17:33:08,066] [DEBUG] | Processing e:\python\out\debug\opt\packages\requests-2.28.0-py3-none-any.whl
→[2022-06-17 17:33:08,084] [DEBUG] | Processing e:\python\out\debug\opt\packages\certifi-2022.6.15-py3-none-any.whl
→[2022-06-17 17:33:08,094] [DEBUG] | Processing e:\python\out\debug\opt\packages\charset_normalizer-2.0.12-py3-none-any.whl
→[2022-06-17 17:33:08,103] [DEBUG] | Processing e:\python\out\debug\opt\packages\urllib3-1.26.9-py2.py3-none-any.whl
→[2022-06-17 17:33:08,113] [DEBUG] | Processing e:\python\out\debug\opt\packages\idna-3.3-py3-none-any.whl
→[2022-06-17 17:33:08,122] [DEBUG] | Processing e:\python\out\debug\opt\packages\six-1.16.0-py2.py3-none-any.whl
→[2022-06-17 17:33:08,130] [DEBUG] | Processing e:\python\out\debug\opt\packages\pillow-9.1.1-cp39-cp39-win_amd64.whl
→[2022-06-17 17:33:08,141] [DEBUG] | Processing e:\python\out\debug\opt\packages\qpt-1.0b3.dev10-py3-none-any.whl
→[2022-06-17 17:33:08,150] [DEBUG] | Processing e:\python\out\debug\opt\packages\pip-22.1.2-py3-none-any.whl
→[2022-06-17 17:33:08,162] [DEBUG] | Collecting wget==3.2
→[2022-06-17 17:33:08,162] [DEBUG] |   Using cached wget-3.2-py3-none-any.whl
→[2022-06-17 17:33:08,171] [DEBUG] | Processing e:\python\out\debug\opt\packages\orjson-3.7.2-cp39-none-win_amd64.whl
→[2022-06-17 17:33:08,181] [DEBUG] | Processing e:\python\out\debug\opt\packages\fastapi-0.78.0-py3-none-any.whl
→[2022-06-17 17:33:08,190] [DEBUG] | Processing e:\python\out\debug\opt\packages\pydantic-1.9.1-cp39-cp39-win_amd64.whl
→[2022-06-17 17:33:08,201] [DEBUG] | Processing e:\python\out\debug\opt\packages\typing_extensions-4.2.0-py3-none-any.whl
→[2022-06-17 17:33:08,210] [DEBUG] | Processing e:\python\out\debug\opt\packages\starlette-0.19.1-py3-none-any.whl
→[2022-06-17 17:33:08,219] [DEBUG] | Processing e:\python\out\debug\opt\packages\anyio-3.6.1-py3-none-any.whl
→[2022-06-17 17:33:08,229] [DEBUG] | Processing e:\python\out\debug\opt\packages\sniffio-1.2.0-py3-none-any.whl
→[2022-06-17 17:33:08,305] [DEBUG] | Installing collected packages: wget, uvicorn, urllib3, typing-extensions, starlette, sniffio, six, shapely, requests, qpt, pydantic, pyclipper, protobuf, pip, pillow, paddle-bfloat, orjson, opt-einsum, opencv-python, numpy, idna, h11, fastapi, decorator, colorama, click, charset-normalizer, certifi, astor, asgiref, anyio
→[2022-06-17 17:33:20,918] [DEBUG] | Successfully installed anyio-3.6.1 asgiref-3.5.2 astor-0.8.1 certifi-2022.6.15 charset-normalizer-2.0.12 click-8.1.3 colorama-0.4.4 decorator-5.1.1 fastapi-0.78.0 h11-0.13.0 idna-3.3 numpy-1.22.4 opencv-python-4.6.0.66 opt-einsum-3.3.0 orjson-3.7.2 paddle-bfloat-0.1.2 pillow-9.1.1 pip-22.1.2 protobuf-3.20.0 pyclipper-1.3.0.post3 pydantic-1.9.1 qpt-1.0b3.dev10 requests-2.28.0 shapely-1.8.2 six-1.16.0 sniffio-1.2.0 starlette-0.19.1 typing-extensions-4.2.0 urllib3-1.26.9 uvicorn-0.17.6 wget-3.2
→[2022-06-17 17:33:21,191] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\astor already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,191] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\astor-0.8.1.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,192] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\certifi already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,193] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\certifi-2022.6.15.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,193] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\charset_normalizer already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,193] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\charset_normalizer-2.0.12.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,567] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\decorator-5.1.1.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,568] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\decorator.py already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,778] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\google already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,907] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\idna already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,908] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\idna-3.3.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,909] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\numpy already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,909] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\numpy-1.22.4.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,931] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\opt_einsum already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,933] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\opt_einsum-3.3.0.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,986] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\paddle_bfloat-0.1.2.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,986] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\paddle_bfloat.cp39-win_amd64.pyd already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,988] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\PIL already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,988] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\Pillow-9.1.1.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:21,989] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\pip already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:22,274] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\qpt already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:22,274] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\QPT-1.0b3.dev10.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:22,276] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\requests already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:22,276] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\requests-2.28.0.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:22,548] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\six-1.16.0.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:22,548] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\six.py already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:22,799] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\urllib3 already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:22,799] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\urllib3-1.26.9.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:23,038] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\wget-3.2.dist-info already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:23,038] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\wget.py already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:23,040] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\__pycache__ already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:23,041] [DEBUG] | WARNING: Target directory E:\Python\out\Debug\Python\Lib\site-packages\bin already exists. Specify --upgrade to force replacement.
→[2022-06-17 17:33:24,654] [DEBUG] | 终端命令执行成功!
初始化进度-17 175/7  |━━━━━━━━━━━━━━      | 71.43% PaddlePaddleCheckAVX部署中...→[2022-06-17 17:33:24,656] [DEBUG] | 正在加载PaddlePaddleCheckAVX-CheckAVXOptOP
→[2022-06-17 17:33:24,933] [WARNING] | Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
→[2022-06-17 17:33:24,941] [WARNING] | 为保证可以成功在NoAVX平台执行PaddlePaddle,即将忽略小版本号进行安装PaddlePaddle-NoAVX
→[2022-06-17 17:33:24,942] [WARNING] | 当前CPU不支持AVX指令集,正在尝试在线下载noavx版本的PaddlePaddle
→[2022-06-17 17:33:24,945] [DEBUG] | SHELL: cd E: ;E:\Python\out\Debug\Python\python.exe -m pip uninstall paddlepaddle -y --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary
→[2022-06-17 17:33:24,946] [DEBUG] | (base) PS E:\Python\out\Debug> cd E: ;E:\Python\out\Debug\Python\python.exe -m pip uninstall paddlepaddle -y --isolated --disable-pip-version-check --cache-dir C:\Users\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
→[2022-06-17 17:33:26,183] [DEBUG] | Usage:
→[2022-06-17 17:33:26,184] [DEBUG] |   E:\Python\out\Debug\Python\python.exe -m pip uninstall [options] <package> ...
→[2022-06-17 17:33:26,185] [DEBUG] |   E:\Python\out\Debug\Python\python.exe -m pip uninstall [options] -r <requirements file> ...
→[2022-06-17 17:33:26,185] [DEBUG] | no such option: --prefer-binary
→[2022-06-17 17:33:26,261] [DEBUG] | 终端命令执行成功!
→[2022-06-17 17:33:26,263] [DEBUG] | SHELL: cd E: ;E:\Python\out\Debug\Python\python.exe -m pip install paddlepaddle====2.3 -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\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary
→[2022-06-17 17:33:26,266] [DEBUG] | (base) PS E:\Python\out\Debug> cd E: ;E:\Python\out\Debug\Python\python.exe -m pip install paddlepaddle====2.3 -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\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\pip_cache --timeout 10 --prefer-binary; echo "---QPT OUTPUT STATUS CODE---" ;$?
→[2022-06-17 17:33:27,799] [DEBUG] | Looking in links: https://www.paddlepaddle.org.cn/whl/windows/mkl/noavx/stable.html
→[2022-06-17 17:33:28,122] [DEBUG] | ERROR: Could not find a version that satisfies the requirement paddlepaddle====2.3 (from versions: none)
→[2022-06-17 17:33:28,122] [DEBUG] | ERROR: No matching distribution found for paddlepaddle====2.3
→[2022-06-17 17:33:28,188] [ERROR] | 在执行终端命令时检测到了失败,完整信息如下:
(base) PS E:\Python\out\Debug> cd E: ;E:\Python\out\Debug\Python\python.exe -m pip install paddlepaddle====2.3 -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\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\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====2.3 (from versions: none)
ERROR: No matching distribution found for paddlepaddle====2.3

初始化进度-17 176/7  |━━━━━━━━━━━━━━━━━   | 85.71% 初始化完毕→[2022-06-17 17:33:28,189] [INFO] | ----------WARNING SUMMARY
→[2022-06-17 17:33:28,190] [INFO] | 0|Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates


→[2022-06-17 17:33:28,190] [INFO] | 1|为保证可以成功在NoAVX平台执行PaddlePaddle,即将忽略小版本号进行安装PaddlePaddle-NoAVX


→[2022-06-17 17:33:28,191] [INFO] | 2|当前CPU不支持AVX指令集,正在尝试在线下载noavx版本的PaddlePaddle


→[2022-06-17 17:33:28,191] [INFO] | ----------ERROR SUMMARY
→[2022-06-17 17:33:28,191] [INFO] | 3|在执行终端命令时检测到了失败,完整信息如下:
(base) PS E:\Python\out\Debug> cd E: ;E:\Python\out\Debug\Python\python.exe -m pip install paddlepaddle====2.3 -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\Zhuxy\AppData\Local\Temp\QPT_Cache_V/1.0b3.dev10\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====2.3 (from versions: none)
ERROR: No matching distribution found for paddlepaddle====2.3



→[2022-06-17 17:33:28,191] [INFO] | ----------生成状态WARNING:3 ERROR:1
→[2022-06-17 17:33:34,428] [DEBUG] | SHELL: cd "E:\Python\out\Debug\resources";./../Python/python.exe "E:\Python\out\Debug\resources\main.py"
(base) PS E:\Python\out\Debug> cd "E:\Python\out\Debug\resources";./../Python/python.exe "E:\Python\out\Debug\resources\main.py"  ; echo "---QPT OUTPUT STATUS CODE---" $?
Traceback (most recent call last):
  File "E:\Python\out\Debug\resources\main.py", line 33, in <module>
    import utility as utility
  File "E:\Python\out\Debug\resources\utility.py", line 21, in <module>
    import paddle
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\__init__.py", line 25, in <module>
    from .framework import monkey_patch_variable
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\framework\__init__.py", line 17, in <module>
    from . import random  # noqa: F401
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\framework\random.py", line 16, in <module>
    import paddle.fluid as fluid
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\fluid\__init__.py", line 36, in <module>
    from . import framework
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\fluid\framework.py", line 35, in <module>
    from .proto import framework_pb2
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\fluid\proto\framework_pb2.py", line 33, in <module>
    _descriptor.EnumValueDescriptor(
  File "E:\Python\out\Debug\Python\Lib\site-packages\google\protobuf\descriptor.py", line 755, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
→[2022-06-17 17:33:36,092] [ERROR] | 在执行终端命令时检测到了失败,完整信息如下:
(base) PS E:\Python\out\Debug> cd "E:\Python\out\Debug\resources";./../Python/python.exe "E:\Python\out\Debug\resources\main.py"  ; echo "---QPT OUTPUT STATUS CODE---" $?
Traceback (most recent call last):
  File "E:\Python\out\Debug\resources\main.py", line 33, in <module>
    import utility as utility
  File "E:\Python\out\Debug\resources\utility.py", line 21, in <module>
    import paddle
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\__init__.py", line 25, in <module>
    from .framework import monkey_patch_variable
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\framework\__init__.py", line 17, in <module>
    from . import random  # noqa: F401
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\framework\random.py", line 16, in <module>
    import paddle.fluid as fluid
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\fluid\__init__.py", line 36, in <module>
    from . import framework
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\fluid\framework.py", line 35, in <module>
    from .proto import framework_pb2
  File "E:\Python\out\Debug\Python\Lib\site-packages\paddle\fluid\proto\framework_pb2.py", line 33, in <module>
    _descriptor.EnumValueDescriptor(
  File "E:\Python\out\Debug\Python\Lib\site-packages\google\protobuf\descriptor.py", line 755, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates


(QPT_VENV) (QPT_VENV) E:\Python\out\Debug>pause
Press any key to continue . . .

其他信息

Requirement文件有优先级,如果paddlepaddle依赖了某个包,如果单独指定这个包是会被覆盖的,并不会按你所指定的那个版本安装。

QPT为了解决这个问题,做了个特殊指令,但目前还没有做单测,或许你可以试试这样写Requirement,如果不能解决,周末我也会单测+更新一下这个情况。

  1. 方式1 强制安装
protobuf==3.20.0 #$QPT_FLAG$force
  1. 方式2 提前安装,使安装时被pip自动忽略
protobuf==3.20.0 #$QPT_FLAG$copy

虽然这样做有点不是很舒服,但还是得和pip的规则做对齐,目前的维护工作量来看这样是会轻松一些,后期也会考虑换一些比较优雅的方式解决这类情况。

已解决,感谢大佬