You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an exception handling error within handling error in pytesseract.py file from your code.
There is exception handling error in line mentioned below
if name == 'main':
exit(main())
and also in line
try:
proc = subprocess.Popen(cmd_args, **subprocess_args())
except OSError as e:
if e.errno != ENOENT:
raise
else: raise TesseractNotFoundError()
The error is as mentioned below:
installed or it's not in your PATH. See README file for more information.
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 255, in run_tesseract
proc = subprocess.Popen(cmd_args, **subprocess_args())
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 259, in run_tesseract
else: raise TesseractNotFoundError()
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 287, in run_and_get_output
run_tesseract(**kwargs)
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 425, in
Output.STRING: lambda: run_and_get_output(*args),
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 422, in image_to_string
return {
File "D:\know_your_medicine-master\medicine_details.py", line 29, in
text = pytesseract.image_to_string(Image.open(src_path + filename))
pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your PATH. See README file for more information.
can you please check the error and write me back also please give me code or method to remove error.
Please get back to me.
Thank you.
The text was updated successfully, but these errors were encountered:
There is an exception handling error within handling error in pytesseract.py file from your code.
There is exception handling error in line mentioned below
if name == 'main':
exit(main())
and also in line
try:
proc = subprocess.Popen(cmd_args, **subprocess_args())
except OSError as e:
if e.errno != ENOENT:
raise
else: raise TesseractNotFoundError()
The error is as mentioned below:
installed or it's not in your PATH. See README file for more information.
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 255, in run_tesseract
proc = subprocess.Popen(cmd_args, **subprocess_args())
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 259, in run_tesseract
else: raise TesseractNotFoundError()
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 287, in run_and_get_output
run_tesseract(**kwargs)
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 425, in
Output.STRING: lambda: run_and_get_output(*args),
File "D:\know_your_medicine-master\pytesseract\pytesseract.py", line 422, in image_to_string
return {
File "D:\know_your_medicine-master\medicine_details.py", line 29, in
text = pytesseract.image_to_string(Image.open(src_path + filename))
pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your PATH. See README file for more information.
can you please check the error and write me back also please give me code or method to remove error.
Please get back to me.
Thank you.
The text was updated successfully, but these errors were encountered: