[未解决]报错: pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in y

时间:2022-07-25
本文章向大家介绍[未解决]报错: pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in y,主要内容包括其使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

报错代码

try:
    from PIL import Image
except ImportError:
    import image
import pytesseract

print(pytesseract.image_to_string(Image.open("images/words.png")))

报错内容

pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your path