Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qpt对paddleOCR打包问题 #103

Open
tzcxbq opened this issue Mar 27, 2024 · 5 comments
Open

qpt对paddleOCR打包问题 #103

tzcxbq opened this issue Mar 27, 2024 · 5 comments
Assignees
Labels

Comments

@tzcxbq
Copy link

tzcxbq commented Mar 27, 2024

QPT版本

1.0b7

操作系统版本

Windows 11

核心信息填写

复现步骤/报错截图

image
image
image

步骤描述

在执行qpt2exe文件后,终端显示上述的错误

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

↓建议在此处粘贴完整Requirements(Python第三方依赖)列表信息↓  
  
altgraph @ file:///C:/b/abs_f2edualeyv/croot/altgraph_1670426107695/work
anyio==4.3.0
astor==0.8.1
attrdict==2.0.1
Babel==2.14.0
bce-python-sdk==0.9.5
beautifulsoup4==4.12.3
blinker==1.7.0
cachetools==5.3.3
certifi==2024.2.2
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
contourpy==1.2.0
cssselect==1.2.0
cssutils==2.9.0
cycler==0.12.1
Cython==3.0.9
decorator==5.1.1
et-xmlfile==1.1.0
exceptiongroup==1.2.0
fire==0.6.0
Flask==3.0.2
flask-babel==4.0.0
fonttools==4.50.0
future @ file:///C:/b/abs_3dcibf18zi/croot/future_1677599891380/work
h11==0.14.0
httpcore==1.0.4
httpx==0.27.0
idna==3.6
imageio==2.34.0
imgaug==0.4.0
importlib_metadata==7.1.0
importlib_resources==6.4.0
iopath==0.1.10
itsdangerous==2.1.2
Jinja2==3.1.3
kiwisolver==1.4.5
layoutparser @ https://paddleocr.bj.bcebos.com/whl/layoutparser-0.0.0-py3-none-any.whl#sha256=0e3026045cd88f791012cc8b52bbd9c1c3b14f161ec3c2855e52aff3a14167b8
lazy_loader==0.3
lmdb==1.4.1
lxml==5.1.0
MarkupSafe==2.1.5
matplotlib==3.8.3
networkx==3.2.1
numpy==1.26.4
opencv-contrib-python==4.6.0.66
opencv-python==4.6.0.66
opencv-python-headless==4.9.0.80
openpyxl==3.1.2
opt-einsum==3.3.0
packaging==24.0
paddleocr==2.7.2
paddlepaddle-gpu==2.6.0.post117
pandas==2.2.1
pdf2docx==0.5.8
pefile @ file:///C:/b/abs_feg_7trsni/croot/pefile_1670877329726/work
pillow==10.2.0
portalocker==2.8.2
premailer==3.10.0
protobuf==3.20.2
psutil==5.9.8
pyclipper==1.3.0.post5
pycryptodome==3.20.0
pyinstaller @ file:///C:/b/abs_b94gi_3vjm/croot/pyinstaller_1703109616045/work
pyinstaller-hooks-contrib @ file:///C:/b/abs_c2hemrb3nh/croot/pyinstaller-hooks-contrib_1670877320457/work
PyMuPDF==1.19.0
PyMuPDFb==1.24.0
pyparsing==3.1.2
PySide2==5.15.2.1
python-dateutil==2.9.0.post0
python-docx==1.1.0
pytz==2024.1
pywin32==305.1
pywin32-ctypes @ file:///C:/b/abs_2cfx5l4nvi/croot/pywin32-ctypes_1709340246092/work
PyYAML==6.0.1
QEnvPython39==3.9.13
QPT==1.0b7
QPT-SDK==1.0.1
QVCRedist==1.0.3
rapidfuzz==3.7.0
rarfile==4.1
requests==2.31.0
scikit-image==0.22.0
scipy==1.12.0
shapely==2.0.3
shiboken2==5.15.2.1
six==1.16.0
sniffio==1.3.1
soupsieve==2.5
termcolor==2.4.0
tifffile==2024.2.12
toml==0.10.2
tqdm==4.66.2
typing_extensions==4.10.0
tzdata==2024.1
urllib3==2.2.1
visualdl==2.5.3
Werkzeug==3.0.1
wget==3.2
zipp==3.18.1
  
↑建议在此处粘贴完整Requirements(Python第三方依赖)列表信息↑  

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

↓建议在此处粘贴完整日志↓  
 
