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

when install torchvision, conda can not install latest version, only version 0.2.2 can be installed #4273

Open
hanmala123 opened this issue Aug 13, 2021 · 3 comments

Comments

@hanmala123
Copy link

🐛 Bug

I used conda to install pytorch in a new environment , it can not install the latest torchvision version 0.10.0, only version 0.2.2 can be installed.
I find some similar issues already closed, but I still don't know how to install latest version
0 2 2

To Reproduce

Steps to reproduce the behavior:

command from official website,
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c conda-forge

Expected behavior

install the latest version

Environment

  • PyTorch / torchvision Version (e.g., 1.0 / 0.4.0):1.9.0
  • OS (e.g., Linux):windows10
  • How you installed PyTorch / torchvision (conda, pip, source):conda
  • Build command you used (if compiling from source):
  • Python version:3.9
  • CUDA/cuDNN version:11.1

Additional context

@NicolasHug
Copy link
Member

NicolasHug commented Aug 13, 2021

I believe this is similar to #4076 and #4071 and #4240

As a temporary workaround, could you try #4071 (comment) ?

@hanmala123
Copy link
Author

I believe this is similar to #4076 and #4071 and #4240

As a temporary workaround, could you try #4071 (comment) ?

I tried this solution, it doesn't work

@hanmala123
Copy link
Author

I delete conda-forge channel in .condarc this time, the problem is fixed.
I wonder why conda-forge channel can influence installation of torchvision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants