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.43k stars 3.31k forks source link

This code is not running while python main.py #550

Open ranjith-953 opened 1 month ago

ranjith-953 commented 1 month ago

https://github.com/feder-cr/Auto_Jobs_Applier_AIHawk/blob/a11381f4b838f489e9b80c42ae4ed6b04b3b862c/main.py#L11

ranjith-953 commented 1 month ago

(virtual) C:\Users\ranji_icespm4\Auto_Jobs_Applier_AIHawk>python main.py Traceback (most recent call last): File "C:\Users\ranji_icespm4\Auto_Jobs_Applier_AIHawk\main.py", line 18, in from lib_resume_builder_AIHawk import Resume, FacadeManager, ResumeGenerator, StyleManager ModuleNotFoundError: No module named 'lib_resume_builder_AIHawk'

feder-cr commented 1 month ago

@ranjith-953 follow the readme

davidjeddy commented 1 month ago

Same error message after following the README exactly on a new U22 machine. Here's my history of commands:

git clone https://github.com/feder-cr/Auto_Jobs_Applier_AIHawk.git
cd Auto_Jobs_Applier_AIHawk
python3 -m venv virtual
source virtual/bin/activate
pip install -r requirements.txt
cp -rf ./data_folder_example ./data_folder
vi ./data_folder/secrets.yaml 
python main.py

And here is the exact error message:

(virtual) ubuntu@ip-172-26-70-72:~/Auto_Jobs_Applier_AIHawk$ python main.py
Traceback (most recent call last):
  File "/home/ubuntu/Auto_Jobs_Applier_AIHawk/main.py", line 11, in <module>
    from lib_resume_builder_AIHawk import Resume,StyleManager,FacadeManager,ResumeGenerator
ModuleNotFoundError: No module named 'lib_resume_builder_AIHawk'

On commit

commit 4f639023d3549894aa78a4566ae7a94fb4536a4f (HEAD -> main, origin/main, origin/HEAD)
Merge: 87e0e5b 3679c8e
Author: Federico <85809106+feder-cr@users.noreply.github.com>
Date:   Wed Oct 16 23:59:21 2024 +0200

    Merge pull request #553 from sfcheng/encode_position
svangap1 commented 1 month ago

I have the same issue, I am using Mac. Did you find any solution?

surajkrishan commented 2 weeks ago

same issue on mac!

cjbbb commented 2 weeks ago

@svangap1 @surajkrishan @ranjith-953

Please try to use conda and pip install -r requirements.txt. It will work well on mac. The reason for this issue, is failing in installing all requirements.

surajkrishan commented 1 week ago

@cjbbb, could you please update the installation instructions for macOS in the README file?

cjbbb commented 1 week ago

@cjbbb, could you please update the installation instructions for macOS in the README file?

no problem

surapuramakhil commented 1 week ago

@surajkrishan @svangap1 @davidjeddy request to update your repo's start from scratch. looks like an issue with your requirments.txt file

surajkrishan commented 1 week ago

@surajkrishan @svangap1 @davidjeddy request to update your repo's start from scratch. looks like an issue with your requirments.txt file

yes i took a new clone few mins back and did reinstall same issue sadly : /

surajkrishan commented 1 week ago

@surajkrishan @svangap1 @davidjeddy request to update your repo's start from scratch. looks like an issue with your requirments.txt file

yes i took a new clone few mins back and did reinstall same issue sadly : /

these are the logs:

$ pip install -r requirements.txt