→[2024-03-27 16:07:23,880] [WARNING] | PyMuPDF包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,881] [WARNING] | PyMuPDFb包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,887] [WARNING] | beautifulsoup4包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,888] [WARNING] | blinker包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,891] [WARNING] | colorama包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,892] [WARNING] | contourpy包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,895] [WARNING] | exceptiongroup包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,896] [WARNING] | Flask包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,897] [WARNING] | flask-babel包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,901] [WARNING] | httpcore包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,901] [WARNING] | httpx包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,902] [WARNING] | idna包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,907] [WARNING] | lazy_loader包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,911] [WARNING] | numpy包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,914] [WARNING] | packaging包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,917] [WARNING] | pandas包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,928] [WARNING] | pyparsing包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,934] [WARNING] | scikit-image包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,935] [WARNING] | scipy包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,939] [WARNING] | soupsieve包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,940] [WARNING] | termcolor包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,943] [WARNING] | typing_extensions包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,944] [WARNING] | urllib3包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,946] [WARNING] | Werkzeug包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,947] [WARNING] | wheel包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:07:23,948] [INFO] | 由于当前QPT仍在适配PaddleOCR,故此处需要确认是否打包CUDA(建议非原生CUDA的环境暂时不打包)
是否需要打包CUDA (Y/N):
n
→[2024-03-27 16:11:21,162] [DEBUG] |   Preparing metadata (setup.py): started
→[2024-03-27 16:11:21,325] [DEBUG] |   Preparing metadata (setup.py): finished with status 'error'
→[2024-03-27 16:11:21,328] [DEBUG] |   error: subprocess-exited-with-error
→[2024-03-27 16:11:21,328] [DEBUG] |   
→[2024-03-27 16:11:21,328] [DEBUG] |   × python setup.py egg_info did not run successfully.
→[2024-03-27 16:11:21,328] [DEBUG] |   │ exit code: 1
→[2024-03-27 16:11:21,328] [DEBUG] |   ╰─> [6 lines of output]
→[2024-03-27 16:11:21,328] [DEBUG] |       Traceback (most recent call last):
→[2024-03-27 16:11:21,328] [DEBUG] |         File "<string>", line 2, in <module>
→[2024-03-27 16:11:21,328] [DEBUG] |         File "<pip-setuptools-caller>", line 34, in <module>
→[2024-03-27 16:11:21,328] [DEBUG] |         File "C:\Users\taozhe\AppData\Local\Temp\pip-download-ty4ctl3_\future_e1aa22dc4e0b429a8d72610188d48747\setup.py", line 86, in <module>
→[2024-03-27 16:11:21,328] [DEBUG] |           import src.future
→[2024-03-27 16:11:21,328] [DEBUG] |       ModuleNotFoundError: No module named 'src'
→[2024-03-27 16:11:21,328] [DEBUG] |       [end of output]
→[2024-03-27 16:11:21,328] [DEBUG] |   
→[2024-03-27 16:11:21,328] [DEBUG] |   note: This error originates from a subprocess, and is likely not a problem with pip.
→[2024-03-27 16:11:21,329] [DEBUG] | error: metadata-generation-failed
→[2024-03-27 16:11:21,329] [DEBUG] | × Encountered error while generating package metadata.
→[2024-03-27 16:11:21,329] [DEBUG] | ╰─> See above for output.
→[2024-03-27 16:11:21,329] [DEBUG] | note: This is an issue with the package mentioned above, not pip.
→[2024-03-27 16:11:21,329] [DEBUG] | hint: See above for details.
→[2024-03-27 16:11:21,547] [ERROR] | 在执行终端命令时检测到了失败,完整信息如下:
PS E:\> cd E:\ ; E:\code\3-27\Release\Python\python.exe -m pip download -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt -d E:/code/3-27\Release\opt/packages --no-deps -i https://mirrors.aliyun.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\pip_cache --timeout 10 --prefer-binary ; echo "---QPT OUTPUT STATUS CODE---" $? 
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting shapely==2.0.3 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 3))
  Downloading https://mirrors.aliyun.com/pypi/packages/45/1c/bf88b078e6e148ecb4d8e334ab94e01df383ead09d17e6c60fb90b7bbc01/shapely-2.0.3-cp39-cp39-win_amd64.whl (1.4 MB)
     ---------------------------------------- 1.4/1.4 MB 618.2 kB/s eta 0:00:00
Collecting numpy==1.26.4 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 4))
  File was already downloaded e:\code\3-27\release\opt\packages\numpy-1.26.4-cp39-cp39-win_amd64.whl
Collecting scikit_image==0.22.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 5))
  Downloading https://mirrors.aliyun.com/pypi/packages/3d/97/a09a526eee08683922ca2e37c69742ffdcc879ee40bfe29d3e3d55e821c0/scikit_image-0.22.0-cp39-cp39-win_amd64.whl (24.5 MB)
     -------------------------------------- 24.5/24.5 MB 661.1 kB/s eta 0:00:00
