AIHawk-FOSS / Auto_Jobs_Applier_AI_Agent

Auto_Jobs_Applier_AI_Agent by AIHawk is an AI Agent that automates the jobs application process. Utilizing artificial intelligence, it enables users to apply for multiple jobs in an automated and personalized way.
Other
22.42k stars 3.31k forks source link

[BUG]: Dependency conflict #530

Open GabrielYe opened 1 month ago

GabrielYe commented 1 month ago

Describe the bug

langchain-core required version is conflict with the version required by other dependencies

Steps to reproduce

After I ran the command pip install -r requirements.txt, I got the dependency conflict below in the additional text.

Expected behavior

No response

Actual behavior

No response

Branch

None

Branch name

No response

Python version

3.13

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 requi rements.txt (line 15), -r requirements.txt (line 2), -r requirements.txt (line 7), -r requirements.txt (line 8) and langchain-core because these package v ersions have conflicting dependencies.

The conflict is caused by: The user requested langchain-core 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.

imransbaig commented 1 month ago

I had the same issue. I'm unable to fix this. I am running Windows 11 Pro though. I wonder if that is the issue? I don't have Windows 10.

alsheikhhusam commented 1 month ago

I have the issue as well

DoctorDerp commented 1 month ago

same, any fix?

Jarlosh commented 1 month ago

Same.

hexicidal404 commented 1 month ago

I was able to resolve this problem with a python downgrade, 3.10.0 to be specific.

With the following requirements.txt

langchain==0.2.16 langchain-community==0.2.16 langchain-core==0.2.38 langchain-openai==0.1.20 langchain-text-splitters==0.2.4 langsmith==0.1.93 Levenshtein==0.25.1 openai==1.37.1 regex==2024.7.24 reportlab==4.2.2 selenium==4.9.1 webdriver-manager==4.0.2 click==8.1.7 git+https://github.com/feder-cr/lib_resume_builder_AIHawk.git linkedin-api==2.3.0 pdfminer.six==20221105 inputimeout==1.0.4 langchain-ollama==0.1.3 langchain-anthropic==0.1.23 langchain-google-genai==1.0.10 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 httpx~=0.27.2 python-dotenv~=1.0.1 PyYAML~=6.0.2 loguru==0.7.2

alsheikhhusam commented 1 month ago

+1 Worked for me

imransbaig commented 1 month ago

Worked for me too.

On Mon, Oct 21, 2024 at 2:22 PM Husam Alsheikh @.***> wrote:

+1 Worked for me

— Reply to this email directly, view it on GitHub https://github.com/feder-cr/Auto_Jobs_Applier_AIHawk/issues/530#issuecomment-2427743320, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZKWBHQD3XYWUWZGYYPRC3Z4VWBLAVCNFSM6AAAAABP4CO7CGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRXG42DGMZSGA . You are receiving this because you commented.Message ID: @.***>

lele2dot0 commented 3 weeks ago

I see you removed langchain huggingface from requirements.txt, does it work fine without it?

jerdrb commented 2 weeks ago

I am still getting build failures on Lavenshtein, faiss-cpu, and tokenizers... Seems like tokenizers is borked at the moment from their issue tracker?