ModelScope Libarary 领域依赖在 Python 3.10 下均无法安装

Building wheels for collected packages: numpy
        Building wheel for numpy (pyproject.toml): started
        Building wheel for numpy (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error
      
        × Building wheel for numpy (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [925 lines of output]
            setup.py:67: RuntimeWarning: NumPy 1.19.5 may not yet support Python 3.10.


Failed to build numpy
      ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

疑似 numpy 要求的版本过低(numpy<v1.20.0)导致不支持 Python 3.10

展开
收起
tuxiaobei 2023-03-26 10:56:02 764 发布于四川 分享
分享
版权
举报
1 条回答
写回答
取消 提交回答
  • image.png 如果python要用3.10,需要提升numpy版本到1.22以上,1.19.5太低了,numpy1.19.5的版本只支持python3.8以下。

    2023-04-03 18:31:22 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论

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

热门讨论

热门文章

还有其他疑问?
咨询AI助理