Treffy
Pytesseract project setup: How do I get the package install location?
Hello, I'm struggling with making a discord bot using Pytesseract, I got it running but I don't know how to get the installation path of the tesseract to fix the message:
/app/.apt/usr/bin/tesseract is not installed or it's not in your PATH. See README file for more information.
.
I read in an overflow question how to deploy using pytesseract but the instructions are from Heroku, the answer tells me to:
- Add a build pack. ✅ https://discord.com/channels/713503345364697088/1139391639232712734
- Create an Aptfile. ✅
- Find the tessdata folder to set the variable. ❔
link: https://stackoverflow.com/a/56457594
What I've tried:
- Run bash with railway. (only runs locally)
- Tried to create a docker to see if I can get a path or some clue.
Project ID: bf07da5c-d35e-4b6d-a262-c39207f4488c
nixpacks.toml
Procfile
requirements.txt
Sorry if this question sounds stupid, I'm coming from front-end and I'm totally stupid with it. 😦20 replies