Zack Saadioui
8/25/2024
1
ModuleNotFoundError: No module named 'langchain_community'
1
langchain_community
1
langchain_community
1
langchain
1
langchain_community
1
2
bash
pip install langchain langchain-community
1
ModuleNotFoundError
1
langchain
1
langchain_community
1
langchain
1
pydantic
1
langchain_community
1
venv
1
conda
1
2
3
4
bash
python -m venv langchain-env
source langchain-env/bin/activate # On Windows use `langchain-envin\activate`
pip install langchain langchain-community
1
2
3
bash
pip show langchain
pip show langchain-community
1
langchain_community
1
2
3
python
import sys
print(sys.path)
1
langchain
1
langchain_community
1
2
3
python
import sys
sys.path.append('/path/to/your/site-packages') # Use your actual path here
1
langchain
1
langchain_community
1
requirements.txt
1
2
bash
pip install langchain==0.0.x langchain-community==0.0.y
1
2
bash
pip install --upgrade langchain langchain-community
1
ModuleNotFoundError
1
langchain
1
langchain_community
1
2
bash
!pip show langchain
1
ModuleNotFoundError
1
langchain_community
1
ModuleNotFoundError
Copyright © Arsturn 2024