Collecting git+https://github.com/feder-cr/lib_resume_builder_AIHawk.git (from -r requirements.txt (line 2))
  Cloning https://github.com/feder-cr/lib_resume_builder_AIHawk.git to /private/var/folders/4h/jgr5gplx72x53btq28vhb32c0000gn/T/pip-req-build-xcvrcpoa
  Running command git clone --filter=blob:none --quiet https://github.com/feder-cr/lib_resume_builder_AIHawk.git /private/var/folders/4h/jgr5gplx72x53btq28vhb32c0000gn/T/pip-req-build-xcvrcpoa
  Resolved https://github.com/feder-cr/lib_resume_builder_AIHawk.git to commit f49ac27ece66f316b7ee0e64a85e22f5fa67d76c
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting click (from -r requirements.txt (line 1))
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: httpx~=0.27.2 in ./virtual/lib/python3.13/site-packages (from -r requirements.txt (line 3)) (0.27.2)
Collecting inputimeout==1.0.4 (from -r requirements.txt (line 4))
  Using cached inputimeout-1.0.4-py3-none-any.whl.metadata (2.2 kB)
Collecting jsonschema==4.23.0 (from -r requirements.txt (line 5))
  Using cached jsonschema-4.23.0-py3-none-any.whl.metadata (7.9 kB)
Collecting jsonschema-specifications==2023.12.1 (from -r requirements.txt (line 6))
  Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB)
Collecting langchain==0.2.11 (from -r requirements.txt (line 7))
  Using cached langchain-0.2.11-py3-none-any.whl.metadata (7.1 kB)
Collecting langchain-anthropic (from -r requirements.txt (line 8))
  Using cached langchain_anthropic-0.3.0-py3-none-any.whl.metadata (2.3 kB)
Collecting langchain-huggingface (from -r requirements.txt (line 9))
  Using cached langchain_huggingface-0.1.2-py3-none-any.whl.metadata (1.3 kB)
Collecting langchain-community==0.2.10 (from -r requirements.txt (line 10))
  Using cached langchain_community-0.2.10-py3-none-any.whl.metadata (2.7 kB)
Collecting langchain-core===0.2.36 (from -r requirements.txt (line 11))
  Using cached langchain_core-0.2.36-py3-none-any.whl.metadata (6.2 kB)
Collecting langchain-google-genai==1.0.10 (from -r requirements.txt (line 12))
  Using cached langchain_google_genai-1.0.10-py3-none-any.whl.metadata (3.8 kB)
Collecting langchain-ollama==0.1.3 (from -r requirements.txt (line 13))
  Using cached langchain_ollama-0.1.3-py3-none-any.whl.metadata (1.8 kB)
Collecting langchain-openai==0.1.17 (from -r requirements.txt (line 14))
  Using cached langchain_openai-0.1.17-py3-none-any.whl.metadata (2.5 kB)
Collecting langchain-text-splitters==0.2.2 (from -r requirements.txt (line 15))
  Using cached langchain_text_splitters-0.2.2-py3-none-any.whl.metadata (2.1 kB)
Collecting langsmith==0.1.93 (from -r requirements.txt (line 16))
  Using cached langsmith-0.1.93-py3-none-any.whl.metadata (13 kB)
Collecting Levenshtein==0.25.1 (from -r requirements.txt (line 17))
  Using cached Levenshtein-0.25.1.tar.gz (149 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting loguru==0.7.2 (from -r requirements.txt (line 18))
  Using cached loguru-0.7.2-py3-none-any.whl.metadata (23 kB)
Collecting openai==1.37.1 (from -r requirements.txt (line 19))
  Using cached openai-1.37.1-py3-none-any.whl.metadata (22 kB)
Collecting pdfminer.six==20221105 (from -r requirements.txt (line 20))
  Using cached pdfminer.six-20221105-py3-none-any.whl.metadata (4.0 kB)
Collecting pytest>=8.3.3 (from -r requirements.txt (line 21))
  Using cached pytest-8.3.3-py3-none-any.whl.metadata (7.5 kB)
Collecting python-dotenv~=1.0.1 (from -r requirements.txt (line 22))
  Using cached python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)
Requirement already satisfied: PyYAML~=6.0.2 in ./virtual/lib/python3.13/site-packages (from -r requirements.txt (line 23)) (6.0.2)
Collecting regex==2024.7.24 (from -r requirements.txt (line 24))
  Using cached regex-2024.7.24-cp313-cp313-macosx_15_0_arm64.whl
