From 8c7ffd7aeea8f9a781e7090e7246b2792571145c Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Thu, 5 Jan 2023 20:09:36 -0300 Subject: [PATCH] Add Readme doc to fix failure to build tokenizer dependency --- Readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Readme.md b/Readme.md index 9312f3b9..24ffd318 100644 --- a/Readme.md +++ b/Readme.md @@ -168,6 +168,14 @@ pip install --upgrade khoj-assistant - Symptom: Errors out with \"Killed\" in error message in Docker - Fix: Increase RAM available to Docker Containers in Docker Settings - Refer: [StackOverflow Solution](https://stackoverflow.com/a/50770267), [Configure Resources on Docker for Mac](https://docs.docker.com/desktop/mac/#resources) +- Symptom: `pip install khoj-assistant` fails while building the `tokenizers` dependency. Complains about Rust. + - Fix: Install Rust to build the tokenizers package. For example on Mac run: + ```shell + brew install rustup + rustup-init + source ~/.cargo/env + ``` + - Refer: [Issue with Fix](https://github.com/debanjum/khoj/issues/82#issuecomment-1241890946) for more details # Advanced Usage ## Access Khoj on Mobile