From d5000c63e13105da5f1a51eb2e09b136a27a13d0 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sun, 16 Apr 2023 20:17:20 +0700 Subject: [PATCH] Update Readmes to use python -m pip install khoj-assistant Makes it easier to tell pip associated with which python is being used. Easier to debug when users have different versions of python installed (e.g 3.10 and 3.11) --- README.md | 11 ++++++++--- src/interface/obsidian/README.md | 13 ++++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 65b843ed8..644bf4e2d 100644 --- a/README.md +++ b/README.md @@ -119,10 +119,15 @@ These are the general setup instructions for Khoj. Its simpler as it can skip the *configure* step below. ### 1. Install +- On Linux/MacOS + ```shell + python -m pip install khoj-assistant + ``` -```shell -pip install khoj-assistant -``` +- On Windows + ```shell + py -m pip install khoj-assistant + ``` ### 2. Run diff --git a/src/interface/obsidian/README.md b/src/interface/obsidian/README.md index 8b019b988..c09d37c1d 100644 --- a/src/interface/obsidian/README.md +++ b/src/interface/obsidian/README.md @@ -62,9 +62,16 @@ https://user-images.githubusercontent.com/6413477/210486007-36ee3407-e6aa-4185-8 ### 1. Setup Backend Open terminal/cmd and run below command to install and start the khoj backend -```shell -pip install khoj-assistant && khoj --no-gui -``` +- On Linux/MacOS + ```shell + python -m pip install khoj-assistant && khoj --no-gui + ``` + +- On Windows + ```shell + py -m pip install khoj-assistant && khoj --no-gui + ``` + ### 2. Setup Plugin 1. Open [Khoj](https://obsidian.md/plugins?id=khoj) from the *Community plugins* tab in Obsidian settings panel 2. Click *Install*, then *Enable* on the Khoj plugin page in Obsidian