开发者社区 > ModelScope模型即服务 > 计算机视觉 > 正文

pip安装modelscope报错

Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 2 ╰─> [27 lines of output]

      (result, consumed) = self._buffer_decode(data, self.errors, final)
  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbc in position 35: invalid start byte

  ERROR: Unhandled python exception

      This is a Meson bug and should be reported!
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

这个是Python 3.9.0环境报错

comtypes 1.1.14 numpy 1.24.2 opencv-python 4.7.0.72 pip 23.0.1 pywin32 305 pywinauto 0.6.8 setuptools 67.6.1 six 1.16.0 wheel 0.40.0

这是已经有的库

展开
收起
aliyun7519561043-25644 2023-03-30 20:29:50 1158 0
1 条回答
写回答
取消 提交回答
  • 您好,可以参考这里文档,看下是否可解决您的问题 https://modelscope.cn/docs/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85

    2023-04-03 11:40:07
    赞同 展开评论 打赏

包含图像分类、图像生成、人体人脸识别、动作识别、目标分割、视频生成、卡通画、视觉评价、三维视觉等多个领域

相关电子书

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