Collecting reportlab==4.2.2 (from -r requirements.txt (line 25))
  Using cached reportlab-4.2.2-py3-none-any.whl.metadata (1.4 kB)
Collecting selenium==4.9.1 (from -r requirements.txt (line 26))
  Using cached selenium-4.9.1-py3-none-any.whl.metadata (7.2 kB)
Collecting webdriver-manager==4.0.2 (from -r requirements.txt (line 27))
  Using cached webdriver_manager-4.0.2-py2.py3-none-any.whl.metadata (12 kB)
Collecting pytest-mock (from -r requirements.txt (line 29))
  Using cached pytest_mock-3.14.0-py3-none-any.whl.metadata (3.8 kB)
Collecting pytest-cov (from -r requirements.txt (line 30))
  Using cached pytest_cov-6.0.0-py3-none-any.whl.metadata (27 kB)
Requirement already satisfied: attrs>=22.2.0 in ./virtual/lib/python3.13/site-packages (from jsonschema==4.23.0->-r requirements.txt (line 5)) (24.2.0)
Collecting referencing>=0.28.4 (from jsonschema==4.23.0->-r requirements.txt (line 5))
  Using cached referencing-0.35.1-py3-none-any.whl.metadata (2.8 kB)
Collecting rpds-py>=0.7.1 (from jsonschema==4.23.0->-r requirements.txt (line 5))
  Using cached rpds_py-0.21.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (4.2 kB)
Requirement already satisfied: SQLAlchemy<3,>=1.4 in ./virtual/lib/python3.13/site-packages (from langchain==0.2.11->-r requirements.txt (line 7)) (2.0.36)
Requirement already satisfied: aiohttp<4.0.0,>=3.8.3 in ./virtual/lib/python3.13/site-packages (from langchain==0.2.11->-r requirements.txt (line 7)) (3.11.0)
Requirement already satisfied: numpy<2.0.0,>=1.26.0 in ./virtual/lib/python3.13/site-packages (from langchain==0.2.11->-r requirements.txt (line 7)) (1.26.4)
Requirement already satisfied: pydantic<3,>=1 in ./virtual/lib/python3.13/site-packages (from langchain==0.2.11->-r requirements.txt (line 7)) (2.9.2)
Requirement already satisfied: requests<3,>=2 in ./virtual/lib/python3.13/site-packages (from langchain==0.2.11->-r requirements.txt (line 7)) (2.32.3)
Collecting tenacity!=8.4.0,<9.0.0,>=8.1.0 (from langchain==0.2.11->-r requirements.txt (line 7))
  Using cached tenacity-8.5.0-py3-none-any.whl.metadata (1.2 kB)
Collecting dataclasses-json<0.7,>=0.5.7 (from langchain-community==0.2.10->-r requirements.txt (line 10))
  Using cached dataclasses_json-0.6.7-py3-none-any.whl.metadata (25 kB)
Requirement already satisfied: jsonpatch<2.0,>=1.33 in ./virtual/lib/python3.13/site-packages (from langchain-core===0.2.36->-r requirements.txt (line 11)) (1.33)
Requirement already satisfied: packaging<25,>=23.2 in ./virtual/lib/python3.13/site-packages (from langchain-core===0.2.36->-r requirements.txt (line 11)) (24.2)
Requirement already satisfied: typing-extensions>=4.7 in ./virtual/lib/python3.13/site-packages (from langchain-core===0.2.36->-r requirements.txt (line 11)) (4.12.2)
Collecting google-generativeai<0.8.0,>=0.7.0 (from langchain-google-genai==1.0.10->-r requirements.txt (line 12))
  Using cached google_generativeai-0.7.2-py3-none-any.whl.metadata (4.0 kB)
Collecting ollama<1,>=0.3.0 (from langchain-ollama==0.1.3->-r requirements.txt (line 13))
  Using cached ollama-0.3.3-py3-none-any.whl.metadata (3.8 kB)
