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 of requirements.txt results in conflicts #1

Open
GegznaV opened this issue Aug 23, 2023 · 0 comments
Open

Installation of requirements.txt results in conflicts #1

GegznaV opened this issue Aug 23, 2023 · 0 comments

Comments

@GegznaV
Copy link

GegznaV commented Aug 23, 2023

pip install -r requirements.txt

image

attrs==22.2.0
coverage==7.1.0
exceptiongroup==1.1.0
flake8==5.0.4
iniconfig==2.0.0
mccabe==0.7.0
packaging==23.0
pluggy==1.0.0
pycodestyle==2.10.0
pyflakes==3.0.1
pytest==7.2.1
pytest-cov==4.0.0
tomli==2.0.1

Results in

image

INFO: pip is looking at multiple versions of flake8 to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 4) and pycodestyle==2.10.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested pycodestyle==2.10.0
    flake8 5.0.4 depends on pycodestyle<2.10.0 and >=2.9.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 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
None yet
Projects
None yet
Development

No branches or pull requests

1 participant