#StackBounty: #python #tesseract PermissionError occurred when tried to access '/usr/local/Cellar/tesseract/4.1.1/share/tessdata/&#…

Bounty: 50

I’m learning how to use tesseract, and I have just installed tesseract using homebrew and pytesseract using pip.
My code looks like this:

pytesseract.pytesseract.tesseract_cmd = "/usr/local/Cellar/tesseract/4.1.1/share/tessdata/"

#...

But when I ran it, I got this error:

PermissionError: [Errno 13] Permission denied: '/usr/local/Cellar/tesseract/4.1.1/share/tessdata/'

I’ll provide further info if you need.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.