How to install Tesserocr on Mac

Solution 1:

To install tesserocr's dependencies on macOS, you can use a package manager like Homebrew or macports. These install the C/C++ libraries and executables that are needed.

For either of them you need to install the base package manager the install tesseract

For Homebrew brew install tesseract

For Macports sudo port install teseract

After that you will be able to install you tesserocr wrapper using pip install without errors:

pip install tesserocr