TorchStudio / torchstudio

IDE for PyTorch and its ecosystem
https://torchstudio.ai
MIT License
383 stars 27 forks source link

Error in installation on Windows 10 & 11 #68

Open suntracks opened 4 months ago

suntracks commented 4 months ago

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 commented 4 months ago

I have the exact same problem on Windows 10.

suntracks commented 3 months ago

can we expect some solution to this sooner ?

lamnt-nd994 commented 3 months ago

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