Skip to content
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

[BUG]: Error during installation #841

Open
chakaponi opened this issue Nov 13, 2024 · 4 comments
Open

[BUG]: Error during installation #841

chakaponi opened this issue Nov 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@chakaponi
Copy link

Describe the bug

Issue with dependency versions

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Branch

main

Branch name

No response

Python version

3.13.0

LLM Used

No response

Model used

No response

Additional context

ERROR: Cannot install -r requirements.txt (line 10), -r requirements.txt (line 12), -r requirements.txt (line 13), -r requirements.txt (line 14), -r requirements.txt (line 15), -r requirements.txt (line 2), -r requirements.txt (line 7), -r requirements.txt (line 8) and langchain-core===0.2.36 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.3.0 depends on langchain-core<0.4.0 and >=0.3.17
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.2.4 depends on langchain-core<0.4.0 and >=0.3.15
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.2.3 depends on langchain-core<0.4.0 and >=0.3.9
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.2.1 depends on langchain-core<0.4.0 and >=0.3.1
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.2.0 depends on langchain-core<0.4.0 and >=0.3.0
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.11 depends on langchain-core<0.2.0 and >=0.1.43
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.10 depends on langchain-core<0.2.0 and >=0.1.43
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.9 depends on langchain-core<0.2.0 and >=0.1.43
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.8 depends on langchain-core<0.2.0 and >=0.1.42
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.7 depends on langchain-core<0.2.0 and >=0.1.41
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.6 depends on langchain-core<0.2.0 and >=0.1.33
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.5 depends on langchain-core<0.2.0 and >=0.1.33
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.4 depends on langchain-core<0.2 and >=0.1
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.3 depends on langchain-core<0.2 and >=0.1
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.2 depends on langchain-core<0.2 and >=0.1
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.1 depends on langchain-core<0.2 and >=0.1
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.1.0 depends on langchain-core<0.2 and >=0.1
The user requested langchain-core===0.2.36
langchain 0.2.11 depends on langchain-core<0.3.0 and >=0.2.23
langchain-community 0.2.10 depends on langchain-core<0.3.0 and >=0.2.23
langchain-google-genai 1.0.10 depends on langchain-core<0.3 and >=0.2.33
langchain-ollama 0.1.3 depends on langchain-core<0.3.0 and >=0.2.36
langchain-openai 0.1.17 depends on langchain-core<0.3.0 and >=0.2.20
langchain-text-splitters 0.2.2 depends on langchain-core<0.3.0 and >=0.2.10
lib-resume-builder-aihawk 0.1 depends on langchain-core
langchain-anthropic 0.0.2 depends on langchain-core<0.2 and >=0.1

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

@chakaponi chakaponi added the bug Something isn't working label Nov 13, 2024
@surajkrishan
Copy link

same issue : /

@irivelez
Copy link

Hello! I got the same error. I reviewed some dependencies and adjust some of them, but when I fixed some ones, I create new error dependencies. Even I run the script loosen the range of package, but it took more than 1 hour and after much time trying to find the proper correspondence among the dependences, I decided to interrupt because nothing was gonna happen.

The recent changes that I did in the requirments.txt file was the following:

Langchain core== 0.2.36 to 0.2.43
Langchain anthropic== 0.2.4 to 0.2.3 to 0.1.23

Here I got less errors.

But, again new dependencies arose. So I changed:

Langsmith 0.1.112
And again new error dependencies appeared.

I'm not pretty sure, if some packages could be skipped, but in any case I don't know which ones.

@49Simon
Copy link
Collaborator

49Simon commented Nov 13, 2024

Try with python version 3.11. I use conda environment and I just cloned this repo and installed dependencies without any issue. If you have conda installed:

conda create -n aihawk python=3.11 -y
conda activate aihawk
pip install -r requirements.txt

It installs everything without any issues.

@surapuramakhil
Copy link
Collaborator

can you try this requirements.txt

#550 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

5 participants