Skip to content

Installation requirements conflicted #29

@Jackie-Li-0228

Description

@Jackie-Li-0228

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions