Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPA Desktop OCR - tesseract is not installed or not in PATH #1195

Open
jianyepa opened this issue Jun 13, 2024 · 3 comments
Open

RPA Desktop OCR - tesseract is not installed or not in PATH #1195

jianyepa opened this issue Jun 13, 2024 · 3 comments

Comments

@jianyepa
Copy link

jianyepa commented Jun 13, 2024

Tesseract has been installed to path - C:\Program Files\Tesseract-OCR\tesseract.exe and it's added to system environment.
However I am still constantly getting the error of OSError: tesseract is not installed or not in PATH, see library documentation for installation instructions

Am I doing anything wrong? Please advise

@mikahanninen
Copy link
Member

What is your conda.yaml and robot.yaml like ? Also can you show how you are using the tesseract in the code ?

@jianyepa
Copy link
Author

What is your conda.yaml and robot.yaml like ? Also can you show how you are using the tesseract in the code ?

I'm not running in condo environment and do not have a robot.yaml as well. Just simply calling RPA.Desktop.Click ocr:"Open File"

I then added this line pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe' in C:\users\<user>\appdata\local\programs\python\python310\lib\site-packages\RPA\recognition\ocr.py
I'm curios how RPA retrieve the path of tesseract.

@ProJolle
Copy link

I have same issue, any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants