Trying to execute this code:
from langchain_community.vectorstores import FAISS
Error it is showing: ModuleNotFoundError: No module named 'langchain_community'
Thou I have executed the command:
pip install langchain-community
Trying to execute this code:
from langchain_community.vectorstores import FAISS
Error it is showing: ModuleNotFoundError: No module named 'langchain_community'
Thou I have executed the command:
pip install langchain-community
pip install langchain-community langchain-core
This is required.
If still not working then:
pip install --upgrade langchain
Also, make sure that python_version=>3.8.1
Using pip install langchain-community
or pip install --upgrade langchain
did not work for me in spite of multiple tries.
Using the PyCharm 'Interpreter Settings' GUI to manually install langchain-community instead, did the trick!
In my case, I resolved the issue by downgrading from Python 3.12 to 3.11 and then running the following command:
pip install --upgrade langchain
© 2022 - 2024 — McMap. All rights reserved.