Added langchain~=0.2.7 as regular dependency
Reusing already existing virtualenv
Generating production lockfile: \\?\C:\Users\moham\Desktop\gg\requirements.lock
× No solution found when resolving dependencies:
╰─▶ Because only the following versions of langchain are available:
langchain<=0.2.7
langchain>=0.3.dev0
and langchain==0.2.7 depends on langchain-core>=0.2.12, we can conclude that langchain>=0.2.7 depends on
langchain-core>=0.2.12.
And because only the following versions of langchain-core are available:
langchain-core<=0.2.17
langchain-core>=0.3.0
we can conclude that langchain>=0.2.7 depends on langchain-core>=0.2.12. (1)
Because only the following versions of packaging are available:
packaging<23.2
packaging>=25
and langchain-core==0.2.17 depends on packaging>=23.2,<25, we can conclude that langchain-core==0.2.17 cannot
be used.
And because we know from (1) that langchain>=0.2.7 depends on langchain-core>=0.2.12, we can conclude that
langchain>=0.2.7 depends on langchain-core>=0.2.12,<0.2.17.
And because you require langchain>=0.2.7 and langchain-core>=0.2.17, we can conclude that the requirements are
unsatisfiable.
error: could not write production lockfile for project
Caused by:
Failed to run uv compile C:\Users\moham\AppData\Local\Temp.tmp3SyAEt\requirements.txt. uv exited with status: exit code: 1
Steps to Reproduce
Expected Result
+ langchain==0.2.7
Actual Result
error: could not write production lockfile for project
Caused by: Failed to run uv compile C:\Users\moham\AppData\Local\Temp.tmp3SyAEt\requirements.txt. uv exited with status: exit code: 1
rye 0.36.0 commit: 0.36.0 (12c024c7c 2024-07-07) platform: windows (x86_64) self-python: cpython@3.12.3 symlink support: true uv enabled: true