Go to requirements.txt and change to #faiss-gpu # if u have a GPU faiss-cpu # if u dont have a GPU then do python pip install -r requirements.txt also you need to install langchain 0.0.138 if you have the newer version uninstall langchain first