Collecting tiktoken<1,>=0.7 (from langchain-openai==0.1.17->-r requirements.txt (line 14))
  Using cached tiktoken-0.8.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (6.6 kB)
Requirement already satisfied: orjson<4.0.0,>=3.9.14 in ./virtual/lib/python3.13/site-packages (from langsmith==0.1.93->-r requirements.txt (line 16)) (3.10.11)
Collecting rapidfuzz<4.0.0,>=3.8.0 (from Levenshtein==0.25.1->-r requirements.txt (line 17))
  Using cached rapidfuzz-3.10.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (11 kB)
Requirement already satisfied: anyio<5,>=3.5.0 in ./virtual/lib/python3.13/site-packages (from openai==1.37.1->-r requirements.txt (line 19)) (4.6.2.post1)
Collecting distro<2,>=1.7.0 (from openai==1.37.1->-r requirements.txt (line 19))
  Using cached distro-1.9.0-py3-none-any.whl.metadata (6.8 kB)
Requirement already satisfied: sniffio in ./virtual/lib/python3.13/site-packages (from openai==1.37.1->-r requirements.txt (line 19)) (1.3.1)
Collecting tqdm>4 (from openai==1.37.1->-r requirements.txt (line 19))
  Using cached tqdm-4.67.0-py3-none-any.whl.metadata (57 kB)
Requirement already satisfied: charset-normalizer>=2.0.0 in ./virtual/lib/python3.13/site-packages (from pdfminer.six==20221105->-r requirements.txt (line 20)) (3.4.0)
Collecting cryptography>=36.0.0 (from pdfminer.six==20221105->-r requirements.txt (line 20))
  Using cached cryptography-43.0.3-cp39-abi3-macosx_10_9_universal2.whl.metadata (5.4 kB)
Collecting pillow>=9.0.0 (from reportlab==4.2.2->-r requirements.txt (line 25))
  Using cached pillow-11.0.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (9.1 kB)
Collecting chardet (from reportlab==4.2.2->-r requirements.txt (line 25))
  Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Requirement already satisfied: urllib3<3,>=1.26 in ./virtual/lib/python3.13/site-packages (from urllib3[socks]<3,>=1.26->selenium==4.9.1->-r requirements.txt (line 26)) (2.2.3)
Collecting trio~=0.17 (from selenium==4.9.1->-r requirements.txt (line 26))
  Using cached trio-0.27.0-py3-none-any.whl.metadata (8.6 kB)
Collecting trio-websocket~=0.9 (from selenium==4.9.1->-r requirements.txt (line 26))
  Using cached trio_websocket-0.11.1-py3-none-any.whl.metadata (4.7 kB)
Requirement already satisfied: certifi>=2021.10.8 in ./virtual/lib/python3.13/site-packages (from selenium==4.9.1->-r requirements.txt (line 26)) (2024.8.30)
Collecting inquirer (from lib_resume_builder_AIHawk==0.1->-r requirements.txt (line 2))
  Using cached inquirer-3.4.0-py3-none-any.whl.metadata (6.8 kB)
