layout-parser icon indicating copy to clipboard operation
layout-parser copied to clipboard

google-api-core error with lp.TesseractAgent(languages='eng')

Open mlbrothers opened this issue 1 year ago • 0 comments

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

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version, see the Layout Parser Releases

To Reproduce Steps to reproduce the behavior:

  1. What command or script did you run?
ocr_agent = lp.TesseractAgent(languages='eng')

Environment

  1. Platform: Google Colab

mlbrothers avatar May 22 '23 06:05 mlbrothers