Collecting scipy==1.12.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 6))
  Downloading https://mirrors.aliyun.com/pypi/packages/92/f6/eb15f6086c82e62d98ae9f8644c518003e34c03b2ac25683ea932bb30047/scipy-1.12.0-cp39-cp39-win_amd64.whl (46.2 MB)
     -------------------------------------- 46.2/46.2 MB 635.6 kB/s eta 0:00:00
Collecting networkx==3.2.1 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 7))
  Downloading https://mirrors.aliyun.com/pypi/packages/d5/f0/8fbc882ca80cf077f1b246c0e3c3465f7f415439bdea6b899f6b19f61f70/networkx-3.2.1-py3-none-any.whl (1.6 MB)
     ---------------------------------------- 1.6/1.6 MB 676.4 kB/s eta 0:00:00
Collecting pillow==10.2.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 8))
  File was already downloaded e:\code\3-27\release\opt\packages\pillow-10.2.0-cp39-cp39-win_amd64.whl
Collecting imageio==2.34.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 9))
  Downloading https://mirrors.aliyun.com/pypi/packages/02/25/66533a8390e3763cf8254dee143dbf8a830391ea60d2762512ba7f9ddfbe/imageio-2.34.0-py3-none-any.whl (313 kB)
     ------------------------------------ 313.4/313.4 kB 646.4 kB/s eta 0:00:00
Collecting tifffile==2024.2.12 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 10))
  Downloading https://mirrors.aliyun.com/pypi/packages/cd/0b/33610b4d0d1bb83a6bfd20ed838f52e02a44e9b439116cd4f3d424e81a80/tifffile-2024.2.12-py3-none-any.whl (224 kB)
     ------------------------------------ 224.5/224.5 kB 721.3 kB/s eta 0:00:00
Collecting packaging==24.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 11))
  Downloading https://mirrors.aliyun.com/pypi/packages/49/df/1fceb2f8900f8639e278b056416d49134fb8d84c5942ffaa01ad34782422/packaging-24.0-py3-none-any.whl (53 kB)
     -------------------------------------- 53.5/53.5 kB 686.5 kB/s eta 0:00:00
Collecting lazy_loader==0.3 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 12))
  Downloading https://mirrors.aliyun.com/pypi/packages/a1/c3/65b3814e155836acacf720e5be3b5757130346670ac454fee29d3eda1381/lazy_loader-0.3-py3-none-any.whl (9.1 kB)
Collecting imgaug==0.4.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 13))
  Downloading https://mirrors.aliyun.com/pypi/packages/66/b1/af3142c4a85cba6da9f4ebb5ff4e21e2616309552caca5e8acefe9840622/imgaug-0.4.0-py2.py3-none-any.whl (948 kB)
     ------------------------------------ 948.0/948.0 kB 697.8 kB/s eta 0:00:00
Collecting six==1.16.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 14))
  Downloading https://mirrors.aliyun.com/pypi/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting matplotlib==3.8.3 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 15))
  Downloading https://mirrors.aliyun.com/pypi/packages/f6/c5/e6f21834249045c2eb6f1bedb70711f2d085b4c0abc771d157623af9b576/matplotlib-3.8.3-cp39-cp39-win_amd64.whl (7.6 MB)
     ---------------------------------------- 7.6/7.6 MB 693.4 kB/s eta 0:00:00
Collecting contourpy==1.2.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 16))
  Downloading https://mirrors.aliyun.com/pypi/packages/ba/e5/05fdbe3a7570777464595ab1de9047adef7de99659cf969dbfe007e165cb/contourpy-1.2.0-cp39-cp39-win_amd64.whl (181 kB)
     ------------------------------------ 181.9/181.9 kB 783.7 kB/s eta 0:00:00
Collecting cycler==0.12.1 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 17))
  Downloading https://mirrors.aliyun.com/pypi/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting fonttools==4.50.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 18))
  Downloading https://mirrors.aliyun.com/pypi/packages/7a/77/9ee9591e6e26abfb0e42d50b4d01e59278adb51bb7d1072a98a35773bcd7/fonttools-4.50.0-cp39-cp39-win_amd64.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 662.4 kB/s eta 0:00:00
Collecting kiwisolver==1.4.5 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 19))
  Downloading https://mirrors.aliyun.com/pypi/packages/ca/c1/1f986c8119c0c57c2bd71d1941da23332c38ee2c90117e46dff4358b70f7/kiwisolver-1.4.5-cp39-cp39-win_amd64.whl (56 kB)
     -------------------------------------- 56.2/56.2 kB 589.2 kB/s eta 0:00:00
