khoj plugin in obsidian ends with error ensure khoj backend is running and khoj url is pointing to it in plugin settings #155
Replies: 1 comment 4 replies
-
Hi @arisugawaa, thanks for sharing details in a github discussion
This is a problem as the correct numpy package version required by khoj is not loaded pip install --upgrade --pre khoj-assistant
khoj --no-gui -vv |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
khoj plugin in obsidian ends with error ensure khoj backend is running and khoj url is pointing to it in plugin settings
i have followed the steps stated in the reddit post and in the repo demo:
executed pip install khoj-assistant && khoj --no-gui in terminal
and installed and turned on khoj obsidian plugin
error appears when i try to use the khoj search feature
What do you see in your terminal when your start the khoj backend with khoj --no-gui -vv
C:\Python310\lib\site-packages\src\utils\state.py:34: UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:77.)
device = torch.device("cpu")
INFO: 2023-02-12 16:07:54,679: src | Starting Khoj...
WARNING: 2023-02-12 16:07:58,204: src.configure | Khoj is not configured.
Configure it via khoj GUI, plugins or by editing C:\Users\jonat.khoj\khoj.yml.
INFO: Started server process [22640]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
What is your current operating system?
Windows 10
What is your current python version with python -V, current pip version pip -V and khoj version with khoj -V?
Python 3.10.9
pip 23.0 from C:\Python310\lib\site-packages\pip (python 3.10)
C:\Python310\lib\site-packages\src\utils\state.py:34: UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:77.)
device = torch.device("cpu")
usage: khoj [-h] [--config-file CONFIG_FILE] [--no-gui] [--regenerate] [--verbose] [--host HOST] [--port PORT]
[--socket SOCKET] [--version]
khoj: error: unrecognized arguments: version with khoj
my khoj url in obsidian is http://localhost:8000
Beta Was this translation helpful? Give feedback.
All reactions