美文网首页
pip3 install tesserocr pillow 安装

pip3 install tesserocr pillow 安装

作者: MichaelWong6677 | 来源:发表于2019-05-15 21:52 被阅读0次

creating build

 creating build/temp.macosx-10.6-intel-3.6

  gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototyp

tesserocr.cpp:648:10: fatal error: 'ios' file not found

  #include "ios"

          ^~~~~

  1 warning and 1 error generated.

  error: command 'gcc' failed with exit status 1

  ----------------------------------------

  ERROR: Failed building wheel for tesseroc

解决方法:

sudo CFLAGS="-mmacosx-version-min=10.14" pip3 install tesserocr

10.14对应mac os版本号

相关文章

网友评论

      本文标题:pip3 install tesserocr pillow 安装

      本文链接:https://www.haomeiwen.com/subject/qmhfyttx.html