-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't locate python install with Conda environment #33
Comments
The same issue here. I noticed that when I inset path to env python executable, it automatically removes "/" on the begginign: "~" tilde for home does not work either. Just for clarity, environment is well installed:
|
The issue is connected with usage of Namely obsidian-latex-ocr/src/settings.ts Line 182 in 4e9d34d
and obsidian-latex-ocr/src/settings.ts Line 189 in 4e9d34d
according to https://forum.obsidian.md/t/normalizepath-removes-a-leading/24713'
Therefore, a possible solution may be the creation of a virtual environment within the vault. I also do not recommend installing @lucasvanmol or @SubsequentlySneeds, please check this. I have no single line written in TypeScript, and it would take me ages to set up the environment to change that one import and then test it. So sorry for not opening the pull request. |
Thanks for looking into this so thoroughly! Unfortunately I'm away on holiday for next week so this might take a while before I can get to this |
Btw. I created Venv within the vault. And the error message remains. There is probably also issue with how the "python" command is executed. |
Describe the bug
In Local Python Model Configuration, I changed Python path to
~/miniconda3/bin/python3
, which can run thelatex_ocr_server
in terminal.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:
pip install latex-ocr-server
~/miniconda3/bin/python3
Environment
I am on:
Using the model:
The text was updated successfully, but these errors were encountered: