After I install langchain with pip install I can not find the following sub-packages/objects:
- retrievers subpackage not installing and directory langchain/retrievers not appearing at all
- AmazonKendraRetriever does no appear of ourse
- bedrock does not appear inside directory langchain/llms neither in init
- ConversationLRetrievalChain does not appear under langchain/chains or init
I tried in requirements.txt the below combinations, but none solved the issue
requirements.txt
langchain
langchain[all]
langchain.retrievers
I'm pining a --python-version 311 and also --platform manylinux1X86_64 to pip install to have no issues with pydantic.
How to solve this issue ?? Thanks
The issue is that limiting the installation as I did above will always left outside libraries that have no wheels. So this method should not be used unless you are aware that all subpackges do have wheels. Use a contanarized lambda layer instead was the solution