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

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 686 0
1 条回答
写回答
取消 提交回答
  • image.png 如果python要用3.10,需要提升numpy版本到1.22以上,1.19.5太低了,numpy1.19.5的版本只支持python3.8以下。

    2023-04-03 18:31:22
    赞同 展开评论 打赏

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

相关电子书

更多
From Python Scikit-Learn to Sc 立即下载
Data Pre-Processing in Python: 立即下载
双剑合璧-Python和大数据计算平台的结合 立即下载