lucasvanmol / obsidian-latex-ocr

Generate LaTeX equations from images in your clipboard or vault
GNU General Public License v3.0
86 stars 4 forks source link

Can't locate python install with Conda environment #33

Open makamto opened 2 weeks ago

makamto commented 2 weeks ago

Describe the bug

In Local Python Model Configuration, I changed Python path to ~/miniconda3/bin/python3, which can run the latex_ocr_server in terminal.

~/miniconda3/bin/python3 -m latex_ocr_server --version
latex_ocr_server 0.1.1

However, when I check status in Obsidian, it gives error message Couldn't locate python install

I also tried /home/linux/..., or home/linux/..., both failed.

To Reproduce Steps to reproduce the behavior:

  1. Install Miniconda
  2. pip install latex-ocr-server
  3. Install Obsidian Latex OCR plugin
  4. Use local model
  5. Change Python path to ~/miniconda3/bin/python3
  6. Check status
  7. Error message `Couldn't locate python install

Environment I am on:

Using the model: