layout-parser
layout-parser copied to clipboard
google-api-core error with lp.TesseractAgent(languages='eng')
Describe the bug
code: ocr_agent = lp.TesseractAgent(languages='eng')
Error: ContextualVersionConflict: (google-api-core 2.11.0 (/usr/local/lib/python3.10/dist-packages), Requirement.parse('google-api-core[grpc]<2.0.0dev,>=1.14.0'), {'google-cloud-vision'})
Checklist
- I have searched related issues but cannot get the expected help.
- The bug has not been fixed in the latest version, see the Layout Parser Releases
To Reproduce Steps to reproduce the behavior:
- What command or script did you run?
ocr_agent = lp.TesseractAgent(languages='eng')
Environment
- Platform: Google Colab