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

ModelScope中,出现报错是出了什么问题?

"pip install ""modelscope[cv]"" -f https://
modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html报错 error: Command ""g++ -pthread -B /root/miniconda3/envs/python310.0/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /root/miniconda3/envs/python310.0/include -fPIC -O2 -isystem /root/miniconda3/envs/python310.0/include -fPIC -I/root/miniconda3/envs/python310.0/lib/python3.10/site-packages/numpy/_core/include -Ilap -I/root/miniconda3/envs/python310.0/lib/python3.10/site-packages/numpy/_core/include -Ibuild/src.linux-x86_64-3.10/numpy/distutils/include -I/root/miniconda3/envs/python310.0/include/python3.10 -c lap/_lapjv.cpp -o build/temp.linux-x86_64-cpython-310/lap/_lapjv.o -MMD -MF build/temp.linux-x86_64-cpython-310/lap/_lapjv.o.d -msse -msse2 -msse3"" failed with exit status 1 INFO: ########### EXT COMPILER OPTIMIZATION ########### INFO: Platform : Architecture: x64 Compiler : gcc CPU baseline : Requested : 'min' Enabled : SSE SSE2 SSE3 Flags : -msse -msse2 -msse3 Extra checks: none CPU dispatch : Requested : 'max -xop -fma4' Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 Generated : none INFO: CCompilerOpt.cache_flush[864] : write cache to path -> /tmp/pip-install-43b6ch8b/lap_7c540ce6225545578dcc367c7bc3fe15/build/temp.linux-x86_64-cpython-310/ccompiler_opt_cache_ext.py [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for lap Running setup.py clean for lapFailed to build lap be2ce4b723e33a9766fff706f14f7a5d.png
ModelScope中,出现报错是出了什么问题?"

展开
收起
小小爱吃香菜 2024-06-26 08:30:39 41 0
1 条回答
写回答
取消 提交回答
  • 您安装一下numpy。此回答整理自钉群“魔搭ModelScope开发者联盟群 ①”

    2024-06-28 19:58:46
    赞同 1 展开评论 打赏

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

相关电子书

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