Skip to content

Cannot install langchain-llm due to not compatible #10196

Closed Answered by iccfish
iccfish asked this question in Q&A
Discussion options

You must be logged in to vote

Python 3.13 is in range, but your project requirement states >=3.13, which means "everything higher than 3.13", which could mean 3.14, 3.15, 4.0, 6.0, 1000.0, and any other version. This is incompatible with that library, which limits its range to <4.0. The easiest way to fix that is to set your project Python requirement to either 3.13 (no range, bound to a single version) or >=3.13, <4.0 (limit the upper range to be compatible with the library).

I've tried to modify 3.13 to 3.8, things not changed. However finally I manage to resolve this issue by adding tool.poetry.dependencies.python to pyproject.toml via FAQ. It was a bit odd but it works. For more information: tool.poetry.dependen…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iccfish
Comment options

Answer selected by iccfish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants