-
-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflicting dependencies when installing #97
Comments
What command are you running to install khoj and which OS are you on? A bit strange that there are multiple, older versions of |
Thanks for the fast response. I am using the following:
|
Could you run `pip uninstall khoj-assistant && pip install --no-cache-dir
--upgrade khoj-assistant`?
Just to ensure there's no pip related caching issues we're seeing on your
side
…On Tue, Sep 13, 2022, 15:15 Name of Mine ***@***.***> wrote:
Thanks for the fast response. I am using the following:
pip install khoj-assistant
—
Reply to this email directly, view it on GitHub
<#97 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQ5ZJJNPRUMS2NCXPU37ILV6BV7LANCNFSM6AAAAAAQLIVR2U>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks. I get this: § pip uninstall khoj-assistant && pip install --no-cache-dir --upgrade khoj-assistant 127 ✘ WARNING: Skipping khoj-assistant as it is not installed.
Collecting khoj-assistant
Downloading khoj_assistant-0.1.4-py3-none-any.whl (142 kB)
|████████████████████████████████| 142 kB 216 kB/s
Requirement already satisfied: pillow>=9.0.1 in ./opt/anaconda3/lib/python3.7/site-packages (from khoj-assistant) (9.0.1)
Downloading khoj_assistant-0.1.3-py3-none-any.whl (142 kB)
|████████████████████████████████| 142 kB 393 kB/s
Downloading khoj_assistant-0.1.2-py3-none-any.whl (142 kB)
|████████████████████████████████| 142 kB 594 kB/s
Downloading khoj_assistant-0.1.0-py3-none-any.whl (51 kB)
|████████████████████████████████| 51 kB 307 kB/s
ERROR: Cannot install khoj-assistant==0.1.0, khoj-assistant==0.1.2, khoj-assistant==0.1.3 and khoj-assistant==0.1.4 because these package versions have conflicting dependencies.
The conflict is caused by:
khoj-assistant 0.1.4 depends on numpy==1.22.4
khoj-assistant 0.1.3 depends on numpy==1.22.4
khoj-assistant 0.1.2 depends on numpy==1.22.4
khoj-assistant 0.1.0 depends on numpy==1.22.4
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict |
Ah, based on those logs
Suggested fixes:
|
Thanks! I did:
Then I tried to run khoj by typing its name... but nothing happened. |
I tried to install khoj like this with khoj env active, and got this error:
|
From the above error logs there seems to be an issue with your anaconda environment as both python3.7 and python3.8 libraries are being used in it.
The instructions to setup Khoj using (ana-)conda are here. According to that if you can start
|
Updated instructions to setup Khoj with Conda in 676de23. Verified setup with Conda works on an Ubuntu 22.04 machine. Closing issue as no updates provided in a while. Feel free to re-open if required |
How to fix this problem?
The text was updated successfully, but these errors were encountered: