Replies: 5 comments
-
Hey @Cossackx, what is your python version? (You can check that with This could be because the python version you're using isn't supported by Khoj. Khoj currently work with python 3.8 to 3.10. (As python 3.11 isn't supported by pytorch, a dependency for Khoj) |
Beta Was this translation helpful? Give feedback.
-
@debanjum That's it! I'm on 3.11. Thanks for the sanity check! |
Beta Was this translation helpful? Give feedback.
-
@debanjum, maybe you can assist again... When I do this step...
pip install khoj-assistant && khoj --no-gui I get... Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
I'm guessing this is because the Python scripts directory is not added to your PATH (where installed scripts/commands are searched for) Assuming you're using python 3.10 (and on windows), to run the khoj script from its installed location try run this from your terminal: |
Beta Was this translation helpful? Give feedback.
-
Converted this to a discussion as it doesn't seem like a bug with khoj. |
Beta Was this translation helpful? Give feedback.
-
Any idea how to fix this?
Using cached khoj_assistant-0.1.2-py3-none-any.whl (142 kB)
Using cached khoj_assistant-0.1.0-py3-none-any.whl (51 kB)
ERROR: Cannot install khoj-assistant==0.1.0, khoj-assistant==0.1.10, khoj-assistant==0.1.2, khoj-assistant==0.1.3, khoj-assistant==0.1.4, khoj-assistant==0.1.5, khoj-assistant==0.1.6, khoj-assistant==0.1.7, khoj-assistant==0.1.8, khoj-assistant==0.1.9, khoj-assistant==0.2.0, khoj-assistant==0.2.1 and khoj-assistant==0.2.5 because these package versions have conflicting dependencies.
The conflict is caused by:
khoj-assistant 0.2.5 depends on torch==1.13.1
khoj-assistant 0.2.1 depends on torch==1.12.1
khoj-assistant 0.2.0 depends on torch==1.12.1
khoj-assistant 0.1.10 depends on torch==1.12.1
khoj-assistant 0.1.9 depends on torch==1.12.1
khoj-assistant 0.1.8 depends on torch==1.12.1
khoj-assistant 0.1.7 depends on torch==1.12.1
khoj-assistant 0.1.6 depends on torch==1.11.0
khoj-assistant 0.1.5 depends on torch==1.11.0
khoj-assistant 0.1.4 depends on torch==1.11.0
khoj-assistant 0.1.3 depends on torch==1.11.0
khoj-assistant 0.1.2 depends on torch==1.11.0
khoj-assistant 0.1.0 depends on torch==1.11.0
To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Beta Was this translation helpful? Give feedback.
All reactions