开发者社区 > ModelScope模型即服务 > 正文

安装cv的modelscope报错怎么解决?"

" RuntimeError:
The detected CUDA version (11.8) mismatches the version that was used to compile
PyTorch (12.1). Please make sure to use the same CUDA versions.

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for torch-scatter
Running setup.py clean for torch-scatter
Building wheel for utils (setup.py) ... done
Created wheel for utils: filename=utils-1.0.2-py2.py3-none-any.whl size=13906 sha256=a30608dce4915b3c8c733549d06bbce2831063820e757f59a4be1b9633ccf583
Stored in directory: /root/.cache/pip/wheels/f5/b4/64/3b61b36b136e6bf35b9065f4fad1bd059b70f74b799eae73d8
Building wheel for aliyun-python-sdk-core (setup.py) ... done
Created wheel for aliyun-python-sdk-core: filename=aliyun_python_sdk_core-2.15.1-py3-none-any.whl size=535325 sha256=15e062dd27d32622b32718f37a1bc2e9a23dbf1a9264b5fa759416e6dfe02f45
Stored in directory: /root/.cache/pip/wheels/87/68/52/24aabe40e9c380203551aca3c3482f5699b91871332d8d98c0
Building wheel for crcmod (setup.py) ... done
Created wheel for crcmod: filename=crcmod-1.7-cp310-cp310-linux_x86_64.whl size=23529 sha256=3e834b1f0c476960a87826db7897dab525cb5f3f9712258076dcf728f573c0a6
Stored in directory: /root/.cache/pip/wheels/91/b3/b0/28f3c022098be1077b56b2084361ce3dabf549f1b56ead0f11
Building wheel for iopath (setup.py) ... done
Created wheel for iopath: filename=iopath-0.1.10-py3-none-any.whl size=31532 sha256=6aefbd04b97a70f7d8daf703a260a5a38b80ab589fd1b4acd545422d7c313723
Stored in directory: /root/.cache/pip/wheels/cf/6d/3f/6437c8347956c6d3ec82504526b91303375637e775d08abb27
Building wheel for fire (setup.py) ... done
Created wheel for fire: filename=fire-0.6.0-py2.py3-none-any.whl size=117029 sha256=957fc74b03c3656d68d7838fd2c52b4d7e8e75ad7b9a8b495cb2ad680280ccbe
Stored in directory: /root/.cache/pip/wheels/ee/66/0d/861b61b8f3e4d8b9115ad888418f58eac84651d0cbf9cd7957
Successfully built fairscale ffmpeg moviepy trimesh chumpy easyrobust fvcore ml-collections antlr4-python3-runtime oss2 utils aliyun-python-sdk-core crcmod iopath fire
Failed to build torch-scatter
ERROR: Could not build wheels for torch-scatter, which is required to install pyproject.toml-based projects 安装cv的modelscope报错怎么解决?"

展开
收起
小小爱吃香菜 2024-07-24 08:25:12 61 0
1 条回答
写回答
取消 提交回答
  • 您用nvidia官网的命令安装torch。此回答整理自钉群“魔搭ModelScope开发者联盟群 ①”

    2024-07-24 16:06:35
    赞同 2 展开评论 打赏

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352

热门讨论

热门文章

相关电子书

更多
视觉AI能力的开放现状及ModelScope实战 立即下载
ModelScope助力语音AI模型创新与应用 立即下载
低代码开发师(初级)实战教程 立即下载