Collecting pyparsing==3.1.2 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 20))
  Downloading https://mirrors.aliyun.com/pypi/packages/9d/ea/6d76df31432a0e6fdf81681a895f009a4bb47b3c39036db3e1b528191d52/pyparsing-3.1.2-py3-none-any.whl (103 kB)
     ------------------------------------ 103.2/103.2 kB 596.2 kB/s eta 0:00:00
Collecting python_dateutil==2.9.0.post0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 21))
  Downloading https://mirrors.aliyun.com/pypi/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
     ------------------------------------ 229.9/229.9 kB 667.6 kB/s eta 0:00:00
Collecting importlib_resources==6.4.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 22))
  Downloading https://mirrors.aliyun.com/pypi/packages/75/06/4df55e1b7b112d183f65db9503bff189e97179b256e1ea450a3c365241e0/importlib_resources-6.4.0-py3-none-any.whl (38 kB)
Collecting zipp==3.18.1 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 23))
  Downloading https://mirrors.aliyun.com/pypi/packages/c2/0a/ba9d0ee9536d3ef73a3448e931776e658b36f128d344e175bc32b092a8bf/zipp-3.18.1-py3-none-any.whl (8.2 kB)
Collecting opencv_python==4.6.0.66 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 24))
  Downloading https://mirrors.aliyun.com/pypi/packages/cf/09/b24c266cd61ddeed101b90c92a26f54d060b06f4a1b102eb891576d6e9e2/opencv_python-4.6.0.66-cp36-abi3-win_amd64.whl (35.6 MB)
     -------------------------------------- 35.6/35.6 MB 611.9 kB/s eta 0:00:00
Collecting pyclipper==1.3.0.post5 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 25))
  Downloading https://mirrors.aliyun.com/pypi/packages/97/d7/78140d011dbe7887a8205222e0ddfc0fc60a2b6223202b4504de2ebda3e1/pyclipper-1.3.0.post5-cp39-cp39-win_amd64.whl (108 kB)
     ------------------------------------ 108.6/108.6 kB 630.6 kB/s eta 0:00:00
Collecting lmdb==1.4.1 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 26))
  Downloading https://mirrors.aliyun.com/pypi/packages/ff/59/6b14c0d05a5366a558dbde51339062d77aa9f9af132a478860609ba69943/lmdb-1.4.1-cp39-cp39-win_amd64.whl (105 kB)
     ------------------------------------ 105.9/105.9 kB 612.9 kB/s eta 0:00:00
Collecting tqdm==4.66.2 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 27))
  Downloading https://mirrors.aliyun.com/pypi/packages/2a/14/e75e52d521442e2fcc9f1df3c5e456aead034203d4797867980de558ab34/tqdm-4.66.2-py3-none-any.whl (78 kB)
     -------------------------------------- 78.3/78.3 kB 624.4 kB/s eta 0:00:00
Collecting colorama==0.4.6 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 28))
  Using cached https://mirrors.aliyun.com/pypi/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting visualdl==2.5.3 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 29))
  Downloading https://mirrors.aliyun.com/pypi/packages/ea/b5/37726c750a4f4598660998327c3566b2d2ed5a1a5f44e9f0dde875602447/visualdl-2.5.3-py3-none-any.whl (6.3 MB)
     ---------------------------------------- 6.3/6.3 MB 559.9 kB/s eta 0:00:00
Collecting bce_python_sdk==0.9.5 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 30))
  Downloading https://mirrors.aliyun.com/pypi/packages/3a/ec/b18d801e1e474a68cbd4a0aa3988b8454b7d0368f66dce97b8ea8bd8826d/bce_python_sdk-0.9.5-py3-none-any.whl (329 kB)
     ------------------------------------ 329.8/329.8 kB 475.6 kB/s eta 0:00:00
Collecting pycryptodome==3.20.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 31))
  Downloading https://mirrors.aliyun.com/pypi/packages/1f/90/d131c0eb643290230dfa4108b7c2d135122d88b714ad241d77beb4782a76/pycryptodome-3.20.0-cp35-abi3-win_amd64.whl (1.8 MB)
     ---------------------------------------- 1.8/1.8 MB 592.4 kB/s eta 0:00:00
Collecting future==0.18.3 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 32))
  Using cached https://mirrors.aliyun.com/pypi/packages/8f/2e/cf6accf7415237d6faeeebdc7832023c90e0282aa16fd3263db0eb4715ec/future-0.18.3.tar.gz (840 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\taozhe\AppData\Local\Temp\pip-download-ty4ctl3_\future_e1aa22dc4e0b429a8d72610188d48747\setup.py", line 86, in <module>
          import src.future
      ModuleNotFoundError: No module named 'src'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