Collecting faiss-cpu (from lib_resume_builder_AIHawk==0.1->-r requirements.txt (line 2))
  Using cached faiss_cpu-1.9.0.tar.gz (67 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: httpcore==1.* in ./virtual/lib/python3.13/site-packages (from httpx~=0.27.2->-r requirements.txt (line 3)) (1.0.6)
Requirement already satisfied: idna in ./virtual/lib/python3.13/site-packages (from httpx~=0.27.2->-r requirements.txt (line 3)) (3.10)
Requirement already satisfied: h11<0.15,>=0.13 in ./virtual/lib/python3.13/site-packages (from httpcore==1.*->httpx~=0.27.2->-r requirements.txt (line 3)) (0.14.0)
Collecting anthropic<1,>=0.39.0 (from langchain-anthropic->-r requirements.txt (line 8))
  Using cached anthropic-0.39.0-py3-none-any.whl.metadata (22 kB)
Collecting defusedxml<0.8.0,>=0.7.1 (from langchain-anthropic->-r requirements.txt (line 8))
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl.metadata (32 kB)
INFO: pip is looking at multiple versions of langchain-anthropic to determine which version is compatible with other requirements. This could take a while.
Collecting langchain-anthropic (from -r requirements.txt (line 8))
  Using cached langchain_anthropic-0.2.4-py3-none-any.whl.metadata (2.3 kB)
  Using cached langchain_anthropic-0.2.3-py3-none-any.whl.metadata (2.3 kB)
  Using cached langchain_anthropic-0.2.1-py3-none-any.whl.metadata (2.3 kB)
  Using cached langchain_anthropic-0.2.0-py3-none-any.whl.metadata (2.3 kB)
  Using cached langchain_anthropic-0.1.23-py3-none-any.whl.metadata (2.2 kB)
Collecting huggingface-hub>=0.23.0 (from langchain-huggingface->-r requirements.txt (line 9))
  Using cached huggingface_hub-0.26.2-py3-none-any.whl.metadata (13 kB)
INFO: pip is looking at multiple versions of langchain-huggingface to determine which version is compatible with other requirements. This could take a while.
Collecting langchain-huggingface (from -r requirements.txt (line 9))
  Using cached langchain_huggingface-0.1.1-py3-none-any.whl.metadata (1.3 kB)
  Using cached langchain_huggingface-0.1.0-py3-none-any.whl.metadata (1.3 kB)
  Using cached langchain_huggingface-0.0.3-py3-none-any.whl.metadata (1.2 kB)
Collecting sentence-transformers>=2.6.0 (from langchain-huggingface->-r requirements.txt (line 9))
  Using cached sentence_transformers-3.3.0-py3-none-any.whl.metadata (10 kB)
Collecting tokenizers>=0.19.1 (from langchain-huggingface->-r requirements.txt (line 9))
  Using cached tokenizers-0.20.3-cp313-cp313-macosx_11_0_arm64.whl.metadata (6.7 kB)
Collecting transformers>=4.39.0 (from langchain-huggingface->-r requirements.txt (line 9))
  Using cached transformers-4.46.2-py3-none-any.whl.metadata (44 kB)
Collecting iniconfig (from pytest>=8.3.3->-r requirements.txt (line 21))
  Using cached iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
Collecting pluggy<2,>=1.5 (from pytest>=8.3.3->-r requirements.txt (line 21))
  Using cached pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting coverage>=7.5 (from coverage[toml]>=7.5->pytest-cov->-r requirements.txt (line 30))
  Using cached coverage-7.6.4-cp313-cp313-macosx_11_0_arm64.whl.metadata (8.2 kB)
Requirement already satisfied: aiohappyeyeballs>=2.3.0 in ./virtual/lib/python3.13/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.2.11->-r requirements.txt (line 7)) (2.4.3)
Requirement already satisfied: aiosignal>=1.1.2 in ./virtual/lib/python3.13/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.2.11->-r requirements.txt (line 7)) (1.3.1)
Requirement already satisfied: frozenlist>=1.1.1 in ./virtual/lib/python3.13/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.2.11->-r requirements.txt (line 7)) (1.5.0)
Requirement already satisfied: multidict<7.0,>=4.5 in ./virtual/lib/python3.13/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.2.11->-r requirements.txt (line 7)) (6.1.0)
Requirement already satisfied: propcache>=0.2.0 in ./virtual/lib/python3.13/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.2.11->-r requirements.txt (line 7)) (0.2.0)
Requirement already satisfied: yarl<2.0,>=1.17.0 in ./virtual/lib/python3.13/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.2.11->-r requirements.txt (line 7)) (1.17.1)
Collecting jiter<1,>=0.4.0 (from anthropic<1,>=0.39.0->langchain-anthropic->-r requirements.txt (line 8))
  Using cached jiter-0.7.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (5.2 kB)
