Windowserror happened.
Message=[error 2]
StackTrace:
The c:\python27amd64\lib\subprocess.py:640 in Popen._execute_child
The c:\python27amd64\lib\subprocess.py:390 in popen.__init__
The c:\python27amd64\lib\site-packages\pytesseract\pytesseract.py:47 in Run_tesseract
The c:\python27amd64\lib\site-packages\pytesseract\pytesseract.py:123 in image_to_string
The C:\users\yu-we\desktop\projects\toolssuite\pythondatacatcher\imageidentification.py:9 in GETIMAGEDATE.M
Download the configuration path by tutorial
Pytesseract PIL
and installation TESSERACT-OCR
The above error occurred:
Cause: The program file was not found when the child process was started. Under Check, it is a path problem. There is no problem with the path, but it is wrong. Add a R to the front
Solve.
What does adding R mean?
Cited:
Open (R ' C: \ ... ') when opening a file
Plus R and no ' R ' are different
' R ' is to prevent character escaping if ' \ t ' in the path does not add r, then \ t will be escaped and added ' R ' after ' \ t ' can retain the original appearance
The string assignment is preceded by ' R ' to prevent the string from escaping when the principle is to precede the escape character with ' \ '
Python Image Recognition Error 2