[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [Help](/c/help/9) # Cannot install needed Python library requirements 222 views · 0 likes · 3 posts zscav (@zakariyyascavotto) · 2024-08-24 I have been working on building a custom RAG LLM using Langchain with a FAISS vector store and a HuggingFace model as the LLM, and I want to deploy it as an API using FastAPI. The project works fine locally, but when I try to deploy it onto Vercel I run into build issues where the needed libraries cannot be installed and I have no idea why. From what I've gathered in the error messages, the libraries that are giving Vercel problems are as follows: ``` accelerate==0.33.0 bitsandbytes==0.43.3 sentence-transformers==3.0.1 torchaudio==2.4.0 torch==2.3.0 ``` Here is the full error message list, does anyone have any suggestions? Any help is greatly appreciated! ``` Error: Command failed: pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt ERROR: Cannot install -r /vercel/path0/requirements.txt (line 1), -r /vercel/path0/requirements.txt (line 104), -r /vercel/path0/requirements.txt (line 11), -r /vercel/path0/requirements.txt (line 119) and torch==2.3.0 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts ``` Pauline P. Narvas (@pawlean) · 2024-08-24 Could it be related to this? https://community.vercel.com/t/fasthtml-deployments-failing/638/4 zscav (@zakariyyascavotto) · 2024-08-24 Hi Pauline, Looking in my requirements file I don't use FastHTML as a library. For extra help, here is a link to my requirements file in case there's another library that's known to cause issues: [requirements file](https://drive.google.com/file/d/1FZcI-PWDlziLZH_ZbayaQop-NEgLO2ia/view?usp=sharing).