Python 无法在Mac上安装tesserocr
我正在尝试使用以下命令安装tesserocr:Python 无法在Mac上安装tesserocr,python,django,macos,ocr,tesseract,Python,Django,Macos,Ocr,Tesseract,我正在尝试使用以下命令安装tesserocr: pip install tesserocr 但我得到了一个错误: tesserocr.cpp:298:10:致命错误:找不到“实用工具”文件 #包括 ^~~~~~~~~ 生成1个警告和1个错误。 错误:命令“/usr/bin/clang”失败,退出状态为1 我已使用以下方法安装tesseract:brew安装tesseract 我正在使用Mojave 10.14.3。试试这个:CC=clang XCC=clang++CPPFLAGS=“-std
pip install tesserocr
但我得到了一个错误:
tesserocr.cpp:298:10:致命错误:找不到“实用工具”文件
#包括
^~~~~~~~~
生成1个警告和1个错误。
错误:命令“/usr/bin/clang”失败,退出状态为1
我已使用以下方法安装tesseract:brew安装tesseract
我正在使用Mojave 10.14.3。试试这个:
CC=clang XCC=clang++CPPFLAGS=“-stdlib=libc++-DUSE\u STD\u NAMESPACE-mmacosx version min=10.8”pip安装tesserocr
。这对我来说很好
这个最初的答案来自
祝你好运 试试这个:
CC=clang XCC=clang++CPPFLAGS=“-stdlib=libc++-DUSE\u STD\u NAMESPACE-mmacosx version min=10.8”pip安装tesserocr
。这对我来说很好
这个最初的答案来自
祝你好运 请尝试运行
brew install tesseract
,然后运行pip install tesserocr
谢谢,但它没有帮助尝试运行brew install tesseract
然后运行pip install tesserocr
谢谢,但它没有帮助
tesserocr.cpp:298:10: fatal error: 'utility' file not found
#include <utility>
^~~~~~~~~
1 warning and 1 error generated.
error: command '/usr/bin/clang' failed with exit status 1