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)
You need to install tesseract-ocr:
tesseract-ocr
sudo apt-get install tesseract-ocr