Zack Saadioui
8/24/2024
1
2
bash
pip install langchain
1
>=3.8.1
1
2
3
bash
which python # On Unix or macOS
where python # On Windows
1
2
3
4
bash
source venv/bin/activate # On Unix or macOS
.
\venv\Scripts\activate # On Windows
1
langchain.py
1
.pyc
1
2
3
bash
pip uninstall langchain
pip install langchain
1
2
python
from langchain.agents import AgentType
1
2
bash
pip show langchain
1
sys.path
1
2
3
python
import sys
print(sys.path)
1
langchain
1
2
python
sys.path.append('/path/to/langchain')
1
2
3
bash
pip install --upgrade pip setuptools wheel
pip install --upgrade langchain
1
2
3
4
5
6
bash
python -m venv new_env
source new_env/bin/activate # On Unix or macOS
.
\new_env\Scripts\activate # On Windows
pip install langchain
Copyright © Arsturn 2024