Python 通过pip安装medcat时torchvision依赖项的版本错误
当我尝试通过安装medcat时Python 通过pip安装medcat时torchvision依赖项的版本错误,python,pip,package,torchvision,Python,Pip,Package,Torchvision,当我尝试通过安装medcat时 pip install medcat 我得到以下错误: ERROR: Could not find a version that satisfies the requirement torchvision~=0.8.0 (from medcat) (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, 0.9.0, 0.9.
pip install medcat
我得到以下错误:
ERROR: Could not find a version that satisfies the requirement torchvision~=0.8.0 (from medcat) (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, 0.9.0, 0.9.1)
ERROR: No matching distribution found for torchvision~=0.8.0 (from medcat)
对我来说,这意味着没有torchvision版本0.8.0
安装medcat软件包时如何避免此问题?通过以下方式安装medcat解决了此问题:
pip install --upgrade medcat -f https://download.pytorch.org/whl/torch_stable.html