pytesseract-no such file or directory error

非 Y 不嫁゛ 提交于 2019-11-27 21:56:17

You need to install tesseract-ocr:

sudo apt-get install tesseract-ocr
Shaz

If you're on windows and have PIP installed go to your project directory and run:

pip install tesseract-ocr

Based off of @padraic cunningham's answer which I tailored to my setting.

If you are on Linux (ubuntu 16, should not matter) and have a conda installation:

First search for what you need to be installing:

$ anaconda search -t conda tesserocr

You will get a few options, you need to look at the platforms and builds to identify what makes sense for you.

As I have python 3.6 and linux-64 I chose mcs07/tesserocr

To install:

$ conda install -c mcs07 tesserocr

That's it. I didn't need a restart of the terminal or anything. I just kept going.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!