→[2024-03-27 16:11:21,559] [INFO] | 正在封装AutoRequirementsPackage-LocalInstallWhlOptOP
→[2024-03-27 16:11:21,559] [INFO] | 正在加载AddPaddlePaddlePackage-DownloadWhlOptOP
→[2024-03-27 16:11:21,560] [DEBUG] | SHELL: E:\code\3-27\Release\Python\python.exe -m pip download paddleocr==2.7.2 -d E:/code/3-27\Release\opt/packages --no-deps -i https://mirrors.aliyun.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\pip_cache --timeout 10 --prefer-binary
→[2024-03-27 16:11:21,560] [DEBUG] | PS E:\> cd E:\ ; E:\code\3-27\Release\Python\python.exe -m pip download paddleocr==2.7.2 -d E:/code/3-27\Release\opt/packages --no-deps -i https://mirrors.aliyun.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\pip_cache --timeout 10 --prefer-binary ; echo "---QPT OUTPUT STATUS CODE---" $? 
→[2024-03-27 16:11:21,888] [DEBUG] | Looking in indexes: https://mirrors.aliyun.com/pypi/simple
→[2024-03-27 16:11:22,107] [DEBUG] | Collecting paddleocr==2.7.2
→[2024-03-27 16:11:22,109] [DEBUG] |   Using cached https://mirrors.aliyun.com/pypi/packages/f4/2a/50eeffd2786eef1add72a3fd0a33066c99d3b3837f87d51a336cff569020/paddleocr-2.7.2-py3-none-any.whl (780 kB)
→[2024-03-27 16:11:22,115] [DEBUG] | Saved e:\code\3-27\release\opt\packages\paddleocr-2.7.2-py3-none-any.whl
→[2024-03-27 16:11:22,122] [DEBUG] | Successfully downloaded paddleocr
→[2024-03-27 16:11:22,163] [DEBUG] | 终端命令执行成功!
→[2024-03-27 16:11:22,163] [INFO] | 正在封装AddPaddlePaddlePackage-LocalInstallWhlOptOP
→[2024-03-27 16:11:22,174] [INFO] | 正在加载CheckCompileCompatibility-CheckCompileCompatibilityOptOP
→[2024-03-27 16:11:22,175] [INFO] | 正在复制相关文件,可能会耗时较长
正在拷贝文件	59/60  |━━━━━━━━━━━━━━━━━━━ | 98.33% →[2024-03-27 16:11:22,231] [INFO] | 正在复制相关文件,可能会耗时较长
正在拷贝文件	2/3  |━━━━━━━━━━━━━       | 66.67% →[2024-03-27 16:11:24,926] [INFO] | ----------WARNING SUMMARY
→[2024-03-27 16:11:24,926] [INFO] | 0|QPT 1.0b5版本中有较大更新,且仅对Win10 1809以上版本进行验证,低于该版本的操作系统可能存在无法运行问题。
→[2024-03-27 16:11:24,926] [INFO] | 1|检测到.idea,推测出E:\code\ocr_project为.idea目录,在打包时会忽略该目录
→[2024-03-27 16:11:24,926] [INFO] | 2|PyMuPDF包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 3|PyMuPDFb包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 4|beautifulsoup4包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 5|blinker包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 6|colorama包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 7|contourpy包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 8|exceptiongroup包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 9|Flask包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 10|flask-babel包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 11|httpcore包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 12|httpx包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 13|idna包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 14|lazy_loader包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 15|numpy包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 16|packaging包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 17|pandas包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 18|pyparsing包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,926] [INFO] | 19|scikit-image包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,927] [INFO] | 20|scipy包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,927] [INFO] | 21|soupsieve包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,927] [INFO] | 22|termcolor包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,927] [INFO] | 23|typing_extensions包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,927] [INFO] | 24|urllib3包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 25|Werkzeug包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 26|wheel包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 27|PyMuPDF包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 28|PyMuPDFb包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 29|beautifulsoup4包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 30|blinker包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 31|colorama包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 32|contourpy包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 33|exceptiongroup包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 34|Flask包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 35|flask-babel包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 36|httpcore包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 37|httpx包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 38|idna包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 39|lazy_loader包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 40|numpy包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 41|packaging包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 42|pandas包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 43|pyparsing包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 44|scikit-image包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 45|scipy包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 46|soupsieve包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 47|termcolor包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 48|typing_extensions包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 49|urllib3包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 50|Werkzeug包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | 51|wheel包top_level.txt缺失,可能无法正常搜索到相关依赖
→[2024-03-27 16:11:24,934] [INFO] | ----------ERROR SUMMARY  
→[2024-03-27 16:11:24,934] [INFO] | 52|在执行终端命令时检测到了失败,完整信息如下:
PS E:\> cd E:\ ; E:\code\3-27\Release\Python\python.exe -m pip download -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt -d E:/code/3-27\Release\opt/packages --no-deps -i https://mirrors.aliyun.com/pypi/simple --isolated --disable-pip-version-check --cache-dir C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\pip_cache --timeout 10 --prefer-binary ; echo "---QPT OUTPUT STATUS CODE---" $? 
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting shapely==2.0.3 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 3))
  Downloading https://mirrors.aliyun.com/pypi/packages/45/1c/bf88b078e6e148ecb4d8e334ab94e01df383ead09d17e6c60fb90b7bbc01/shapely-2.0.3-cp39-cp39-win_amd64.whl (1.4 MB)
     ---------------------------------------- 1.4/1.4 MB 618.2 kB/s eta 0:00:00