Collecting cffi>=1.12 (from cryptography>=36.0.0->pdfminer.six==20221105->-r requirements.txt (line 20))
  Using cached cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (1.5 kB)
Collecting marshmallow<4.0.0,>=3.18.0 (from dataclasses-json<0.7,>=0.5.7->langchain-community==0.2.10->-r requirements.txt (line 10))
  Using cached marshmallow-3.23.1-py3-none-any.whl.metadata (7.5 kB)
Collecting typing-inspect<1,>=0.4.0 (from dataclasses-json<0.7,>=0.5.7->langchain-community==0.2.10->-r requirements.txt (line 10))
  Using cached typing_inspect-0.9.0-py3-none-any.whl.metadata (1.5 kB)
Collecting google-ai-generativelanguage==0.6.6 (from google-generativeai<0.8.0,>=0.7.0->langchain-google-genai==1.0.10->-r requirements.txt (line 12))
  Using cached google_ai_generativelanguage-0.6.6-py3-none-any.whl.metadata (5.6 kB)
Collecting google-api-core (from google-generativeai<0.8.0,>=0.7.0->langchain-google-genai==1.0.10->-r requirements.txt (line 12))
  Using cached google_api_core-2.23.0-py3-none-any.whl.metadata (3.0 kB)
Collecting google-api-python-client (from google-generativeai<0.8.0,>=0.7.0->langchain-google-genai==1.0.10->-r requirements.txt (line 12))
  Using cached google_api_python_client-2.153.0-py2.py3-none-any.whl.metadata (6.7 kB)
Collecting google-auth>=2.15.0 (from google-generativeai<0.8.0,>=0.7.0->langchain-google-genai==1.0.10->-r requirements.txt (line 12))
  Using cached google_auth-2.36.0-py2.py3-none-any.whl.metadata (4.7 kB)
Collecting protobuf (from google-generativeai<0.8.0,>=0.7.0->langchain-google-genai==1.0.10->-r requirements.txt (line 12))
  Using cached protobuf-5.28.3-cp38-abi3-macosx_10_9_universal2.whl.metadata (592 bytes)
Collecting proto-plus<2.0.0dev,>=1.22.3 (from google-ai-generativelanguage==0.6.6->google-generativeai<0.8.0,>=0.7.0->langchain-google-genai==1.0.10->-r requirements.txt (line 12))
  Using cached proto_plus-1.25.0-py3-none-any.whl.metadata (2.2 kB)
Collecting protobuf (from google-generativeai<0.8.0,>=0.7.0->langchain-google-genai==1.0.10->-r requirements.txt (line 12))
  Using cached protobuf-4.25.5-cp37-abi3-macosx_10_9_universal2.whl.metadata (541 bytes)
Collecting filelock (from huggingface-hub>=0.23.0->langchain-huggingface->-r requirements.txt (line 9))
  Using cached filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)
Collecting fsspec>=2023.5.0 (from huggingface-hub>=0.23.0->langchain-huggingface->-r requirements.txt (line 9))
  Using cached fsspec-2024.10.0-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: jsonpointer>=1.9 in ./virtual/lib/python3.13/site-packages (from jsonpatch<2.0,>=1.33->langchain-core===0.2.36->-r requirements.txt (line 11)) (3.0.0)
