You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.
Issue Content
LangChain's variety of python packages sometimes lead to conflicts with each other if you install "latest" versions at different times, or if you intentionally install old versions of some packages but not others.
We would like to make this easier to debug.
We have a sense of a few common conflicting cases that are all resolvable by running pip install -U langchain-core langchain-anthropic ... to upgrade the whole set of langchain packages, and we'd love to hear about conflicts that could be happening externally.
If you see dependency resolver issues with {pip, poetry, uv, etc.} please
write the command you were running (e.g. pip install ...)
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
langchain-text-splitters 0.3.5 requires langchain-core<0.4.0,>=0.3.29, but you have langchain-core 0.2.0 which is incompatible.
langchain 0.3.15 requires langchain-core<0.4.0,>=0.3.31, but you have langchain-core 0.2.0 which is incompatible.
Privileged issue
Issue Content
LangChain's variety of python packages sometimes lead to conflicts with each other if you install "latest" versions at different times, or if you intentionally install old versions of some packages but not others.
We would like to make this easier to debug.
We have a sense of a few common conflicting cases that are all resolvable by running
pip install -U langchain-core langchain-anthropic ...
to upgrade the whole set of langchain packages, and we'd love to hear about conflicts that could be happening externally.If you see dependency resolver issues with {pip, poetry, uv, etc.} please
pip install ...
)pip freeze
Example comment
I ran
and I got
pip freeze output:
The text was updated successfully, but these errors were encountered: