I have installed Anaconda on windows after my Python3.4 installation.
I'm referring this link : http://benedict-chan.github.io/blog/2014/11/07/setup-python-environment-in-visual-studio/ to setup anaconda from my VS2015 and Windows 10 like this:
I have written the following code by referring this : http://www.manejandodatos.es/2014/11/ocr-python-easy/ to read text from an image.
However, I'm getting below error:
What am I doing wrong?
Moreover, When I checked back the setting (from Tools ->Options) as below, its setting to default Python34.
Is it that, the Anaconda setting is not persistent , due to which the run time error is showing up?
Note: When I tried to install PIL using pip its saying PIL is install during Anaconda installation.
Edit:
The PIL error is resolved by setting Anaconda as default environment like below:
However, I'm getting same kind of error on the next line. That is "No module name pytesser"
Note: I was following this ( http://techqa.info/programming/tag/ocr?after=39453936 ); When I tried to install "tesseract" using pip its saying : Requirement already satisfied - Below message
C:\ProgramData\Anaconda3\Lib\site-packages\pytesser>pip install tesseract
Requirement already satisfied: tesseract in
c:\programdata\anaconda3\lib\site-packages
As per this( Pytesser in Python 3.4: name 'image_to_string' is not defined? ) . It looks like it only support 2.7 version, but not 3.. Still,
How can I resolve this? Please suggest? Thanks.