Collecting numpy==1.26.4 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 4))
  File was already downloaded e:\code\3-27\release\opt\packages\numpy-1.26.4-cp39-cp39-win_amd64.whl
Collecting scikit_image==0.22.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 5))
  Downloading https://mirrors.aliyun.com/pypi/packages/3d/97/a09a526eee08683922ca2e37c69742ffdcc879ee40bfe29d3e3d55e821c0/scikit_image-0.22.0-cp39-cp39-win_amd64.whl (24.5 MB)
     -------------------------------------- 24.5/24.5 MB 661.1 kB/s eta 0:00:00
Collecting scipy==1.12.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 6))
  Downloading https://mirrors.aliyun.com/pypi/packages/92/f6/eb15f6086c82e62d98ae9f8644c518003e34c03b2ac25683ea932bb30047/scipy-1.12.0-cp39-cp39-win_amd64.whl (46.2 MB)
     -------------------------------------- 46.2/46.2 MB 635.6 kB/s eta 0:00:00
Collecting networkx==3.2.1 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 7))
  Downloading https://mirrors.aliyun.com/pypi/packages/d5/f0/8fbc882ca80cf077f1b246c0e3c3465f7f415439bdea6b899f6b19f61f70/networkx-3.2.1-py3-none-any.whl (1.6 MB)
     ---------------------------------------- 1.6/1.6 MB 676.4 kB/s eta 0:00:00
Collecting pillow==10.2.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 8))
  File was already downloaded e:\code\3-27\release\opt\packages\pillow-10.2.0-cp39-cp39-win_amd64.whl
Collecting imageio==2.34.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 9))
  Downloading https://mirrors.aliyun.com/pypi/packages/02/25/66533a8390e3763cf8254dee143dbf8a830391ea60d2762512ba7f9ddfbe/imageio-2.34.0-py3-none-any.whl (313 kB)
     ------------------------------------ 313.4/313.4 kB 646.4 kB/s eta 0:00:00
Collecting tifffile==2024.2.12 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 10))
  Downloading https://mirrors.aliyun.com/pypi/packages/cd/0b/33610b4d0d1bb83a6bfd20ed838f52e02a44e9b439116cd4f3d424e81a80/tifffile-2024.2.12-py3-none-any.whl (224 kB)
     ------------------------------------ 224.5/224.5 kB 721.3 kB/s eta 0:00:00
Collecting packaging==24.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 11))
  Downloading https://mirrors.aliyun.com/pypi/packages/49/df/1fceb2f8900f8639e278b056416d49134fb8d84c5942ffaa01ad34782422/packaging-24.0-py3-none-any.whl (53 kB)
     -------------------------------------- 53.5/53.5 kB 686.5 kB/s eta 0:00:00
Collecting lazy_loader==0.3 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 12))
  Downloading https://mirrors.aliyun.com/pypi/packages/a1/c3/65b3814e155836acacf720e5be3b5757130346670ac454fee29d3eda1381/lazy_loader-0.3-py3-none-any.whl (9.1 kB)
Collecting imgaug==0.4.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 13))
  Downloading https://mirrors.aliyun.com/pypi/packages/66/b1/af3142c4a85cba6da9f4ebb5ff4e21e2616309552caca5e8acefe9840622/imgaug-0.4.0-py2.py3-none-any.whl (948 kB)
     ------------------------------------ 948.0/948.0 kB 697.8 kB/s eta 0:00:00
Collecting six==1.16.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 14))
  Downloading https://mirrors.aliyun.com/pypi/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting matplotlib==3.8.3 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 15))
  Downloading https://mirrors.aliyun.com/pypi/packages/f6/c5/e6f21834249045c2eb6f1bedb70711f2d085b4c0abc771d157623af9b576/matplotlib-3.8.3-cp39-cp39-win_amd64.whl (7.6 MB)
     ---------------------------------------- 7.6/7.6 MB 693.4 kB/s eta 0:00:00
