I am attempting to install PyOCR on my computer running Windows 7. I have installed Tesseract-OCR 3.05 for Windows and have added the directory containing Tesseract (C:\Program Files (x86)\Tesseract-OCR) to the PATH user variable, the Path System Variable, and created the new system variable TESSDATA_PREFIX with the Tesseract directory.
I am able to use Tesseract directly from the command line to process images, so I am confident that Tesseract was correctly installed. I also made sure to installed Tesseract with the C/C++ library files.
I know this question has been posed before, but since I have added the directories to the environmental variables, I am unsure what to try next.
Below is the output of the "get_available_tools()" method.
Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 15 2017, 03:27:45)
[MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyocr
>>> import pyocr.builders
>>> pyocr.get_available_tools()
[]
>>>