Closed HamedMP closed 1 year ago
Hey @HamedMP ! Sorry about the setup issues. i've seen this before, and the root cause is usually a missing rust installation.
these instructions would be helpful for installing rust -- https://docs.khoj.dev/#/setup?id=install-fails-while-building-tokenizer-dependency. Could you try that out and let me know if it works?
brew install rustup
rustup-init
source ~/.cargo/env
Thanks @sabaimran, I've tried rustup-init
but I get the error that PATH already exist.
error: could not create link from '/Users/hamed/.cargo/bin/rustup' to '/Users/hamed/.cargo/bin/rustfmt': File exists (os error 17)
Running rustc --version
gives:
❯ rustc --version
rustc 1.66.0 (69f9c33d7 2022-12-12)
I just looked up safetensors
specifically and found this thread
Installing rust in my conda environment resolved the issue. So it was mainly conda-related.
❯ conda install -c conda-forge rust
P.s. After running khoj
, I didn't see any info that I need to go to http://127.0.0.1:42110
to see the interface. Adding it to the doc would be amazing <3
Found the URL from the Obsidian plugin settings 😄
Hi,
Super interesting project.
I created a new conda env with python 11
conda create -n khoj python=3.11
and ran the pip installation, but got the following error.Any idea how to resolve it?
I'm on Mac M1, with the latest MacOS 13.5.1.