rembg icon indicating copy to clipboard operation
rembg copied to clipboard

Upgrade torchvision version

Open ibrahimnsu15 opened this issue 6 years ago • 8 comments

I got an error for installing rembg

ERROR: Could not find a version that satisfies the requirement torchvision==0.8.1 (from rembg) (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.5.0) ERROR: No matching distribution found for torchvision==0.8.1 (from rembg)

ibrahimnsu15 avatar Nov 25 '20 19:11 ibrahimnsu15

I got an error for installing rembg

ERROR: Could not find a version that satisfies the requirement torchvision==0.8.1 (from rembg) (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.5.0) ERROR: No matching distribution found for torchvision==0.8.1 (from rembg)

Even I am having the same issue, seems like the torchvision library has not been updated/remove from pypi.

Naman-Monga avatar Nov 29 '20 15:11 Naman-Monga

Same issue

umairsajid0017 avatar Dec 12 '20 01:12 umairsajid0017

Same issue here

MadgicDev avatar Dec 21 '20 18:12 MadgicDev

I tried in ubuntu 20.04 and Mac OS. It successfully installed. No error Detected. It shows error in only windows OS.

ibrahimnsu15 avatar Dec 21 '20 19:12 ibrahimnsu15

same issue

qfwc258 avatar Dec 25 '20 02:12 qfwc258

same issue, on macOS

chrlee avatar Dec 28 '20 07:12 chrlee

pip install torch==1.7.0+cu110 torchvision==0.8.1+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html

Torch and Torchvision versions need to be paired. Try this. (you can delete torchaudio option.)

jwgo avatar Jan 06 '21 08:01 jwgo

try this:

pip uninstall torch torchvision pip install torch==1.7.0+cpu torchvision==0.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html

jinwyp avatar Jan 12 '21 14:01 jinwyp