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. #11

Open
EDGE-qy opened this issue May 28, 2024 · 2 comments

Comments

@EDGE-qy
Copy link

EDGE-qy commented May 28, 2024

This error appeared when I was running sh install.sh, which are

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.
stable-diffusion-sdkit 2.1.5 requires einops==0.3.0, but you have einops 0.3.2 which is incompatible.
stable-diffusion-sdkit 2.1.5 requires pytorch-lightning==1.4.2, but you have pytorch-lightning 1.7.7 which is incompatible.
stable-diffusion-sdkit 2.1.5 requires torchmetrics==0.6.0, but you have torchmetrics 0.11.4 which is incompatible.

I used conda environment, Python 3.10.4 and CUDA 12.4. I even tried to set einops==0.3.0 in the requirements.txt but it ends up deleted the right version and installed einops 0.3.2 again.

@EDGE-qy
Copy link
Author

EDGE-qy commented May 28, 2024

I solved by using the following environment

  • use Python 3.9
  • use mim to install mmcv series packages
  • install mmcv==1.6.2

And finally this "ERROR" can be ignored.

@wwqq
Copy link
Collaborator

wwqq commented May 30, 2024

Hi @EDGE-qy the error after running sh install.sh can be ignored.

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

2 participants