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

OCR module fails to install on Linux Docker 2.9.7 #1

Open
ac2323 opened this issue Dec 15, 2024 · 4 comments
Open

OCR module fails to install on Linux Docker 2.9.7 #1

ac2323 opened this issue Dec 15, 2024 · 4 comments

Comments

@ac2323
Copy link

ac2323 commented Dec 15, 2024

Similar to other modules I've tried to install, it fails with this error:

22:02:36:OCR: /app/setup.sh: line 387: 28079 Illegal instruction     (core dumped) "$venvPythonCmdPath" "$moduleStartFilePath" --selftest
22:02:36:OCR: Self-test failed
22:02:36:OCR: SELF TEST END   ======================================================
22:02:36:OCR: Module setup time 00:02:06
22:02:36:OCR: Install failed: Self-test failed
22:02:36:OCR:                 Setup complete                                        
22:02:36:OCR: Total setup time 00:02:10
22:02:36:OCR: SETUP FAILED:
22:02:36:OCR:  - [Int: OCR] Self-test failed
22:02:36:Module OCR installed successfully.
22:02:36:Installer exited with code 1
22:02:36:Module OCR not configured to AutoStart.
@ChrisMaunder
Copy link
Collaborator

If you can paste the install log I can take a look.

@ac2323
Copy link
Author

ac2323 commented Dec 16, 2024

