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

Conflit with torch >=1.7.1 #129

Open
kiennkt05 opened this issue Oct 31, 2023 · 0 comments
Open

Conflit with torch >=1.7.1 #129

kiennkt05 opened this issue Oct 31, 2023 · 0 comments
Assignees

Comments

@kiennkt05
Copy link

Below is a part of respond from cmd, help me solve this


Chi tiết tài liệu

Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
ERROR: Cannot install pix2tex[gui]==0.0.10, pix2tex[gui]==0.0.11, pix2tex[gui]==0.0.12, pix2tex[gui]==0.0.13, pix2tex[gui]==0.0.14, pix2tex[gui]==0.0.15, pix2tex[gui]==0.0.16, pix2tex[gui]==0.0.17, pix2tex[gui]==0.0.18, pix2tex[gui]==0.0.19, pix2tex[gui]==0.0.2, pix2tex[gui]==0.0.20, pix2tex[gui]==0.0.21, pix2tex[gui]==0.0.22, pix2tex[gui]==0.0.23, pix2tex[gui]==0.0.24, pix2tex[gui]==0.0.25, pix2tex[gui]==0.0.26, pix2tex[gui]==0.0.27, pix2tex[gui]==0.0.28, pix2tex[gui]==0.0.29, pix2tex[gui]==0.0.3, pix2tex[gui]==0.0.31, pix2tex[gui]==0.0.4, pix2tex[gui]==0.0.5, pix2tex[gui]==0.0.6, pix2tex[gui]==0.0.7, pix2tex[gui]==0.0.8, pix2tex[gui]==0.0.9, pix2tex[gui]==0.1.1 and pix2tex[gui]==0.1.2 because these package versions have conflicting dependencies.

The conflict is caused by:
pix2tex[gui] 0.1.2 depends on torch>=1.7.1
pix2tex[gui] 0.1.1 depends on torch>=1.7.1
pix2tex[gui] 0.0.31 depends on torch>=1.7.1
pix2tex[gui] 0.0.29 depends on torch>=1.7.1
pix2tex[gui] 0.0.28 depends on torch>=1.7.1
pix2tex[gui] 0.0.27 depends on torch>=1.7.1
pix2tex[gui] 0.0.26 depends on torch>=1.7.1
pix2tex[gui] 0.0.25 depends on torch>=1.7.1
pix2tex[gui] 0.0.24 depends on torch>=1.7.1
pix2tex[gui] 0.0.23 depends on torch>=1.7.1
pix2tex[gui] 0.0.22 depends on torch>=1.7.1
pix2tex[gui] 0.0.21 depends on torch>=1.7.1
pix2tex[gui] 0.0.20 depends on torch>=1.7.1
pix2tex[gui] 0.0.19 depends on torch>=1.7.1
pix2tex[gui] 0.0.18 depends on torch>=1.7.1
pix2tex[gui] 0.0.17 depends on torch>=1.7.1
pix2tex[gui] 0.0.16 depends on torch>=1.7.1
pix2tex[gui] 0.0.15 depends on torch>=1.7.1
pix2tex[gui] 0.0.14 depends on torch>=1.7.1
pix2tex[gui] 0.0.13 depends on torch>=1.7.1
pix2tex[gui] 0.0.12 depends on torch>=1.7.1
pix2tex[gui] 0.0.11 depends on torch>=1.7.1
pix2tex[gui] 0.0.10 depends on torch>=1.7.1
pix2tex[gui] 0.0.9 depends on torch>=1.7.1
pix2tex[gui] 0.0.8 depends on torch>=1.7.1
pix2tex[gui] 0.0.7 depends on torch>=1.7.1
pix2tex[gui] 0.0.6 depends on torch>=1.7.1
pix2tex[gui] 0.0.5 depends on torch>=1.7.1
pix2tex[gui] 0.0.4 depends on torch>=1.7.1
pix2tex[gui] 0.0.3 depends on torch>=1.7.1
pix2tex[gui] 0.0.2 depends on torch>=1.7.1

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

Không chỉnh sửa phần này. Điều này là bắt buộc cho learn.microsoft.com ➟ Vấn đề khi liên kết GitHub.

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