question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting error on uploading Pack.zip for Tesseract

See original GitHub issue
START RequestId: c1cf2730-90e1-11e8-8015-797f4abdd12c Version: $LATEST
Unable to import module 'main': No module named httplib2

END RequestId: c1cf2730-90e1-11e8-8015-797f4abdd12c
REPORT RequestId: c1cf2730-90e1-11e8-8015-797f4abdd12c	Duration: 0.31 ms	Billed Duration: 100 ms 	Memory Size: 512 MB	Max Memory Used: 20 MB	

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ryfeuscommented, Aug 2, 2018

@ankitsam Handler is supposed to be “service.handler” or you can change service.py file to main.py file.

0reactions
ryfeuscommented, Aug 3, 2018

@ankitsam It is also set here https://github.com/ryfeus/lambda-packs/blob/master/Tesseract/source/serverless.yml but it shouldn’t matter since you are using apex.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tesseract OCR on AWS Lambda via virtualenv - Stack Overflow
The tesseract-lambda.zip file have everything lambda needs to run tesseract. The last thing to do is add the lambda function at the root...
Read more >
Installing Tesseract for OCR - PyImageSearch
Learn how to install the Tesseract library for OCR, then apply Tesseract to your own images for optical character recognition.
Read more >
Getting started with tesseract-ocr in a web app. - Google Groups
I downloaded the tesseract-master.zip file, upload it to my web server and unzipped it. Since tesseract-ocr doesn't have a UI I don't know...
Read more >
Installing and using Tesseract 4 on Ubuntu 18.04 - Medium
If you it is not installed properly, you will get some errors. That means you have to check for your operating system and...
Read more >
Install Tesseract OCR on Linux
In my case, I got an error when trying to train Tesseract. The Arial Bold font was missing. I solved this by running...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found