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版本号
网友评论