!strcmp(locale, "C"):Error:Assert failed:in file baseapi.cpp, line 209 Illegal instruction: 4

调用tesserocr 出现这个问题

!strcmp(locale, "C"):Error:Assert failed:in file baseapi.cpp, line 209
Illegal instruction: 4

在进入python3前输入以下命令行

export LC_ALL=C

然后再进入python3就可以正常调用了

你可能感兴趣的:(!strcmp(locale, "C"):Error:Assert failed:in file baseapi.cpp, line 209 Illegal instruction: 4)