Skip to content

Requirements install failed  #58

Description

@isaacsbox

After creating a virtual environment and running pip install -r requirements.txt I received this error:

ERROR: Cannot install -r requirements.txt (line 2) and pydantic>=2.8.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested pydantic>=2.8.2
    fastapi 0.99.0 depends on pydantic!=1.8, !=1.8.1, <2.0.0 and >=1.7.4

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

I have the latest pip installed and I am using a python 3 virtual environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions