Search code examples
pythonpython-2.7ocrtesseract

Installing pytesser


I'm new to python and would like to install and use the pytesser OCR library. All of the other modules that I've installed, I've used easy_install, which has worked fine. But pytesser is the first that I've had to install by hand using Google Code's .zip file.

Per the instructions in the readme (https://code.google.com/p/pytesser/wiki/README) I extracted the contexts to my C:\Python27\Scripts file. However when I try:

from pytesser import *

within the Python Shell, I get the following error:

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    from pytesser import *
ImportError: No module named pytesser

Any ideas? Windows 7. Python 2.7. My other scripts using modules such as PIL, Scrapy, Numpy have been working fine.

Thanks, Tom


Solution

  • You should not use C:\Python27\Scripts for 3rd party modules, you should use C:\Python27\Lib\site-packages instead.