当前位置: 代码迷 >> 综合 >> 解决mac pip3 install tesserocr 超时 或者报错
  详细解决方案

解决mac pip3 install tesserocr 超时 或者报错

热度:40   发布时间:2024-01-19 14:17:06.0

tesserocr 是处理OCR问题的工具
在安装过程中,可能遇到下面的问题:

Collecting tesserocrUsing cached tesserocr-2.5.1.tar.gz (54 kB)
Building wheels for collected packages: tesserocrBuilding wheel for tesserocr (setup.py) ... errorERROR: Command errored out with exit status 1:command: /Users/*****/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/r3/1zvnrkd94q58nvvrd7p_ym840000gn/T/pip-install-h7n007fs/tesserocr/setup.py'"'"'; __file__='"'"'/private/var/folders/r3/1zvnrkd94q58nvvrd7p_ym840000gn/T/pip-install-h7n007fs/tesserocr/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/r3/1zvnrkd94q58nvvrd7p_ym840000gn/T/pip-wheel-c0wgmx50cwd: /private/var/folders/r3/1zvnrkd94q58nvvrd7p_ym840000gn/T/pip-install-h7n007fs/tesserocr/Complete output (15 lines):Supporting tesseract v4.1.1Configs from pkg-config: {'library_dirs': ['/usr/local/Cellar/tesserac
  相关解决方案