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

Requirements install failed #58

Open
isaacsbox opened this issue Sep 21, 2024 · 2 comments
Open

Requirements install failed #58

isaacsbox opened this issue Sep 21, 2024 · 2 comments

Comments

@isaacsbox
Copy link

isaacsbox commented Sep 21, 2024

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.

@pslusarz
Copy link

pslusarz commented Oct 2, 2024

fixed this on my branch, you can just look at requirements.txt

#61

@mikegehard
Copy link

Also fixed in #64

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

3 participants