Collecting contourpy==1.2.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 16))
  Downloading https://mirrors.aliyun.com/pypi/packages/ba/e5/05fdbe3a7570777464595ab1de9047adef7de99659cf969dbfe007e165cb/contourpy-1.2.0-cp39-cp39-win_amd64.whl (181 kB)
     ------------------------------------ 181.9/181.9 kB 783.7 kB/s eta 0:00:00
Collecting cycler==0.12.1 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 17))
  Downloading https://mirrors.aliyun.com/pypi/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting fonttools==4.50.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 18))
  Downloading https://mirrors.aliyun.com/pypi/packages/7a/77/9ee9591e6e26abfb0e42d50b4d01e59278adb51bb7d1072a98a35773bcd7/fonttools-4.50.0-cp39-cp39-win_amd64.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 662.4 kB/s eta 0:00:00
Collecting kiwisolver==1.4.5 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 19))
  Downloading https://mirrors.aliyun.com/pypi/packages/ca/c1/1f986c8119c0c57c2bd71d1941da23332c38ee2c90117e46dff4358b70f7/kiwisolver-1.4.5-cp39-cp39-win_amd64.whl (56 kB)
     -------------------------------------- 56.2/56.2 kB 589.2 kB/s eta 0:00:00
Collecting pyparsing==3.1.2 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 20))
  Downloading https://mirrors.aliyun.com/pypi/packages/9d/ea/6d76df31432a0e6fdf81681a895f009a4bb47b3c39036db3e1b528191d52/pyparsing-3.1.2-py3-none-any.whl (103 kB)
     ------------------------------------ 103.2/103.2 kB 596.2 kB/s eta 0:00:00
Collecting python_dateutil==2.9.0.post0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 21))
  Downloading https://mirrors.aliyun.com/pypi/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
     ------------------------------------ 229.9/229.9 kB 667.6 kB/s eta 0:00:00
Collecting importlib_resources==6.4.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 22))
  Downloading https://mirrors.aliyun.com/pypi/packages/75/06/4df55e1b7b112d183f65db9503bff189e97179b256e1ea450a3c365241e0/importlib_resources-6.4.0-py3-none-any.whl (38 kB)
Collecting zipp==3.18.1 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 23))
  Downloading https://mirrors.aliyun.com/pypi/packages/c2/0a/ba9d0ee9536d3ef73a3448e931776e658b36f128d344e175bc32b092a8bf/zipp-3.18.1-py3-none-any.whl (8.2 kB)
Collecting opencv_python==4.6.0.66 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 24))
  Downloading https://mirrors.aliyun.com/pypi/packages/cf/09/b24c266cd61ddeed101b90c92a26f54d060b06f4a1b102eb891576d6e9e2/opencv_python-4.6.0.66-cp36-abi3-win_amd64.whl (35.6 MB)
     -------------------------------------- 35.6/35.6 MB 611.9 kB/s eta 0:00:00
Collecting pyclipper==1.3.0.post5 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 25))
  Downloading https://mirrors.aliyun.com/pypi/packages/97/d7/78140d011dbe7887a8205222e0ddfc0fc60a2b6223202b4504de2ebda3e1/pyclipper-1.3.0.post5-cp39-cp39-win_amd64.whl (108 kB)
     ------------------------------------ 108.6/108.6 kB 630.6 kB/s eta 0:00:00
Collecting lmdb==1.4.1 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 26))
  Downloading https://mirrors.aliyun.com/pypi/packages/ff/59/6b14c0d05a5366a558dbde51339062d77aa9f9af132a478860609ba69943/lmdb-1.4.1-cp39-cp39-win_amd64.whl (105 kB)
     ------------------------------------ 105.9/105.9 kB 612.9 kB/s eta 0:00:00
Collecting tqdm==4.66.2 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 27))
  Downloading https://mirrors.aliyun.com/pypi/packages/2a/14/e75e52d521442e2fcc9f1df3c5e456aead034203d4797867980de558ab34/tqdm-4.66.2-py3-none-any.whl (78 kB)
     -------------------------------------- 78.3/78.3 kB 624.4 kB/s eta 0:00:00
Collecting colorama==0.4.6 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 28))
  Using cached https://mirrors.aliyun.com/pypi/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting visualdl==2.5.3 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 29))
  Downloading https://mirrors.aliyun.com/pypi/packages/ea/b5/37726c750a4f4598660998327c3566b2d2ed5a1a5f44e9f0dde875602447/visualdl-2.5.3-py3-none-any.whl (6.3 MB)
     ---------------------------------------- 6.3/6.3 MB 559.9 kB/s eta 0:00:00
