python - 通过pip安装medcat时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.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
推荐阅读
- assembly - 打印装配图
- android - 数据未显示在实时数据库中,但显示在 Firebase 存储中
- python - 从python中的数字str相互替换点和逗号
- html - 向右浮动时的垂直对齐按钮
- docker - 如何将多个容器的卷挂载到新容器
- async-await - svelte:如何用 await 设置头部标题?
- android - 在样式 XML 文件中的 Flutter 项目中出现错误
- python - Python - 如何传递空白参数 - 有时我想要电子邮件的空白 cc
- azure-devops - Yaml-Pipeline 在每次提交时启动,即使它只应按计划触发
- javascript - 提交运行功能上的 Javascript 按钮