Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

langchain-serve不兼容无法安装 #155

Open
sspeedtail opened this issue Mar 4, 2024 · 5 comments
Open

langchain-serve不兼容无法安装 #155

sspeedtail opened this issue Mar 4, 2024 · 5 comments

Comments

@sspeedtail
Copy link

ERROR: Cannot install langchain-serve==0.0.23, langchain-serve==0.0.24, langchain-serve==0.0.25, langchain-serve==0.0.26, langchain-serve==0.0.27, langchain-serve==0.0.28, langchain-serve==0.0.29, langchain-serve==0.0.30, langchain-serve==0.0.31 and langchain-serve==0.0.32 because these package versions have conflicting dependencies.

The conflict is caused by:
langchain-serve 0.0.32 depends on pandasai
langchain-serve 0.0.31 depends on pandasai
langchain-serve 0.0.30 depends on pandasai
langchain-serve 0.0.29 depends on pandasai
langchain-serve 0.0.28 depends on pandasai
langchain-serve 0.0.27 depends on pandasai
langchain-serve 0.0.26 depends on pandasai
langchain-serve 0.0.25 depends on pandasai
langchain-serve 0.0.24 depends on pandasai
langchain-serve 0.0.23 depends on pandasai

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

@harrytted
Copy link

+1

@damon-ldl
Copy link
Contributor

这个应该是jina和langchain-serve不兼容,可以按照pip install langchain-serve --use-deprecated legacy-resolver
pip install jina==3.20.2
pip install langchain-serve解决
https://github.com/jina-ai/langchain-serve/issues/143

@JohnsonChow
Copy link

确实存在问题,目前就算注释了这两个包还是不行

@JohnsonChow
Copy link

换到Python3.9也是一样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants