ModuleNotFoundError: No module named 'langchain.document_loaders' even tho the exact same install process works locally

the same command that installs stuff in render works locally however i get the error ModuleNotFoundError: No module named 'langchain.document_loaders' in render deployment

build command is : pip install langchain openai pinecone-client "pinecone-client[grpc]" flask flask-restful flask-cors gunicorn

start command is: gunicorn --bind run:app runs the flask app

using python 3.11 fixed it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.