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 in installation on Windows 10 & 11 #68

Open
suntracks opened this issue Jul 30, 2024 · 3 comments
Open

Error in installation on Windows 10 & 11 #68

suntracks opened this issue Jul 30, 2024 · 3 comments

Comments

@suntracks
Copy link

suntracks commented Jul 30, 2024

The following error has been found while trying to install on windows 10 & 11 box.
Is there a better way to handle this

INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while.
Using cached https://download.pytorch.org/whl/torchvision-0.1.6-py3-none-any.whl (16 kB)
ERROR: Cannot install torch, torchaudio==2.4.0+cu124, torchtext==0.16.2+cpu, torchtext==0.5.0 and torchtext==0.6.0 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested torch
torchaudio 2.4.0+cu124 depends on torch==2.4.0+cu124
torchtext 0.16.2+cpu depends on torch==2.2.0
torchtext 0.6.0 depends on six
torchtext 0.5.0 depends on six

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

Error while installing packages

@Kikedao
Copy link

Kikedao commented Jul 30, 2024

I have the exact same problem on Windows 10.

@suntracks
Copy link
Author

can we expect some solution to this sooner ?

@lamnt-nd994
Copy link

The following error has been found while trying to install on windows 10 & 11 box. Is there a better way to handle this

INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while. Using cached https://download.pytorch.org/whl/torchvision-0.1.6-py3-none-any.whl (16 kB) ERROR: Cannot install torch, torchaudio==2.4.0+cu124, torchtext==0.16.2+cpu, torchtext==0.5.0 and torchtext==0.6.0 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested torch
torchaudio 2.4.0+cu124 depends on torch==2.4.0+cu124
torchtext 0.16.2+cpu depends on torch==2.2.0
torchtext 0.6.0 depends on six
torchtext 0.5.0 depends on six
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
Error while installing packages

you should go to anaconda prompt and install the above libraries in ENV then select torch studio to ENV and that's okay

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

3 participants