logan-zou / Chat_with_Datawhale_langchain

142 stars 22 forks source link

dependency package version conflict #4

Open wywself opened 4 months ago

wywself commented 4 months ago

ERROR: Cannot install -r requirements.txt (line 160), -r requirements.txt (line 64) and langsmith==0.0.63 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested langsmith==0.0.63 langchain 0.0.292 depends on langsmith<0.1.0 and >=0.0.21 langchain-community 0.0.31 depends on langsmith<0.2.0 and >=0.1.0

CChenTaiyu commented 4 months ago

I have the same problem. Do you solve it?

ytx12345 commented 3 months ago

Delete "langchain"、"langsmith"、"langchain-community" from the "requirement.txt" file and manually install the default version of the three packages

JiXia830 commented 3 months ago

I have the same problem. Do you solve it?

do you solve it?

JiXia830 commented 3 months ago

Delete "langchain"、"langsmith"、"langchain-community" from the "requirement.txt" file and manually install the default version of the three packages

do you mean "pip uninstall langchain-community langchain langsmith" and then "pip install langchain-community langchain langsmith"

JiXia830 commented 3 months ago

ERROR: Cannot install -r requirements.txt (line 160), -r requirements.txt (line 64) and langsmith==0.0.63 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested langsmith==0.0.63 langchain 0.0.292 depends on langsmith<0.1.0 and >=0.0.21 langchain-community 0.0.31 depends on langsmith<0.2.0 and >=0.1.0

i meet the same problem,have you ever solved it?

wudixzy commented 3 weeks ago

将requirements中的langchain-community删掉,后续单独安装默认版本