linux 环境安装 paddleocr lmdb错误
Created by: wxy521131418
Collecting lmdb Using cached lmdb-1.0.0.tar.gz (876 kB) ERROR: Command errored out with exit status 1: command: /root/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5myjdq92/lmdb/setup.py'"'"'; file='"'"'/tmp/pip-install-5myjdq92/lmdb/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-4lbn191h cwd: /tmp/pip-install-5myjdq92/lmdb/ Complete output (7 lines): sh: /usr/bin/patch: 没有那个文件或目录 py-lmdb: Using bundled liblmdb with py-lmdb patches; override with LMDB_FORCE_SYSTEM=1 or LMDB_PURE=1. Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-5myjdq92/lmdb/setup.py", line 119, in raise Exception('Applying patch failed') Exception: Applying patch failed ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. (base) [root@localhost PaddleOCR-develop]#