I am using Ubuntu 14.04. I have the following code:
import Image import pytesseract im = Image.open(\'test.png\') print pytesseract.image_to_string(im)
If you're on windows and have PIP installed go to your project directory and run:
pip install tesseract-ocr