Open chakaponi opened 1 week ago
same issue : /
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.
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.
can you try this requirements.txt
https://github.com/AIHawk-co/Auto_Jobs_Applier_AI_Agent/issues/550#issuecomment-2474684449
The problem is that libraries like faiss-cpu currently doesn't have wheels for Python 3.13 and in some cases building from sources doesn't work. Also somehow installer did not find some wheel which did match my Python version and system architecture.
I managed to start project without downgrading version, but my advice is to downgrade it, actually.
Also I removed stuff like langchain-ollama from requirements.txt because I don't need them
The strange thing in my case that I had to build numpy even despite fact that pip has right version for my system
problem here is pip install / Python base libraries are platform dependent. first thing what we needed to achieve here is platform independence
Can't use python 3.13 for now. Switch to 3.12.
Edit: sorry for commenting on a closed issue.
@feder-cr @Tgenz1213 problem is python base (core libraries) in platform dependent, pip install in platform dependent.
we need to figure out our releases to it works on most of the platforms
@surapuramakhil By platform do you mean Python version? Poetry is a good tool that solves this problem.
@surapuramakhil By platform do you mean Python version? Poetry is a good tool that solves this problem.
check GitHub actions - if it's not platform dependent (OS, hardware, architecture, environment) our CI/CD would have broken in first place.
@surapuramakhil I'm not tracking. What's broken?
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:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts