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 requirements conflicted #29

Open
Jackie-Li-0228 opened this issue Sep 19, 2024 · 1 comment
Open

Installation requirements conflicted #29

Jackie-Li-0228 opened this issue Sep 19, 2024 · 1 comment

Comments

@Jackie-Li-0228
Copy link

Problems Encountered

When I followed the instructions in the README.md in ./api/ , I run the command pip install -r requirements.txt,but it pops out the ERROR message like this :

ERROR: Cannot install -r .\requirements.txt (line 12) and openai==1.16.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested openai==1.16.2
    langchain-openai 0.1.6 depends on openai<2.0.0 and >=1.24.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

I checked up the requirements.txt and it is exactly written as it is. So I'm wondering if it's a problem of the project?Thanks!

@marcelo-earth
Copy link
Owner

Hey Jackie-Li-0228!

Sorry for the late response, I updated the requirements.txt for openai package to 1.28.1.

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

2 participants