当前位置:主页 > 软件编程 > Python代码 >

Tesserocr库的正确安装方式

时间:2021-02-19 15:18:38 | 栏目:Python代码 | 点击:

win10,直接使用 pip install tesserocr 的命令

如果输出如下错误提示:

tesserocr.cpp(596): fatal error C1083: 无法打开包括文件: “ leptonica/allheaders.h ”: No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2

直接用Anaconda 重装Python

使用命令行输入: conda install -c simonflueckiger tesserocr

安装的结果即为:

tesserocr 库安装成功!

总结

您可能感兴趣的文章:

相关文章