11:28:39:Preparing to install module 'OCR'
11:28:39:Downloading module 'OCR'
11:28:39:Installing module 'OCR'
11:28:39:Installer script at '/app/setup.sh'
11:28:39:OCR: Setting verbosity to loud
11:28:39:OCR: Hi Docker! We will disable shared python installs for downloaded modules
11:28:39:OCR:              Installing CodeProject.AI Analysis Module                
11:28:39:OCR: ======================================================================
11:28:39:OCR:                    CodeProject.AI Installer                           
11:28:39:OCR: ======================================================================
11:28:39:OCR: 22.09 GiB of 88.09 GiB available on Docker (linux ubuntu x86_64 - linux)
11:28:39:OCR: Installing xz-utils...
11:28:43:OCR: Reading package lists...
11:28:43:OCR: Building dependency tree...
11:28:43:OCR: Reading state information...
11:28:44:OCR: 0 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.
11:28:44:OCR: General CodeProject.AI setup                                          
11:28:44:OCR: Setting permissions on runtimes folder...done
11:28:44:OCR: Setting permissions on general downloads folder...done
11:28:44:OCR: Setting permissions on module asset downloads folder...done
11:28:44:OCR: Setting permissions on modules folder...done
11:28:44:OCR: Setting permissions on models folder...done
11:28:44:OCR: Setting permissions on persisted data folder...done
11:28:44:OCR: os, name, arch              = linux ubuntu (jammy) x86_64
11:28:44:OCR: systemName, platform        = Docker, linux
11:28:44:OCR: edgeDevice                  = 
11:28:44:OCR: SSH                         = false
11:28:44:OCR: setupMode                   = SetupModule
11:28:44:OCR: executionEnvironment        = Production
11:28:44:OCR: rootDirPath                 = /app
11:28:44:OCR: appRootDirPath              = /app
11:28:44:OCR: setupScriptDirPath          = /app
11:28:44:OCR: utilsScriptsDirPath         = /app/scripts
11:28:44:OCR: runtimesDirPath             = /app/runtimes
11:28:44:OCR: modulesDirPath              = /app/modules
11:28:44:OCR: externalModulesDirPath      = /app/../CodeProject.AI-Modules
11:28:44:OCR: downloadDirPath             = /app/downloads
11:28:44:OCR: downloadModuleAssetsDirPath = /app/downloads/modules/assets
11:28:44:OCR: assetStorageUrl             = https://codeproject-ai-bunny.b-cdn.net/server/assets/
11:28:44:OCR: GPU support                                                           
11:28:44:OCR: CUDA (NVIDIA) Present: Yes (CUDA 12.4, cuDNN 8.9.6)
11:28:44:OCR: ROCm (AMD) Present:    No
11:28:44:OCR: MPS (Apple) Present:   No
11:28:44:Shutdown request for python3/FaceProcessing complete: Waiting for cleanup...
11:28:45:OCR: Reading module settings.......done
11:28:45:OCR: Processing module OCR 2.2.4 (Internal)                                
11:28:45:OCR: Variable Dump                                                         
11:28:45:OCR: moduleName          = Optical Character Recognition
11:28:45:OCR: moduleId            = OCR
11:28:45:OCR: moduleVersion       = 2.2.4
11:28:45:OCR: runtime             = python3.8
11:28:45:OCR: runtimeLocation     = Local
11:28:45:OCR: installGPU          = false
11:28:45:OCR: pythonVersion       = 3.8
11:28:45:OCR: virtualEnvDirPath   = /app/modules/OCR/bin/ubuntu/python38/venv
11:28:45:OCR: venvPythonCmdPath   = /app/modules/OCR/bin/ubuntu/python38/venv/bin/python3.8
11:28:45:OCR: packagesDirPath     = /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/
11:28:45:OCR: moduleStartFilePath = OCR_adapter.py
11:28:45:OCR: Installing Python 3.8
11:28:45:OCR: Python install path is /app/modules/OCR/bin/ubuntu/python38
11:28:45:OCR: Python 3.8 is already installed
11:28:46:Shutdown request for python3/ObjectDetectionYOLOv8 complete: Waiting for cleanup...
11:28:46:OCR: Ensuring PIP in base python install...Reading package lists...
11:28:46:OCR: Building dependency tree...
11:28:46:OCR: Reading state information...
11:28:47:FaceProcessing shut down correctly
11:28:47:OCR: 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 46 not upgraded.
11:28:47:OCR: Need to get 193 kB of archives.
11:28:47:OCR: After this operation, 0 B of additional disk space will be used.
11:28:47:OCR: Get:1 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 python3.8-distutils all 3.8.20-1+jammy1 [193 kB]
11:28:48:OCR: debconf: delaying package configuration, since apt-utils is not installed
11:28:48:OCR: Fetched 193 kB in 1s (242 kB/s)
11:28:48:OCR: (Reading database ... 
11:28:48:OCR: (Reading database ... 5%
11:28:48:OCR: (Reading database ... 10%
11:28:48:OCR: (Reading database ... 15%
11:28:48:OCR: (Reading database ... 20%
11:28:48:OCR: (Reading database ... 25%
11:28:48:OCR: (Reading database ... 30%
11:28:48:OCR: (Reading database ... 35%
11:28:48:OCR: (Reading database ... 40%
11:28:48:OCR: (Reading database ... 45%
11:28:48:OCR: (Reading database ... 50%
11:28:48:OCR: (Reading database ... 55%
11:28:48:OCR: (Reading database ... 60%
11:28:48:OCR: (Reading database ... 65%
11:28:48:OCR: (Reading database ... 70%
11:28:48:OCR: (Reading database ... 75%
11:28:48:OCR: (Reading database ... 80%
11:28:48:OCR: (Reading database ... 85%
11:28:48:OCR: (Reading database ... 90%
11:28:48:OCR: (Reading database ... 95%
11:28:48:OCR: (Reading database ... 100%
11:28:48:OCR: (Reading database ... 31204 files and directories currently installed.)
11:28:48:OCR: Preparing to unpack .../python3.8-distutils_3.8.20-1+jammy1_all.deb ...
11:28:48:OCR: Unpacking python3.8-distutils (3.8.20-1+jammy1) over (3.8.20-1+jammy1) ...
11:28:48:OCR: Setting up python3.8-distutils (3.8.20-1+jammy1) ...
11:28:49:ObjectDetectionYOLOv8 shut down correctly
11:28:49:OCR: Looking in links: /tmp/tmp314k3moz
11:28:49:OCR: Requirement already satisfied: setuptools in /usr/local/lib/python3.8/dist-packages (75.3.0)
11:28:49:OCR: Requirement already satisfied: pip in /usr/local/lib/python3.8/dist-packages (24.3.1)
11:28:50:OCR: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
11:28:50:OCR: done
11:28:51:OCR: Upgrading PIP in base python install...Requirement already satisfied: pip in /usr/local/lib/python3.8/dist-packages (24.3.1)
11:28:51:OCR: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
11:28:51:OCR: done
11:28:51:OCR: Installing Virtual Environment tools for Linux...
11:28:51:OCR: Searching for installed dependencies:
11:28:56:OCR:  -> python3-pip python3-setuptools python3.8-venv done
11:28:56:OCR: All dependencies already installed.
11:28:56:OCR: Creating Virtual Environment (Local)...Install path is /app/modules/OCR/bin/ubuntu/python38
11:28:59:OCR: done
11:28:59:OCR: Checking for Python 3.8...(Found Python 3.8.20) All good
11:29:02:OCR: Upgrading PIP in virtual environment... done
11:29:04:OCR: Installing updated setuptools in venv... done
11:29:04:OCR: Downloading ocr-en-pp_ocrv4-paddle.zip to /app/downloads/modules/assets/OCR
11:29:04:OCR: Extracting to paddleocr in this folder
11:29:04:OCR: Downloading OCR models... already exists...Expanding...Archive:  ocr-en-pp_ocrv4-paddle.zip
11:29:04:OCR:   inflating: paddleocr/ch_ppocr_mobile_v2.0_cls_infer/inference.pdiparams  
11:29:04:OCR:   inflating: paddleocr/ch_ppocr_mobile_v2.0_cls_infer/inference.pdiparams.info  
11:29:04:OCR:   inflating: paddleocr/ch_ppocr_mobile_v2.0_cls_infer/inference.pdmodel  
11:29:04:OCR:   inflating: paddleocr/en_PP-OCRv3_det_infer/inference.pdiparams  
11:29:04:OCR:   inflating: paddleocr/en_PP-OCRv3_det_infer/inference.pdiparams.info  
11:29:04:OCR:   inflating: paddleocr/en_PP-OCRv3_det_infer/inference.pdmodel  
11:29:04:OCR:    creating: paddleocr/en_PP-OCRv4_rec_infer/
11:29:04:OCR:   inflating: paddleocr/en_PP-OCRv4_rec_infer/inference.pdiparams  
11:29:04:OCR:   inflating: paddleocr/en_PP-OCRv4_rec_infer/inference.pdiparams.info  
11:29:04:OCR:   inflating: paddleocr/en_PP-OCRv4_rec_infer/inference.pdmodel  
11:29:04:OCR: done.
11:29:04:OCR: Moving contents of ocr-en-pp_ocrv4-paddle.zip to paddleocr...done.
11:29:04:OCR: Installing Python packages for Optical Character Recognition
11:29:04:OCR: Installing GPU-enabled libraries: No
11:29:04:OCR: Ensuring PIP is installed and up to date...
11:29:04:OCR: Searching for installed dependencies:
11:29:06:OCR:  -> python3-pip done
11:29:06:OCR: All dependencies already installed.
11:29:06:OCR: Ensuring PIP compatibility ...
11:29:07:OCR: Looking in links: /tmp/tmpeo96bz5a
11:29:07:OCR: Requirement already satisfied: setuptools in ./bin/ubuntu/python38/venv/lib/python3.8/site-packages (75.3.0)
11:29:07:OCR: Requirement already satisfied: pip in ./bin/ubuntu/python38/venv/lib/python3.8/site-packages (24.3.1)
11:29:07:OCR: Python packages will be specified by requirements.linux.txt
11:29:08:Response timeout. Try increasing the timeout value
11:29:11:OCR:   - Installing NumPy, a package for scientific computing...Checking ...Check done...Installing numpy>=1.23.3,<2.0...(✅ checked) done
11:29:12:OCR:   - Installing PaddelPaddle, the Deep Learning platform...Checking ...Check done...Installing paddlepaddle==2.6.0...Collecting paddlepaddle==2.6.0
11:29:12:OCR:   Using cached paddlepaddle-2.6.0-cp38-cp38-manylinux1_x86_64.whl.metadata (8.6 kB)
11:29:12:OCR: Collecting httpx (from paddlepaddle==2.6.0)
11:29:12:OCR:   Using cached httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB)
11:29:12:OCR: Collecting numpy>=1.13 (from paddlepaddle==2.6.0)
11:29:12:OCR:   Using cached numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)
11:29:13:OCR: Collecting Pillow (from paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl.metadata (9.2 kB)
11:29:13:OCR: Collecting decorator (from paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached decorator-5.1.1-py3-none-any.whl.metadata (4.0 kB)
11:29:13:OCR: Collecting astor (from paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached astor-0.8.1-py2.py3-none-any.whl.metadata (4.2 kB)
11:29:13:OCR: Collecting opt-einsum==3.3.0 (from paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached opt_einsum-3.3.0-py3-none-any.whl.metadata (6.5 kB)
11:29:13:OCR: Collecting protobuf>=3.20.2 (from paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached protobuf-5.29.1-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
11:29:13:OCR: Collecting anyio (from httpx->paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached anyio-4.5.2-py3-none-any.whl.metadata (4.7 kB)
11:29:13:OCR: Collecting certifi (from httpx->paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)
11:29:13:OCR: Collecting httpcore==1.* (from httpx->paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached httpcore-1.0.7-py3-none-any.whl.metadata (21 kB)
11:29:13:OCR: Collecting idna (from httpx->paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
11:29:13:OCR: Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx->paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
11:29:13:OCR: Collecting sniffio>=1.1 (from anyio->httpx->paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
11:29:13:OCR: Collecting exceptiongroup>=1.0.2 (from anyio->httpx->paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB)
11:29:13:OCR: Collecting typing-extensions>=4.1 (from anyio->httpx->paddlepaddle==2.6.0)
11:29:13:OCR:   Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
11:29:13:OCR: Using cached paddlepaddle-2.6.0-cp38-cp38-manylinux1_x86_64.whl (125.7 MB)
11:29:14:OCR: Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
11:29:14:OCR: Using cached numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
11:29:14:OCR: Using cached protobuf-5.29.1-cp38-abi3-manylinux2014_x86_64.whl (319 kB)
11:29:14:OCR: Using cached astor-0.8.1-py2.py3-none-any.whl (27 kB)
11:29:14:OCR: Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
11:29:14:OCR: Using cached httpx-0.28.1-py3-none-any.whl (73 kB)
11:29:14:OCR: Using cached httpcore-1.0.7-py3-none-any.whl (78 kB)
11:29:14:OCR: Using cached pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl (4.5 MB)
11:29:14:OCR: Using cached anyio-4.5.2-py3-none-any.whl (89 kB)
11:29:14:OCR: Using cached idna-3.10-py3-none-any.whl (70 kB)
11:29:14:OCR: Using cached certifi-2024.12.14-py3-none-any.whl (164 kB)
11:29:14:OCR: Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
11:29:14:OCR: Using cached h11-0.14.0-py3-none-any.whl (58 kB)
11:29:14:OCR: Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
11:29:14:OCR: Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
11:29:14:OCR: Installing collected packages: typing-extensions, sniffio, protobuf, Pillow, numpy, idna, h11, exceptiongroup, decorator, certifi, astor, opt-einsum, httpcore, anyio, httpx, paddlepaddle
11:29:21:OCR: Successfully installed Pillow-10.4.0 anyio-4.5.2 astor-0.8.1 certifi-2024.12.14 decorator-5.1.1 exceptiongroup-1.2.2 h11-0.14.0 httpcore-1.0.7 httpx-0.28.1 idna-3.10 numpy-1.24.4 opt-einsum-3.3.0 paddlepaddle-2.6.0 protobuf-5.29.1 sniffio-1.3.1 typing-extensions-4.12.2
11:29:23:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/numpy-1.24.4.dist-info already exists. Specify --upgrade to force replacement.
11:29:23:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/numpy.libs already exists. Specify --upgrade to force replacement.
11:29:23:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/numpy already exists. Specify --upgrade to force replacement.
11:29:23:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/bin already exists. Specify --upgrade to force replacement.
11:29:23:OCR: (✅ checked) done
11:29:24:OCR:   - Installing PaddleOCR, the OCR toolkit based on PaddlePaddle...Checking ...Check done...Installing paddleocr==2.7.0.3...Collecting paddleocr==2.7.0.3
11:29:24:OCR:   Using cached paddleocr-2.7.0.3-py3-none-any.whl.metadata (26 kB)
11:29:24:OCR: Collecting shapely (from paddleocr==2.7.0.3)
11:29:24:OCR:   Using cached shapely-2.0.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.0 kB)
11:29:24:OCR: Collecting scikit-image (from paddleocr==2.7.0.3)
11:29:24:OCR:   Using cached scikit_image-0.21.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (14 kB)
11:29:24:OCR: Collecting imgaug (from paddleocr==2.7.0.3)
11:29:24:OCR:   Using cached imgaug-0.4.0-py2.py3-none-any.whl.metadata (1.8 kB)
11:29:24:OCR: Collecting pyclipper (from paddleocr==2.7.0.3)
11:29:24:OCR:   Using cached pyclipper-1.3.0.post6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (9.0 kB)
11:29:25:OCR: Collecting lmdb (from paddleocr==2.7.0.3)
11:29:25:OCR:   Using cached lmdb-1.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.1 kB)
11:29:25:OCR: Collecting tqdm (from paddleocr==2.7.0.3)
11:29:25:OCR:   Using cached tqdm-4.67.1-py3-none-any.whl.metadata (57 kB)
11:29:25:OCR: Collecting numpy (from paddleocr==2.7.0.3)
11:29:25:OCR:   Using cached numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)
11:29:25:OCR: Collecting visualdl (from paddleocr==2.7.0.3)
11:29:25:OCR:   Using cached visualdl-2.5.3-py3-none-any.whl.metadata (25 kB)
11:29:26:OCR: Collecting rapidfuzz (from paddleocr==2.7.0.3)
11:29:26:OCR:   Using cached rapidfuzz-3.9.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB)
11:29:26:OCR: Collecting opencv-python<=4.6.0.66 (from paddleocr==2.7.0.3)
11:29:26:OCR:   Using cached opencv_python-4.6.0.66-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
11:29:26:OCR: Collecting opencv-contrib-python<=4.6.0.66 (from paddleocr==2.7.0.3)
11:29:26:OCR:   Using cached opencv_contrib_python-4.6.0.66-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
11:29:27:OCR: Collecting cython (from paddleocr==2.7.0.3)
11:29:27:OCR:   Using cached Cython-3.0.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
11:29:27:OCR: Collecting lxml (from paddleocr==2.7.0.3)
11:29:27:OCR:   Using cached lxml-5.3.0-cp38-cp38-manylinux_2_28_x86_64.whl.metadata (3.8 kB)
11:29:27:OCR: Collecting premailer (from paddleocr==2.7.0.3)
11:29:27:OCR:   Using cached premailer-3.10.0-py2.py3-none-any.whl.metadata (15 kB)
11:29:27:OCR: Collecting openpyxl (from paddleocr==2.7.0.3)
11:29:27:OCR:   Using cached openpyxl-3.1.5-py2.py3-none-any.whl.metadata (2.5 kB)
11:29:27:OCR: Collecting attrdict (from paddleocr==2.7.0.3)
11:29:27:OCR:   Using cached attrdict-2.0.1-py2.py3-none-any.whl.metadata (6.7 kB)
11:29:27:OCR: Collecting PyMuPDF<1.21.0 (from paddleocr==2.7.0.3)
11:29:27:OCR:   Using cached PyMuPDF-1.20.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.5 kB)
11:29:28:OCR: Collecting Pillow>=10.0.0 (from paddleocr==2.7.0.3)
11:29:28:OCR:   Using cached pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl.metadata (9.2 kB)
11:29:28:OCR: Collecting pyyaml (from paddleocr==2.7.0.3)
11:29:28:OCR:   Using cached PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
11:29:28:OCR: Collecting python-docx (from paddleocr==2.7.0.3)
11:29:28:OCR:   Using cached python_docx-1.1.2-py3-none-any.whl.metadata (2.0 kB)
11:29:28:OCR: Collecting beautifulsoup4 (from paddleocr==2.7.0.3)
11:29:28:OCR:   Using cached beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
11:29:28:OCR: Collecting fonttools>=4.24.0 (from paddleocr==2.7.0.3)
11:29:28:OCR:   Using cached fonttools-4.55.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (165 kB)
11:29:28:OCR: Collecting fire>=0.3.0 (from paddleocr==2.7.0.3)
11:29:28:OCR:   Using cached fire-0.7.0-py3-none-any.whl
11:29:28:OCR: Collecting pdf2docx (from paddleocr==2.7.0.3)
11:29:28:OCR:   Using cached pdf2docx-0.5.8-py3-none-any.whl.metadata (3.2 kB)
11:29:28:OCR: Collecting termcolor (from fire>=0.3.0->paddleocr==2.7.0.3)
11:29:28:OCR:   Using cached termcolor-2.4.0-py3-none-any.whl.metadata (6.1 kB)
11:29:29:OCR: Collecting six (from attrdict->paddleocr==2.7.0.3)
11:29:29:OCR:   Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
11:29:29:OCR: Collecting soupsieve>1.2 (from beautifulsoup4->paddleocr==2.7.0.3)
11:29:29:OCR:   Using cached soupsieve-2.6-py3-none-any.whl.metadata (4.6 kB)
11:29:29:OCR: Collecting scipy (from imgaug->paddleocr==2.7.0.3)
11:29:29:OCR:   Using cached scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)
11:29:29:OCR: Collecting matplotlib (from imgaug->paddleocr==2.7.0.3)
11:29:29:OCR:   Using cached matplotlib-3.7.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.7 kB)
11:29:29:OCR: Collecting imageio (from imgaug->paddleocr==2.7.0.3)
11:29:29:OCR:   Using cached imageio-2.35.1-py3-none-any.whl.metadata (4.9 kB)
11:29:29:OCR: Collecting networkx>=2.8 (from scikit-image->paddleocr==2.7.0.3)
11:29:29:OCR:   Using cached networkx-3.1-py3-none-any.whl.metadata (5.3 kB)
11:29:29:OCR: Collecting tifffile>=2022.8.12 (from scikit-image->paddleocr==2.7.0.3)
11:29:29:OCR:   Using cached tifffile-2023.7.10-py3-none-any.whl.metadata (31 kB)
11:29:29:OCR: Collecting PyWavelets>=1.1.1 (from scikit-image->paddleocr==2.7.0.3)
11:29:29:OCR:   Using cached PyWavelets-1.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.9 kB)
11:29:29:OCR: Collecting packaging>=21 (from scikit-image->paddleocr==2.7.0.3)
11:29:29:OCR:   Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
11:29:30:OCR: Collecting lazy_loader>=0.2 (from scikit-image->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached lazy_loader-0.4-py3-none-any.whl.metadata (7.6 kB)
11:29:30:OCR: Collecting et-xmlfile (from openpyxl->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached et_xmlfile-2.0.0-py3-none-any.whl.metadata (2.7 kB)
11:29:30:OCR: Collecting opencv-python-headless>=4.5 (from pdf2docx->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached opencv_python_headless-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
11:29:30:OCR: Collecting typing-extensions>=4.9.0 (from python-docx->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
11:29:30:OCR: Collecting cssselect (from premailer->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached cssselect-1.2.0-py2.py3-none-any.whl.metadata (2.2 kB)
11:29:30:OCR: Collecting cssutils (from premailer->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached cssutils-2.11.1-py3-none-any.whl.metadata (8.7 kB)
11:29:30:OCR: Collecting requests (from premailer->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
11:29:30:OCR: Collecting cachetools (from premailer->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached cachetools-5.5.0-py3-none-any.whl.metadata (5.3 kB)
11:29:30:OCR: Collecting bce-python-sdk (from visualdl->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached bce_python_sdk-0.9.23-py3-none-any.whl.metadata (319 bytes)
11:29:30:OCR: Collecting flask>=1.1.1 (from visualdl->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached flask-3.0.3-py3-none-any.whl.metadata (3.2 kB)
11:29:30:OCR: Collecting Flask-Babel>=3.0.0 (from visualdl->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached flask_babel-4.0.0-py3-none-any.whl.metadata (1.9 kB)
11:29:30:OCR: Collecting protobuf>=3.20.0 (from visualdl->paddleocr==2.7.0.3)
11:29:30:OCR:   Using cached protobuf-5.29.1-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
11:29:31:OCR: Collecting pandas (from visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached pandas-2.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
11:29:31:OCR: Collecting rarfile (from visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached rarfile-4.2-py3-none-any.whl.metadata (4.4 kB)
11:29:31:OCR: Collecting psutil (from visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached psutil-6.1.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (22 kB)
11:29:31:OCR: Collecting Werkzeug>=3.0.0 (from flask>=1.1.1->visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached werkzeug-3.0.6-py3-none-any.whl.metadata (3.7 kB)
11:29:31:OCR: Collecting Jinja2>=3.1.2 (from flask>=1.1.1->visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
11:29:31:OCR: Collecting itsdangerous>=2.1.2 (from flask>=1.1.1->visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)
11:29:31:OCR: Collecting click>=8.1.3 (from flask>=1.1.1->visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
11:29:31:OCR: Collecting blinker>=1.6.2 (from flask>=1.1.1->visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached blinker-1.8.2-py3-none-any.whl.metadata (1.6 kB)
11:29:31:OCR: Collecting importlib-metadata>=3.6.0 (from flask>=1.1.1->visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB)
11:29:31:OCR: Collecting Babel>=2.12 (from Flask-Babel>=3.0.0->visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached babel-2.16.0-py3-none-any.whl.metadata (1.5 kB)
11:29:31:OCR: Collecting pytz>=2022.7 (from Flask-Babel>=3.0.0->visualdl->paddleocr==2.7.0.3)
11:29:31:OCR:   Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
11:29:32:OCR: Collecting pycryptodome>=3.8.0 (from bce-python-sdk->visualdl->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached pycryptodome-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
11:29:32:OCR: Collecting future>=0.6.0 (from bce-python-sdk->visualdl->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
11:29:32:OCR: Collecting more-itertools (from cssutils->premailer->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached more_itertools-10.5.0-py3-none-any.whl.metadata (36 kB)
11:29:32:OCR: Collecting contourpy>=1.0.1 (from matplotlib->imgaug->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached contourpy-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.9 kB)
11:29:32:OCR: Collecting cycler>=0.10 (from matplotlib->imgaug->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
11:29:32:OCR: Collecting kiwisolver>=1.0.1 (from matplotlib->imgaug->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (6.3 kB)
11:29:32:OCR: Collecting pyparsing>=2.3.1 (from matplotlib->imgaug->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached pyparsing-3.1.4-py3-none-any.whl.metadata (5.1 kB)
11:29:32:OCR: Collecting python-dateutil>=2.7 (from matplotlib->imgaug->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
11:29:32:OCR: Collecting importlib-resources>=3.2.0 (from matplotlib->imgaug->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached importlib_resources-6.4.5-py3-none-any.whl.metadata (4.0 kB)
11:29:32:OCR: Collecting tzdata>=2022.1 (from pandas->visualdl->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB)
11:29:32:OCR: Collecting charset-normalizer<4,>=2 (from requests->premailer->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (34 kB)
11:29:32:OCR: Collecting idna<4,>=2.5 (from requests->premailer->paddleocr==2.7.0.3)
11:29:32:OCR:   Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
11:29:33:OCR: Collecting urllib3<3,>=1.21.1 (from requests->premailer->paddleocr==2.7.0.3)
11:29:33:OCR:   Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
11:29:33:OCR: Collecting certifi>=2017.4.17 (from requests->premailer->paddleocr==2.7.0.3)
11:29:33:OCR:   Using cached certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)
11:29:33:OCR: Collecting zipp>=3.20 (from importlib-metadata>=3.6.0->flask>=1.1.1->visualdl->paddleocr==2.7.0.3)
11:29:33:OCR:   Using cached zipp-3.20.2-py3-none-any.whl.metadata (3.7 kB)
11:29:33:OCR: Collecting MarkupSafe>=2.0 (from Jinja2>=3.1.2->flask>=1.1.1->visualdl->paddleocr==2.7.0.3)
11:29:33:OCR:   Using cached MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
11:29:33:OCR: Using cached paddleocr-2.7.0.3-py3-none-any.whl (465 kB)
11:29:33:OCR: Using cached fonttools-4.55.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB)
11:29:33:OCR: Using cached opencv_contrib_python-4.6.0.66-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (67.1 MB)
11:29:33:OCR: Using cached numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
11:29:33:OCR: Using cached opencv_python-4.6.0.66-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.9 MB)
11:29:33:OCR: Using cached pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl (4.5 MB)
11:29:33:OCR: Using cached PyMuPDF-1.20.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.8 MB)
11:29:33:OCR: Using cached attrdict-2.0.1-py2.py3-none-any.whl (9.9 kB)
11:29:33:OCR: Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
11:29:33:OCR: Using cached Cython-3.0.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
11:29:33:OCR: Using cached imgaug-0.4.0-py2.py3-none-any.whl (948 kB)
11:29:33:OCR: Using cached scikit_image-0.21.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.9 MB)
11:29:33:OCR: Using cached lmdb-1.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (294 kB)
11:29:33:OCR: Using cached lxml-5.3.0-cp38-cp38-manylinux_2_28_x86_64.whl (5.1 MB)
11:29:33:OCR: Using cached openpyxl-3.1.5-py2.py3-none-any.whl (250 kB)
11:29:33:OCR: Using cached pdf2docx-0.5.8-py3-none-any.whl (132 kB)
11:29:33:OCR: Using cached python_docx-1.1.2-py3-none-any.whl (244 kB)
11:29:33:OCR: Using cached premailer-3.10.0-py2.py3-none-any.whl (19 kB)
11:29:33:OCR: Using cached pyclipper-1.3.0.post6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (687 kB)
11:29:33:OCR: Using cached PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (746 kB)
11:29:33:OCR: Using cached rapidfuzz-3.9.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)
11:29:33:OCR: Using cached shapely-2.0.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB)
11:29:33:OCR: Using cached tqdm-4.67.1-py3-none-any.whl (78 kB)
11:29:33:OCR: Using cached visualdl-2.5.3-py3-none-any.whl (6.3 MB)
11:29:33:OCR: Using cached flask-3.0.3-py3-none-any.whl (101 kB)
11:29:33:OCR: Using cached flask_babel-4.0.0-py3-none-any.whl (9.6 kB)
11:29:33:OCR: Using cached imageio-2.35.1-py3-none-any.whl (315 kB)
11:29:33:OCR: Using cached lazy_loader-0.4-py3-none-any.whl (12 kB)
11:29:33:OCR: Using cached networkx-3.1-py3-none-any.whl (2.1 MB)
11:29:33:OCR: Using cached opencv_python_headless-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (49.9 MB)
11:29:33:OCR: Using cached packaging-24.2-py3-none-any.whl (65 kB)
11:29:33:OCR: Using cached protobuf-5.29.1-cp38-abi3-manylinux2014_x86_64.whl (319 kB)
11:29:33:OCR: Using cached PyWavelets-1.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB)
11:29:33:OCR: Using cached scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB)
11:29:33:OCR: Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
11:29:33:OCR: Using cached soupsieve-2.6-py3-none-any.whl (36 kB)
11:29:33:OCR: Using cached tifffile-2023.7.10-py3-none-any.whl (220 kB)
11:29:33:OCR: Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
11:29:33:OCR: Using cached bce_python_sdk-0.9.23-py3-none-any.whl (336 kB)
11:29:33:OCR: Using cached cachetools-5.5.0-py3-none-any.whl (9.5 kB)
11:29:33:OCR: Using cached cssselect-1.2.0-py2.py3-none-any.whl (18 kB)
11:29:33:OCR: Using cached cssutils-2.11.1-py3-none-any.whl (385 kB)
11:29:33:OCR: Using cached et_xmlfile-2.0.0-py3-none-any.whl (18 kB)
11:29:33:OCR: Using cached matplotlib-3.7.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (9.2 MB)
11:29:33:OCR: Using cached pandas-2.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.4 MB)
11:29:33:OCR: Using cached psutil-6.1.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (287 kB)
11:29:33:OCR: Using cached rarfile-4.2-py3-none-any.whl (29 kB)
11:29:33:OCR: Using cached requests-2.32.3-py3-none-any.whl (64 kB)
11:29:33:OCR: Using cached termcolor-2.4.0-py3-none-any.whl (7.7 kB)
11:29:33:OCR: Using cached babel-2.16.0-py3-none-any.whl (9.6 MB)
11:29:33:OCR: Using cached blinker-1.8.2-py3-none-any.whl (9.5 kB)
11:29:33:OCR: Using cached certifi-2024.12.14-py3-none-any.whl (164 kB)
11:29:33:OCR: Using cached charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (143 kB)
11:29:33:OCR: Using cached click-8.1.7-py3-none-any.whl (97 kB)
11:29:33:OCR: Using cached contourpy-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (301 kB)
11:29:33:OCR: Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
11:29:33:OCR: Using cached future-1.0.0-py3-none-any.whl (491 kB)
11:29:33:OCR: Using cached idna-3.10-py3-none-any.whl (70 kB)
11:29:33:OCR: Using cached importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
11:29:33:OCR: Using cached importlib_resources-6.4.5-py3-none-any.whl (36 kB)
11:29:33:OCR: Using cached itsdangerous-2.2.0-py3-none-any.whl (16 kB)
11:29:33:OCR: Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
11:29:33:OCR: Using cached kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB)
11:29:33:OCR: Using cached pycryptodome-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
11:29:33:OCR: Using cached pyparsing-3.1.4-py3-none-any.whl (104 kB)
11:29:33:OCR: Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
11:29:33:OCR: Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
11:29:33:OCR: Using cached tzdata-2024.2-py2.py3-none-any.whl (346 kB)
11:29:33:OCR: Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
11:29:33:OCR: Using cached werkzeug-3.0.6-py3-none-any.whl (227 kB)
11:29:33:OCR: Using cached more_itertools-10.5.0-py3-none-any.whl (60 kB)
11:29:33:OCR: Using cached MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB)
11:29:33:OCR: Using cached zipp-3.20.2-py3-none-any.whl (9.2 kB)
11:29:35:OCR: Installing collected packages: pytz, pyclipper, lmdb, zipp, urllib3, tzdata, typing-extensions, tqdm, termcolor, soupsieve, six, rarfile, rapidfuzz, pyyaml, pyparsing, PyMuPDF, pycryptodome, psutil, protobuf, Pillow, packaging, numpy, networkx, more-itertools, MarkupSafe, lxml, kiwisolver, itsdangerous, idna, future, fonttools, et-xmlfile, cython, cycler, cssselect, click, charset-normalizer, certifi, cachetools, blinker, Babel, Werkzeug, tifffile, shapely, scipy, requests, PyWavelets, python-docx, python-dateutil, openpyxl, opencv-python-headless, opencv-python, opencv-contrib-python, lazy_loader, Jinja2, importlib-resources, importlib-metadata, imageio, fire, cssutils, contourpy, beautifulsoup4, bce-python-sdk, attrdict, scikit-image, premailer, pdf2docx, pandas, matplotlib, flask, imgaug, Flask-Babel, visualdl, paddleocr
11:30:01:OCR: Successfully installed Babel-2.16.0 Flask-Babel-4.0.0 Jinja2-3.1.4 MarkupSafe-2.1.5 Pillow-10.4.0 PyMuPDF-1.20.2 PyWavelets-1.4.1 Werkzeug-3.0.6 attrdict-2.0.1 bce-python-sdk-0.9.23 beautifulsoup4-4.12.3 blinker-1.8.2 cachetools-5.5.0 certifi-2024.12.14 charset-normalizer-3.4.0 click-8.1.7 contourpy-1.1.1 cssselect-1.2.0 cssutils-2.11.1 cycler-0.12.1 cython-3.0.11 et-xmlfile-2.0.0 fire-0.7.0 flask-3.0.3 fonttools-4.55.3 future-1.0.0 idna-3.10 imageio-2.35.1 imgaug-0.4.0 importlib-metadata-8.5.0 importlib-resources-6.4.5 itsdangerous-2.2.0 kiwisolver-1.4.7 lazy_loader-0.4 lmdb-1.5.1 lxml-5.3.0 matplotlib-3.7.5 more-itertools-10.5.0 networkx-3.1 numpy-1.24.4 opencv-contrib-python-4.6.0.66 opencv-python-4.6.0.66 opencv-python-headless-4.10.0.84 openpyxl-3.1.5 packaging-24.2 paddleocr-2.7.0.3 pandas-2.0.3 pdf2docx-0.5.8 premailer-3.10.0 protobuf-5.29.1 psutil-6.1.0 pyclipper-1.3.0.post6 pycryptodome-3.21.0 pyparsing-3.1.4 python-dateutil-2.9.0.post0 python-docx-1.1.2 pytz-2024.2 pyyaml-6.0.2 rapidfuzz-3.9.7 rarfile-4.2 requests-2.32.3 scikit-image-0.21.0 scipy-1.10.1 shapely-2.0.6 six-1.17.0 soupsieve-2.6 termcolor-2.4.0 tifffile-2023.7.10 tqdm-4.67.1 typing-extensions-4.12.2 tzdata-2024.2 urllib3-2.2.3 visualdl-2.5.3 zipp-3.20.2
11:30:01:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/pillow-10.4.0.dist-info already exists. Specify --upgrade to force replacement.
11:30:01:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/PIL already exists. Specify --upgrade to force replacement.
11:30:01:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/idna-3.10.dist-info already exists. Specify --upgrade to force replacement.
11:30:01:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/certifi already exists. Specify --upgrade to force replacement.
11:30:01:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/certifi-2024.12.14.dist-info already exists. Specify --upgrade to force replacement.
11:30:02:Client request 'recognize' in queue 'faceprocessing_queue' (...03d044)
11:30:03:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/__pycache__ already exists. Specify --upgrade to force replacement.
11:30:03:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/typing_extensions-4.12.2.dist-info already exists. Specify --upgrade to force replacement.
11:30:03:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/google already exists. Specify --upgrade to force replacement.
11:30:04:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/numpy-1.24.4.dist-info already exists. Specify --upgrade to force replacement.
11:30:04:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/idna already exists. Specify --upgrade to force replacement.
11:30:04:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/typing_extensions.py already exists. Specify --upgrade to force replacement.
11:30:04:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/protobuf-5.29.1.dist-info already exists. Specify --upgrade to force replacement.
11:30:04:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/numpy.libs already exists. Specify --upgrade to force replacement.
11:30:04:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/pillow.libs already exists. Specify --upgrade to force replacement.
11:30:05:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/numpy already exists. Specify --upgrade to force replacement.
11:30:06:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/bin already exists. Specify --upgrade to force replacement.
11:30:07:OCR: (✅ checked) done
11:30:07:Client request 'detect' in queue 'objectdetection_queue' (...cb091e)
11:30:08:OCR:   - Installing imutils, the image utilities library...Checking ...Check done...Installing imutils...Collecting imutils
11:30:08:OCR:   Using cached imutils-0.5.4-py3-none-any.whl
11:30:08:OCR: Installing collected packages: imutils
11:30:08:OCR: Successfully installed imutils-0.5.4
11:30:08:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/bin already exists. Specify --upgrade to force replacement.
11:30:09:OCR: (✅ checked) done
11:30:09:OCR:   - Installing OpenCV, the Computer Vision library for Python...Checking ...Check done...Already installed
11:30:10:OCR:   - Installing the CodeProject.AI SDK...Checking ...Check done...Installing CodeProject-AI-SDK...Collecting CodeProject-AI-SDK
11:30:10:OCR:   Using cached codeproject_ai_sdk-0.0.21-py3-none-any.whl.metadata (931 bytes)
11:30:11:OCR: Collecting Pillow (from CodeProject-AI-SDK)
11:30:11:OCR:   Using cached pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl.metadata (9.2 kB)
11:30:11:OCR: Collecting charset-normalizer (from CodeProject-AI-SDK)
11:30:11:OCR:   Using cached charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (34 kB)
11:30:11:OCR: Collecting commentjson (from CodeProject-AI-SDK)
11:30:11:OCR:   Using cached commentjson-0.9.0-py3-none-any.whl
11:30:11:OCR: Collecting aiohttp (from CodeProject-AI-SDK)
11:30:11:OCR:   Using cached aiohttp-3.10.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
11:30:11:OCR: Collecting aiofiles (from CodeProject-AI-SDK)
11:30:11:OCR:   Using cached aiofiles-24.1.0-py3-none-any.whl.metadata (10 kB)
11:30:11:OCR: Collecting py-cpuinfo (from CodeProject-AI-SDK)
11:30:11:OCR:   Using cached py_cpuinfo-9.0.0-py3-none-any.whl.metadata (794 bytes)
11:30:12:OCR: Collecting requests (from CodeProject-AI-SDK)
11:30:12:OCR:   Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
11:30:12:OCR: Collecting aiohappyeyeballs>=2.3.0 (from aiohttp->CodeProject-AI-SDK)
11:30:12:OCR:   Using cached aiohappyeyeballs-2.4.4-py3-none-any.whl.metadata (6.1 kB)
11:30:12:OCR: Collecting aiosignal>=1.1.2 (from aiohttp->CodeProject-AI-SDK)
11:30:12:OCR:   Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
11:30:12:OCR: Collecting attrs>=17.3.0 (from aiohttp->CodeProject-AI-SDK)
11:30:12:OCR:   Downloading attrs-24.3.0-py3-none-any.whl.metadata (11 kB)
11:30:12:OCR: Collecting frozenlist>=1.1.1 (from aiohttp->CodeProject-AI-SDK)
11:30:12:OCR:   Using cached frozenlist-1.5.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (13 kB)
11:30:12:OCR: Collecting multidict<7.0,>=4.5 (from aiohttp->CodeProject-AI-SDK)
11:30:12:OCR:   Using cached multidict-6.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.0 kB)
11:30:13:OCR: Collecting yarl<2.0,>=1.12.0 (from aiohttp->CodeProject-AI-SDK)
11:30:13:OCR:   Using cached yarl-1.15.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (56 kB)
11:30:13:OCR: Collecting async-timeout<6.0,>=4.0 (from aiohttp->CodeProject-AI-SDK)
11:30:13:OCR:   Using cached async_timeout-5.0.1-py3-none-any.whl.metadata (5.1 kB)
11:30:13:OCR: Collecting lark-parser<0.8.0,>=0.7.1 (from commentjson->CodeProject-AI-SDK)
11:30:13:OCR:   Using cached lark_parser-0.7.8-py2.py3-none-any.whl
11:30:13:OCR: Collecting idna<4,>=2.5 (from requests->CodeProject-AI-SDK)
11:30:13:OCR:   Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
11:30:13:OCR: Collecting urllib3<3,>=1.21.1 (from requests->CodeProject-AI-SDK)
11:30:13:OCR:   Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
11:30:13:OCR: Collecting certifi>=2017.4.17 (from requests->CodeProject-AI-SDK)
11:30:13:OCR:   Using cached certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)
11:30:13:OCR: Collecting typing-extensions>=4.1.0 (from multidict<7.0,>=4.5->aiohttp->CodeProject-AI-SDK)
11:30:13:OCR:   Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
11:30:13:OCR: Collecting propcache>=0.2.0 (from yarl<2.0,>=1.12.0->aiohttp->CodeProject-AI-SDK)
11:30:13:OCR:   Using cached propcache-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
11:30:13:OCR: Using cached codeproject_ai_sdk-0.0.21-py3-none-any.whl (39 kB)
11:30:13:OCR: Using cached aiofiles-24.1.0-py3-none-any.whl (15 kB)
11:30:13:OCR: Using cached aiohttp-3.10.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
11:30:13:OCR: Using cached charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (143 kB)
11:30:13:OCR: Using cached pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl (4.5 MB)
11:30:13:OCR: Using cached py_cpuinfo-9.0.0-py3-none-any.whl (22 kB)
11:30:13:OCR: Using cached requests-2.32.3-py3-none-any.whl (64 kB)
11:30:13:OCR: Using cached aiohappyeyeballs-2.4.4-py3-none-any.whl (14 kB)
11:30:13:OCR: Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
11:30:13:OCR: Using cached async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
11:30:13:OCR: Downloading attrs-24.3.0-py3-none-any.whl (63 kB)
11:30:13:OCR: Using cached certifi-2024.12.14-py3-none-any.whl (164 kB)
11:30:13:OCR: Using cached frozenlist-1.5.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (243 kB)
11:30:13:OCR: Using cached idna-3.10-py3-none-any.whl (70 kB)
11:30:13:OCR: Using cached multidict-6.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)
11:30:13:OCR: Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
11:30:13:OCR: Using cached yarl-1.15.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (319 kB)
11:30:13:OCR: Using cached propcache-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (213 kB)
11:30:13:OCR: Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
11:30:13:OCR: Installing collected packages: py-cpuinfo, lark-parser, urllib3, typing-extensions, propcache, Pillow, idna, frozenlist, commentjson, charset-normalizer, certifi, attrs, async-timeout, aiohappyeyeballs, aiofiles, requests, multidict, aiosignal, yarl, aiohttp, CodeProject-AI-SDK
11:30:14:OCR: Successfully installed CodeProject-AI-SDK-0.0.21 Pillow-10.4.0 aiofiles-24.1.0 aiohappyeyeballs-2.4.4 aiohttp-3.10.11 aiosignal-1.3.1 async-timeout-5.0.1 attrs-24.3.0 certifi-2024.12.14 charset-normalizer-3.4.0 commentjson-0.9.0 frozenlist-1.5.0 idna-3.10 lark-parser-0.7.8 multidict-6.1.0 propcache-0.2.0 py-cpuinfo-9.0.0 requests-2.32.3 typing-extensions-4.12.2 urllib3-2.2.3 yarl-1.15.2
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/pillow-10.4.0.dist-info already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/PIL already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/charset_normalizer already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/idna-3.10.dist-info already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/certifi already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/certifi-2024.12.14.dist-info already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/__pycache__ already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/typing_extensions-4.12.2.dist-info already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/urllib3-2.2.3.dist-info already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/charset_normalizer-3.4.0.dist-info already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/requests-2.32.3.dist-info already exists. Specify --upgrade to force replacement.
11:30:14:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/idna already exists. Specify --upgrade to force replacement.
11:30:15:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/typing_extensions.py already exists. Specify --upgrade to force replacement.
11:30:15:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/pillow.libs already exists. Specify --upgrade to force replacement.
11:30:15:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/requests already exists. Specify --upgrade to force replacement.
11:30:15:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/urllib3 already exists. Specify --upgrade to force replacement.
11:30:15:OCR: WARNING: Target directory /app/modules/OCR/bin/ubuntu/python38/venv/lib/python3.8/site-packages/bin already exists. Specify --upgrade to force replacement.
11:30:15:OCR: (✅ checked) done
11:30:16:OCR: Scanning modulesettings for downloadable models...No models specified
11:30:16:OCR: Executing post-install script for Optical Character Recognition
11:30:16:OCR: Applying PaddleOCR patch
11:30:16:OCR: SELF TEST START ======================================================
11:30:16:OCR: /app/setup.sh: line 387: 318713 Illegal instruction     (core dumped) "$venvPythonCmdPath" "$moduleStartFilePath" --selftest
11:30:16:OCR: Self-test failed
11:30:16:OCR: SELF TEST END   ======================================================
11:30:16:OCR: Module setup time 00:01:32
11:30:16:OCR: Install failed: Self-test failed
11:30:16:OCR:                 Setup complete                                        
11:30:16:OCR: Total setup time 00:01:37
11:30:16:OCR: SETUP FAILED:
11:30:16:OCR:  - [Int: OCR] Self-test failed
11:30:16:Module OCR installed successfully.
11:30:16:Installer exited with code 1
11:30:16:Module OCR not configured to AutoStart

@ChrisMaunder
Copy link
Collaborator

Can you please paste the contents of your system info tab?

@ac2323
Copy link
Author

ac2323 commented Dec 16, 2024

Server version:   2.9.7
System:           Docker (3326e255ce0b)
Operating System: Linux (Ubuntu 22.04 Jammy Jellyfish)
CPUs:             QEMU Virtual CPU version 2.5+
                  1 CPU x 8 cores. 8 logical processors (x64)
GPU (Primary):    NVIDIA GeForce RTX 3060 (12 GiB) (NVIDIA) 
                  Driver: 550.135, CUDA: 12.4.131 (up to: 12.4), Compute: 8.6, cuDNN: 8.9.6
System RAM:       12 GiB
Platform:         Linux
BuildConfig:      Release
Execution Env:    Docker
Runtime Env:      Production
Runtimes installed:
  .NET runtime:     9.0.0
  .NET SDK:         Not found
  Default Python:   3.10.12
  Go:               Not found
  NodeJS:           Not found
  Rust:             Not found
Video adapter info:
System GPU info:
  GPU 3D Usage       0%
  GPU RAM Usage      1.2 GiB
Global Environment variables:
  CPAI_APPROOTPATH = <root>
  CPAI_PORT        = 32168

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

No branches or pull requests

2 participants