安装tesserocr报错 failed with exit status 2

安装tesserocr时,首先报错缺少Microsoft Visual C++ 14.0,然后安装上Microsoft Visual C++ 14.0后,再次pip install tesserocr报错failed with exit status 2

 

解决方法

报错Microsoft Visual C++ 14.0,去https://964279924.ctfile.com/fs/1445568-239446865下载安装后即可,可能中途会提示.net版本过低,需升级到4.0,这个就不说了。

报错failed with exit status 2,去https://github.com/simonflueckiger/tesserocr-windows_build/releases下载安装对应的tesserocr第三方包即可,然后cmd进入下载目录:pip install paceage.whl

 

posted on 2019-03-31 22:33  说什么好呢  阅读(696)  评论(0编辑  收藏  举报