Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

The requests package version has strict restrictions and cannot be used at the same time as other packages. #656

Closed
sasaki000 opened this issue Aug 11, 2024 · 1 comment · Fixed by #657
Assignees
Labels

Comments

@sasaki000
Copy link

sasaki000 commented Aug 11, 2024

  • requirements.txt at line 1
    requests ==2.32.3

    requests<3 and >=2.32.3

For example, using it with the yt-dlp package violates the restrictions.

ERROR: Cannot install -r requirements.txt (line 27), -r requirements.txt (line 54) and requests because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested requests
    yt-dlp 2024.8.6 depends on requests<3 and >=2.32.2
    line-bot-sdk 3.11.0 depends on requests==2.31.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
@sasaki000 sasaki000 added the bug label Aug 11, 2024
@eucyt eucyt self-assigned this Aug 13, 2024
@eucyt
Copy link
Contributor

eucyt commented Aug 14, 2024

Thank you for your report. We will address this issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants