Issue
I am developing a WebApp with Django that allows users to upload an image, and "read" the text present in the image.I am using pytesseract to do this task. Everything worked well on my local machine, however when deploying this app on Linode (Ubuntu 18.04 LTS server) I keep getting an error. I am curious if this is due to my code, or due to the nature of linode/pytesseract. I have read online that some hosting companies have anti-virus software that could hinder the use of such packages. Does anyone have advice or any insight on this topic? I am fairly new to web dev. so any advice will help...
Solution
The file you are trying to execute ends in .exe, which indicates that you are trying to run a Windows program, but your server runs Linux.
You should be able to run pytessaract, but you will have to use a Linux version of pytessaract.
Answered By - Daniel Hepper
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.