Requirement already satisfied: annotated-types>=0.6.0 in ./virtual/lib/python3.13/site-packages (from pydantic<3,>=1->langchain==0.2.11->-r requirements.txt (line 7)) (0.7.0)
Requirement already satisfied: pydantic-core==2.23.4 in ./virtual/lib/python3.13/site-packages (from pydantic<3,>=1->langchain==0.2.11->-r requirements.txt (line 7)) (2.23.4)
INFO: pip is looking at multiple versions of sentence-transformers to determine which version is compatible with other requirements. This could take a while.
Collecting sentence-transformers>=2.6.0 (from langchain-huggingface->-r requirements.txt (line 9))
  Using cached sentence_transformers-3.2.1-py3-none-any.whl.metadata (10 kB)
  Using cached sentence_transformers-3.2.0-py3-none-any.whl.metadata (10 kB)
  Using cached sentence_transformers-3.1.1-py3-none-any.whl.metadata (10 kB)
  Using cached sentence_transformers-3.1.0-py3-none-any.whl.metadata (23 kB)
  Using cached sentence_transformers-3.0.1-py3-none-any.whl.metadata (10 kB)
  Using cached sentence_transformers-3.0.0-py3-none-any.whl.metadata (10 kB)
  Using cached sentence_transformers-2.7.0-py3-none-any.whl.metadata (11 kB)
INFO: pip is still looking at multiple versions of sentence-transformers to determine which version is compatible with other requirements. This could take a while.
  Using cached sentence_transformers-2.6.1-py3-none-any.whl.metadata (11 kB)
  Using cached sentence_transformers-2.6.0-py3-none-any.whl.metadata (11 kB)
Collecting langchain-huggingface (from -r requirements.txt (line 9))
  Using cached langchain_huggingface-0.0.2-py3-none-any.whl.metadata (1.2 kB)
Collecting text-generation<0.8.0,>=0.7.0 (from langchain-huggingface->-r requirements.txt (line 9))
  Using cached text_generation-0.7.0-py3-none-any.whl.metadata (8.5 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
INFO: pip is still looking at multiple versions of langchain-huggingface to determine which version is compatible with other requirements. This could take a while.
Collecting langchain-huggingface (from -r requirements.txt (line 9))
  Using cached langchain_huggingface-0.0.1-py3-none-any.whl.metadata (1.2 kB)
INFO: pip is still looking at multiple versions of langchain-anthropic to determine which version is compatible with other requirements. This could take a while.
Collecting langchain-anthropic (from -r requirements.txt (line 8))
  Using cached langchain_anthropic-0.1.22-py3-none-any.whl.metadata (2.2 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Using cached langchain_anthropic-0.1.21-py3-none-any.whl.metadata (2.2 kB)
  Using cached langchain_anthropic-0.1.20-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.19-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.18-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.17-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.16-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.15-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.13-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.12-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.11-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.10-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.9-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.8-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.7-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.6-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.5-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.4-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.3-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.2-py3-none-any.whl.metadata (2.1 kB)
  Using cached langchain_anthropic-0.1.1-py3-none-any.whl.metadata (1.8 kB)
  Using cached langchain_anthropic-0.1.0-py3-none-any.whl.metadata (1.8 kB)
  Using cached langchain_anthropic-0.0.2-py3-none-any.whl.metadata (853 bytes)
  Using cached langchain_anthropic-0.0.1.post1-py3-none-any.whl.metadata (745 bytes)
Collecting anthropic<0.9.0,>=0.8.0 (from langchain-anthropic->-r requirements.txt (line 8))
  Using cached anthropic-0.8.1-py3-none-any.whl.metadata (13 kB)
Collecting langchain-anthropic (from -r requirements.txt (line 8))
  Using cached langchain_anthropic-0.0.1-py3-none-any.whl.metadata (515 bytes)
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

[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
surapuramakhil commented 1 week ago

@surajkrishan its clear installation requirements failed. I see the problem here. I will add version numbers of the libraries which are running as latest (as of now).

we will be migrating to uv. once it that library versioning issues won't be seen.

surapuramakhil commented 1 week ago

try this requirements.txt

requirements.txt

if it works, I will update repo with this file

surajkrishan commented 1 week ago

Thanks, @surapuramakhil!

I tested it, but it didn’t seem to be working. However, I made some tweaks to a few packages on my own and created a script for Mac. Finally, I was able to get it working! Cheers!

requirements.txt

setup_sh.txt