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

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. #9

Open
eshao731 opened this issue Mar 2, 2024 · 1 comment

Comments

@eshao731
Copy link

eshao731 commented Mar 2, 2024

Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.8.1->pandas->gradio==3.14.0->-r requirements.txt (line 11)) (1.16.0)
Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio->httpx->gradio==3.14.0->-r requirements.txt (line 11)) (1.2.0)
Installing collected packages: triton, torch
Attempting uninstall: triton
Found existing installation: triton 2.1.0
Uninstalling triton-2.1.0:
Successfully uninstalled triton-2.1.0
Attempting uninstall: torch
Found existing installation: torch 2.1.0
Uninstalling torch-2.1.0:
Successfully uninstalled torch-2.1.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchaudio 2.1.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.
torchdata 0.7.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.
torchtext 0.16.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.
torchvision 0.16.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.
Successfully installed torch-2.0.1 triton-2.0.0

@eshao731
Copy link
Author

eshao731 commented Mar 2, 2024

temporary solution:
!pip install --force-reinstall torch==2.1.0 torchaudio==2.1.0 torchdata==0.7.0 torchtext==0.16.0 torchvision==0.16.0
!pip install fsspec==2023.6.0
!pip install "pillow<10.1.0,>=8.3.2"
!pip install peft

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