Layout-Parser / layout-parser

A Unified Toolkit for Deep Learning Based Document Image Analysis
https://layout-parser.github.io/
Apache License 2.0
4.64k stars 449 forks source link

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

Open mlbrothers opened 1 year ago

mlbrothers commented 1 year ago

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