Collecting bce_python_sdk==0.9.5 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 30))
  Downloading https://mirrors.aliyun.com/pypi/packages/3a/ec/b18d801e1e474a68cbd4a0aa3988b8454b7d0368f66dce97b8ea8bd8826d/bce_python_sdk-0.9.5-py3-none-any.whl (329 kB)
     ------------------------------------ 329.8/329.8 kB 475.6 kB/s eta 0:00:00
Collecting pycryptodome==3.20.0 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 31))
  Downloading https://mirrors.aliyun.com/pypi/packages/1f/90/d131c0eb643290230dfa4108b7c2d135122d88b714ad241d77beb4782a76/pycryptodome-3.20.0-cp35-abi3-win_amd64.whl (1.8 MB)
     ---------------------------------------- 1.8/1.8 MB 592.4 kB/s eta 0:00:00
Collecting future==0.18.3 (from -r C:\Users\taozhe\AppData\Local\Temp\QPT_Cache_V/1.0b7\Cache\requirements_dev.txt (line 32))
  Using cached https://mirrors.aliyun.com/pypi/packages/8f/2e/cf6accf7415237d6faeeebdc7832023c90e0282aa16fd3263db0eb4715ec/future-0.18.3.tar.gz (840 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\taozhe\AppData\Local\Temp\pip-download-ty4ctl3_\future_e1aa22dc4e0b429a8d72610188d48747\setup.py", line 86, in <module>
          import src.future
      ModuleNotFoundError: No module named 'src'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.



↑建议在此处粘贴完整日志↑  

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

↓建议在此处粘贴完整日志↓  

↑建议在此处粘贴完整日志↑  

其他信息

Copy link

Hi,开发者朋友,鉴于您是首次在QPT下新增Issue,请务必参考给定的Issue模板进行Issue的新增。
虽然形如版本号、打包日志等信息可能对你并不重要,但如未提供则可能会严重拖慢Issue的解决效率,因为他们对于QPT的维护者而言非常重要!
如您未按Issue模板进行内容补充,可关闭此Issue或Edit该Issue,社区维护者会对低效Issue直接Close,请悉知!

@GT-ZhangAcer
Copy link
Member

GT-ZhangAcer commented Mar 27, 2024

“future”这个包安装出现了问题,有两个可以尝试的方案:

  1. 如果是conda环境,该环境下部分包缺失meta信息,可以换成普通的python环境进行打包,避免使用conda
  2. 在QPT中,可以在requirements.txt文件中指定#$QPT_FLAG$ignore标识符,忽略这个包。
paddleocr
paddlepaddle
future #$QPT_FLAG$ignore
其它库...

@tzcxbq
Copy link
Author

tzcxbq commented Mar 27, 2024

“future”这个包安装出现了问题,有两个可以尝试的方案:

  1. 如果是conda环境,该环境下部分包缺失meta信息,可以换成普通的python环境进行打包,避免使用conda
  2. 在QPT中,可以在requirements.txt文件中指定#$QPT_FLAG$ignore标识符,忽略这个包。
paddleocr
paddlepaddle
future #$QPT_FLAG$ignore
其它库...

您好,我还想问一下第二条中说的requirements.txt文件是哪一个文件
image

@GT-ZhangAcer
Copy link
Member

GT-ZhangAcer commented Mar 27, 2024 via email

@tzcxbq
Copy link
Author

tzcxbq commented Mar 27, 2024

刚刚我描述的不太准确哈,打包时有个让确认requiement文件的提示,那个时候修改文件,然后返回终端确认即可。 issue中提供的那个requiement列表,就是我们要修改的那个文件,比较建议在打包的代码中直接指定修改后的requiement文件,这样会更方便一点。

---原始邮件--- 发件人: @.> 发送时间: 2024年3月27日(周三) 晚上6:41 收件人: @.>; 抄送: @.@.>; 主题: Re: [QPT-Family/QPT] qpt对paddleOCR打包问题 (Issue #103) “future”这个包安装出现了问题,有两个可以尝试的方案: 如果是conda环境,该环境下部分包缺失meta信息,可以换成普通的python环境进行打包,避免使用conda 在QPT中,可以在requirements.txt文件中指定#$QPT_FLAG$ignore标识符,忽略这个包。 paddleocr paddlepaddle future #$QPT_FLAG$ignore 其它库... 您好,我还想问一下第二条中说的requirements.txt文件是哪一个文件 image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.Message ID: @.***>

哦哦好的,我试试,感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants