如何在anaconda上为python安装tesseract

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/49234709/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 19:01:59  来源:igfitidea点击:

How to install tesseract for python on anaconda

pythonanacondapython-tesseract

提问by VK1

Does anyone know how to install tesseract for python on Anaconda? I have a windows system. The anaconda website gives the installation for a linux system:

有谁知道如何在 Anaconda 上为 python 安装 tesseract?我有一个windows系统。anaconda 网站提供了 linux 系统的安装:

conda install -c auto pytesseract 

Would there be any alterations required for a windows system?

Windows 系统是否需要进行任何更改?

回答by Yedhrab

Working Solution (? tested at Jun 2019)

工作解决方案(?在 2019 年 6 月测试)

  • ??♂? I have searched it on anaconda cloud
  • Most downloaded version (for win64) install command:
  • ??♂? 我已经在anaconda cloud上搜索过了
  • 下载最多的版本(win64)安装命令:
conda install -c mcs07 tesseract
conda install -c jim-hart pytesseract

回答by VK1

Just tried doing a pip install and it seems to have worked!

刚刚尝试进行 pip install ,它似乎奏效了!

pip install pytesseract 

回答by Sahil Rajput

To install this package with conda on Windows run one of the following:

要在 Windows 上使用 conda 安装此软件包,请运行以下操作之一:

conda install -c simonflueckiger tesserocr 
conda install -c simonflueckiger/label/tesseract-4.0.0-master tesserocr 
conda install -c simonflueckiger/label/tesseract-3.5.1 tesserocr