apirrone / Memento

Memento is a Python app that records everything you do on your computer and lets you go back in time, search, and chat with a LLM (Large Language Model) to find back information about what you did.
MIT License
482 stars 37 forks source link

Hey, I met this issue on a ubuntu 22.04 virtual machine which installed on the real macOS machine #80

Closed l16659 closed 2 months ago

l16659 commented 2 months ago

image

l16659 commented 2 months ago

tesserocr is a big headache. I will really appreciate if you have any idea for install tesserocr==2.6.1. I have installed the latest tesserocr, but memento-bg doesn't work.

apirrone commented 2 months ago

Hi @l16659 ! Did you install tesseract like this ?

$ sudo apt update
$ sudo add-apt-repository ppa:alex-p/tesseract-ocr-devel
$ sudo apt install tesseract-ocr

If yes, can you run this and show me the output ?

$ tesseract -v

Thanks !

l16659 commented 2 months ago

Thanks very much, It works after i use the real ubuntu machine. I use these command: `sudo add-apt-repository universe sudo apt update sudo apt install python3-pip sudo apt install git git clone https://github.com/apirrone/Memento.git

pip install -e . sudo apt update sudo add-apt-repository ppa:alex-p/tesseract-ocr-devel sudo apt install tesseract-ocr sudo apt install tesseract-ocr-eng sudo apt install tesseract-ocr-fra export TESSDATA_PREFIX=/usr/share/tesseract-ocr/5/tessdata/

 apt-get install tesseract-ocr libtesseract-dev libleptonica-dev pkg-config`

And I have tried other gpt model with a agent(because i'm in china), it works. This is a really good project.