pip3 install tesserocr pillow 安装

2019-05-15  本文已影响0人  MichaelWong6677

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版本号

上一篇下一篇

猜你喜欢

热点阅读