PaddleOCR 训练工具Win 10下安装步骤
1、从这里面下载代码包,可能比较慢。
2、进入这个目录:
3、尝试运行
E:\>cd E:\paddleOCR\PaddleOCR\PPOCRLabel E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch Traceback (most recent call last): File "E:\paddleOCR\PaddleOCR\PPOCRLabel\PPOCRLabel.py", line 24, in <module> import xlrd ModuleNotFoundError: No module named 'xlrd' E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install xlrd Collecting xlrd Downloading xlrd-2.0.1-py2.py3-none-any.whl (96 kB) ---------------------------------------- 96.5/96.5 kB 69.0 kB/s eta 0:00:00 Installing collected packages: xlrd Successfully installed xlrd-2.0.1 E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch Traceback (most recent call last): File "E:\paddleOCR\PaddleOCR\PPOCRLabel\PPOCRLabel.py", line 40, in <module> from paddleocr import PaddleOCR, PPStructure File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\paddleocr.py", line 25, in <module> import cv2 ModuleNotFoundError: No module named 'cv2'
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install opencv-python -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting opencv-python
Downloading http://mirrors.aliyun.com/pypi/packages/36/98/fab8d982e2e2b57bdebcad64c7e5b5a14ac91c657cac509b9cf3fbea49d2/opencv_python-4.7.0.72-cp37-abi3-win_amd64.whl (38.2 MB)
---------------------------------------- 38.2/38.2 MB 1.6 MB/s eta 0:00:00
Requirement already satisfied: numpy>=1.17.0 in d:\programdata\anaconda32\lib\site-packages (from opencv-python) (1.23.5)
Installing collected packages: opencv-python
Successfully installed opencv-python-4.7.0.72
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install opencv-contrib-python -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting opencv-contrib-python
Downloading http://mirrors.aliyun.com/pypi/packages/f3/8b/9d010c60a2254e810ea2bd4a8645f9e12dff3ee8f2de12e7b8b38cdec561/opencv_contrib_python-4.7.0.72-cp37-abi3-win_amd64.whl (44.9 MB)
---------------------------------------- 44.9/44.9 MB 1.2 MB/s eta 0:00:00
Requirement already satisfied: numpy>=1.17.0 in d:\programdata\anaconda32\lib\site-packages (from opencv-contrib-python) (1.23.5)
Installing collected packages: opencv-contrib-python
Successfully installed opencv-contrib-python-4.7.0.72
E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch
Traceback (most recent call last):
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\PPOCRLabel.py", line 40, in <module>
from paddleocr import PaddleOCR, PPStructure
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\paddleocr.py", line 34, in <module>
from tools.infer import predict_system
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_system.py", line 32, in <module>
import tools.infer.predict_rec as predict_rec
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_rec.py", line 31, in <module>
from ppocr.postprocess import build_post_process
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\postprocess\__init__.py", line 24, in <module>
from .db_postprocess import DBPostProcess, DistillationDBPostProcess
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\postprocess\db_postprocess.py", line 25, in <module>
from shapely.geometry import Polygon
ModuleNotFoundError: No module named 'shapely'
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install shapely-*-*.whl -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
WARNING: Requirement 'shapely-*-*.whl' looks like a filename, but the file does not exist
ERROR: shapely-*-*.whl is not a valid wheel filename.
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install shapely-*-*.whl
WARNING: Requirement 'shapely-*-*.whl' looks like a filename, but the file does not exist
ERROR: shapely-*-*.whl is not a valid wheel filename.
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install shapely -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting shapely
Downloading http://mirrors.aliyun.com/pypi/packages/81/8a/7ac076a86b2632f1872284c5e60ed5f2fc26094875a85b35d9fa17b52504/shapely-2.0.1-cp310-cp310-win_amd64.whl (1.4 MB)
---------------------------------------- 1.4/1.4 MB 672.6 kB/s eta 0:00:00
Requirement already satisfied: numpy>=1.14 in d:\programdata\anaconda32\lib\site-packages (from shapely) (1.23.5)
Installing collected packages: shapely
Successfully installed shapely-2.0.1
E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch
Traceback (most recent call last):
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\PPOCRLabel.py", line 40, in <module>
from paddleocr import PaddleOCR, PPStructure
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\paddleocr.py", line 34, in <module>
from tools.infer import predict_system
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_system.py", line 32, in <module>
import tools.infer.predict_rec as predict_rec
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_rec.py", line 31, in <module>
from ppocr.postprocess import build_post_process
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\postprocess\__init__.py", line 24, in <module>
from .db_postprocess import DBPostProcess, DistillationDBPostProcess
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\postprocess\db_postprocess.py", line 26, in <module>
import pyclipper
ModuleNotFoundError: No module named 'pyclipper'
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install pyclipper -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting pyclipper
Downloading http://mirrors.aliyun.com/pypi/packages/de/73/b8f63df0951f4a1eb498275236092073ff771f26d79a2b5be66aaf8802db/pyclipper-1.3.0.post4-cp310-cp310-win_amd64.whl (94 kB)
---------------------------------------- 94.5/94.5 kB 1.3 MB/s eta 0:00:00
Installing collected packages: pyclipper
Successfully installed pyclipper-1.3.0.post4
E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch
Traceback (most recent call last):
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\PPOCRLabel.py", line 40, in <module>
from paddleocr import PaddleOCR, PPStructure
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\paddleocr.py", line 34, in <module>
from tools.infer import predict_system
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_system.py", line 33, in <module>
import tools.infer.predict_det as predict_det
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_det.py", line 31, in <module>
from ppocr.data import create_operators, transform
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\__init__.py", line 35, in <module>
from ppocr.data.imaug import transform, create_operators
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\imaug\__init__.py", line 19, in <module>
from .iaa_augment import IaaAugment
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\imaug\iaa_augment.py", line 24, in <module>
import imgaug
ModuleNotFoundError: No module named 'imgaug'
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install imgaug -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting imgaug
Downloading http://mirrors.aliyun.com/pypi/packages/66/b1/af3142c4a85cba6da9f4ebb5ff4e21e2616309552caca5e8acefe9840622/imgaug-0.4.0-py2.py3-none-any.whl (948 kB)
---------------------------------------- 948.0/948.0 kB 800.2 kB/s eta 0:00:00
Requirement already satisfied: imageio in d:\programdata\anaconda32\lib\site-packages (from imgaug) (2.26.0)
Requirement already satisfied: opencv-python in d:\programdata\anaconda32\lib\site-packages (from imgaug) (4.7.0.72)
Requirement already satisfied: Shapely in d:\programdata\anaconda32\lib\site-packages (from imgaug) (2.0.1)
Requirement already satisfied: matplotlib in d:\programdata\anaconda32\lib\site-packages (from imgaug) (3.7.0)
Requirement already satisfied: scikit-image>=0.14.2 in d:\programdata\anaconda32\lib\site-packages (from imgaug) (0.19.3)
Requirement already satisfied: six in d:\programdata\anaconda32\lib\site-packages (from imgaug) (1.16.0)
Requirement already satisfied: scipy in d:\programdata\anaconda32\lib\site-packages (from imgaug) (1.10.0)
Requirement already satisfied: Pillow in d:\programdata\anaconda32\lib\site-packages (from imgaug) (9.4.0)
Requirement already satisfied: numpy>=1.15 in d:\programdata\anaconda32\lib\site-packages (from imgaug) (1.23.5)
Requirement already satisfied: networkx>=2.2 in d:\programdata\anaconda32\lib\site-packages (from scikit-image>=0.14.2->imgaug) (2.8.4)
Requirement already satisfied: packaging>=20.0 in d:\programdata\anaconda32\lib\site-packages (from scikit-image>=0.14.2->imgaug) (22.0)
Requirement already satisfied: PyWavelets>=1.1.1 in d:\programdata\anaconda32\lib\site-packages (from scikit-image>=0.14.2->imgaug) (1.4.1)
Requirement already satisfied: tifffile>=2019.7.26 in d:\programdata\anaconda32\lib\site-packages (from scikit-image>=0.14.2->imgaug) (2021.7.2)
Requirement already satisfied: contourpy>=1.0.1 in d:\programdata\anaconda32\lib\site-packages (from matplotlib->imgaug) (1.0.5)
Requirement already satisfied: python-dateutil>=2.7 in d:\programdata\anaconda32\lib\site-packages (from matplotlib->imgaug) (2.8.2)
Requirement already satisfied: cycler>=0.10 in d:\programdata\anaconda32\lib\site-packages (from matplotlib->imgaug) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in d:\programdata\anaconda32\lib\site-packages (from matplotlib->imgaug) (4.25.0)
Requirement already satisfied: kiwisolver>=1.0.1 in d:\programdata\anaconda32\lib\site-packages (from matplotlib->imgaug) (1.4.4)
Requirement already satisfied: pyparsing>=2.3.1 in d:\programdata\anaconda32\lib\site-packages (from matplotlib->imgaug) (3.0.9)
Installing collected packages: imgaug
Successfully installed imgaug-0.4.0
E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch
Traceback (most recent call last):
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\PPOCRLabel.py", line 40, in <module>
from paddleocr import PaddleOCR, PPStructure
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\paddleocr.py", line 34, in <module>
from tools.infer import predict_system
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_system.py", line 33, in <module>
import tools.infer.predict_det as predict_det
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_det.py", line 31, in <module>
from ppocr.data import create_operators, transform
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\__init__.py", line 35, in <module>
from ppocr.data.imaug import transform, create_operators
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\imaug\__init__.py", line 47, in <module>
from .ct_process import *
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\imaug\ct_process.py", line 22, in <module>
import Polygon as plg
ModuleNotFoundError: No module named 'Polygon'
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install Polygon3 -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting Polygon3
Using cached Polygon3-3.0.9.1-cp310-cp310-win_amd64.whl
Installing collected packages: Polygon3
Successfully installed Polygon3-3.0.9.1
E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch
Traceback (most recent call last):
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\PPOCRLabel.py", line 40, in <module>
from paddleocr import PaddleOCR, PPStructure
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\paddleocr.py", line 34, in <module>
from tools.infer import predict_system
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_system.py", line 33, in <module>
import tools.infer.predict_det as predict_det
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_det.py", line 31, in <module>
from ppocr.data import create_operators, transform
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\__init__.py", line 35, in <module>
from ppocr.data.imaug import transform, create_operators
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\imaug\__init__.py", line 48, in <module>
from .drrg_targets import DRRGTargets
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\imaug\drrg_targets.py", line 21, in <module>
from lanms import merge_quadrangle_n9 as la_nms
ModuleNotFoundError: No module named 'lanms'
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install lanms -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting lanms
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/96/c0/50dc2c857ed060e907adaef31184413a7706e475c322236d346382e45195/lanms-1.0.2.tar.gz (973 kB)
---------------------------------------- 973.4/973.4 kB 1.5 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 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\Administrator\AppData\Local\Temp\pip-install-78gv2eqm\lanms_5f89440877a447dab08601ebc80d9a9a\setup.py", line 27, in <module>
if subprocess.call(['make', '--always-make','-C', BASE_DIR]) != 0:
File "D:\ProgramData\anaconda32\lib\subprocess.py", line 345, in call
with Popen(*popenargs, **kwargs) as p:
File "D:\ProgramData\anaconda32\lib\subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\ProgramData\anaconda32\lib\subprocess.py", line 1440, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
[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.
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install Cython -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting Cython
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f2/01/e4e0c2c3fd528f0bfd7fc63edeb7b361cb4789fe173eb63feb5b398cf067/Cython-0.29.35-py2.py3-none-any.whl (988 kB)
---------------------------------------- 988.4/988.4 kB 2.4 MB/s eta 0:00:00
Installing collected packages: Cython
Successfully installed Cython-0.29.35
E:\paddleOCR\PaddleOCR\PPOCRLabel>
E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch
Traceback (most recent call last):
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\PPOCRLabel.py", line 40, in <module>
from paddleocr import PaddleOCR, PPStructure
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\paddleocr.py", line 34, in <module>
from tools.infer import predict_system
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_system.py", line 33, in <module>
import tools.infer.predict_det as predict_det
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_det.py", line 31, in <module>
from ppocr.data import create_operators, transform
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\__init__.py", line 35, in <module>
from ppocr.data.imaug import transform, create_operators
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\imaug\__init__.py", line 48, in <module>
from .drrg_targets import DRRGTargets
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\imaug\drrg_targets.py", line 21, in <module>
from lanms import merge_quadrangle_n9 as la_nms
ModuleNotFoundError: No module named 'lanms'
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install lanms-nova
Collecting lanms-nova
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001960ED404F0>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/96/d5/8f5d23d0fa49f96ff2b82d7047160311430199eeb15e5163f36b6213af2d/lanms-nova-1.0.3.tar.gz
Downloading lanms-nova-1.0.3.tar.gz (219 kB)
---------------------------------------- 219.3/219.3 kB 26.1 kB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in d:\programdata\anaconda32\lib\site-packages (from lanms-nova) (1.23.5)
Building wheels for collected packages: lanms-nova
Building wheel for lanms-nova (setup.py) ... done
Created wheel for lanms-nova: filename=lanms_nova-1.0.3-cp310-cp310-win_amd64.whl size=104582 sha256=025652169ca2f6bebf254bcad984c0de08092f4ecc69533766b80140e88ad2f5
Stored in directory: c:\users\administrator\appdata\local\pip\cache\wheels\ce\82\81\b98d44f2883bdef36abee58080124974ce56b0268a44a4a4d7
Successfully built lanms-nova
Installing collected packages: lanms-nova
Successfully installed lanms-nova-1.0.3
E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch
Traceback (most recent call last):
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\PPOCRLabel.py", line 40, in <module>
from paddleocr import PaddleOCR, PPStructure
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\paddleocr.py", line 34, in <module>
from tools.infer import predict_system
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_system.py", line 33, in <module>
import tools.infer.predict_det as predict_det
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\tools\infer\predict_det.py", line 31, in <module>
from ppocr.data import create_operators, transform
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\__init__.py", line 37, in <module>
from ppocr.data.lmdb_dataset import LMDBDataSet, LMDBDataSetSR
File "E:\paddleOCR\PaddleOCR\PPOCRLabel\..\ppocr\data\lmdb_dataset.py", line 17, in <module>
import lmdb
ModuleNotFoundError: No module named 'lmdb'
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install lmdb
Collecting lmdb
Downloading lmdb-1.4.1-cp310-cp310-win_amd64.whl (100 kB)
---------------------------------------- 100.1/100.1 kB 12.9 kB/s eta 0:00:00
Installing collected packages: lmdb
Successfully installed lmdb-1.4.1
E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch
download https://paddleocr.bj.bcebos.com/PP-OCRv3/chinese/ch_PP-OCRv3_det_infer.tar to C:\Users\Administrator/.paddleocr/whl\det\ch\ch_PP-OCRv3_det_infer\ch_PP-OCRv3_det_infer.tar
100%|█████████████████████████████████████████████████████████████████████████████| 3.83M/3.83M [00:08<00:00, 442kiB/s]
download https://paddleocr.bj.bcebos.com/PP-OCRv3/chinese/ch_PP-OCRv3_rec_infer.tar to C:\Users\Administrator/.paddleocr/whl\rec\ch\ch_PP-OCRv3_rec_infer\ch_PP-OCRv3_rec_infer.tar
100%|█████████████████████████████████████████████████████████████████████████████| 11.9M/11.9M [00:26<00:00, 457kiB/s]
download https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_mobile_v2.0_cls_infer.tar to C:\Users\Administrator/.paddleocr/whl\cls\ch_ppocr_mobile_v2.0_cls_infer\ch_ppocr_mobile_v2.0_cls_infer.tar
100%|█████████████████████████████████████████████████████████████████████████████| 2.19M/2.19M [00:05<00:00, 399kiB/s]
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.(需要执行 pip uninstall numpy)
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip uninstall numpy
Found existing installation: numpy 1.23.5
Uninstalling numpy-1.23.5:
Would remove:
d:\programdata\anaconda32\lib\site-packages\numpy-1.23.5.dist-info\*
d:\programdata\anaconda32\lib\site-packages\numpy\*
d:\programdata\anaconda32\scripts\f2py-script.py
d:\programdata\anaconda32\scripts\f2py.exe
Proceed (Y/n)? y
Successfully uninstalled numpy-1.23.5
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install numpy
ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
ERROR: No matching distribution found for numpy
E:\paddleOCR\PaddleOCR\PPOCRLabel>pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting numpy
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/65/5d/46da284b0bf6cfbf04082c3c5e84399664d69e41c11a33587ad49b0c64e5/numpy-1.24.3-cp310-cp310-win_amd64.whl (14.8 MB)
---------------------------------------- 14.8/14.8 MB 204.6 kB/s eta 0:00:00
Installing collected packages: numpy
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.
gensim 4.3.0 requires FuzzyTM>=0.4.0, which is not installed.
numba 0.56.4 requires numpy<1.24,>=1.18, but you have numpy 1.24.3 which is incompatible.
Successfully installed numpy-1.24.3
E:\paddleOCR\PaddleOCR\PPOCRLabel>python PPOCRLabel.py --lang ch
D:\ProgramData\anaconda32\lib\site-packages\skimage\util\dtype.py:27: DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`. (Deprecated NumPy 1.24)
np.bool8: (False, True),
download https://paddleocr.bj.bcebos.com/ppstructure/models/slanet/ch_ppstructure_mobile_v2.0_SLANet_infer.tar to C:\Users\Administrator/.paddleocr/whl\table\ch_ppstructure_mobile_v2.0_SLANet_infer\ch_ppstructure_mobile_v2.0_SLANet_infer.tar
100%|████████████████████████████████████████████████████████████████████████████| 10.3M/10.3M [03:01<00:00, 56.7kiB/s]
download https://paddleocr.bj.bcebos.com/ppstructure/models/layout/picodet_lcnet_x1_0_fgd_layout_cdla_infer.tar to C:\Users\Administrator/.paddleocr/whl\layout\picodet_lcnet_x1_0_fgd_layout_cdla_infer\picodet_lcnet_x1_0_fgd_layout_cdla_infer.tar
100%|█████████████████████████████████████████████████████████████████████████████| 10.1M/10.1M [00:50<00:00, 199kiB/s]
[2023/06/15 15:44:19] ppocr WARNING: When args.layout is false, args.ocr is automatically set to false