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

Installation Error #3

Open
suywang opened this issue Oct 9, 2024 · 2 comments
Open

Installation Error #3

suywang opened this issue Oct 9, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@suywang
Copy link

suywang commented Oct 9, 2024

When I used pip to install cactus, I met a severe error:

The conflict is caused by:
cactus-llm 0.3.3 depends on langchain>=0.2.1
langchain-community 0.3.1 depends on langchain<0.4.0 and >=0.3.1
cactus-llm 0.3.3 depends on langchain>=0.2.1
langchain-community 0.3.0 depends on langchain<0.4.0 and >=0.3.0

So can you help me solve this error? Thanks!

@mcnaughtonadm mcnaughtonadm self-assigned this Oct 16, 2024
@mcnaughtonadm mcnaughtonadm added the bug Something isn't working label Oct 16, 2024
@mcnaughtonadm
Copy link
Collaborator

Sure, let me see if I can track down the issue.

Could you provide information on the system you are trying to install on? Primarily the OS and version of python you are using.

And are you getting the error while running the pip install git+https://github.com/pnnl/cactus.git command?

@suywang
Copy link
Author

suywang commented Oct 22, 2024

Thank you! My OS is Ubuntu 24.04.1 LTS, with 6.8.0-45-generic. My python version is 3.12.
I create a new conda env before I use "pip install git+https://github.com/pnnl/cactus.git".
The error is :

ERROR: Cannot install cactus-llm and cactus-llm==0.3.3 because these package versions have conflicting dependencies.

The conflict is caused by:
cactus-llm 0.3.3 depends on langchain>=0.2.1
langchain-community 0.3.3 depends on langchain<0.4.0 and >=0.3.4
cactus-llm 0.3.3 depends on langchain>=0.2.1
langchain-community 0.3.2 depends on langchain<0.4.0 and >=0.3.3
cactus-llm 0.3.3 depends on langchain>=0.2.1
langchain-community 0.3.1 depends on langchain<0.4.0 and >=0.3.1
cactus-llm 0.3.3 depends on langchain>=0.2.1
langchain-community 0.3.0 depends on langchain<0.4.0 and >=0.3.0

To fix this you could try to:

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants