当前位置:   article > 正文

ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based

error: could not build wheels for onnx, which is required to install pyproje

我想运行YOLOv8,python安装的是3.12,在安装过程中遇到报错

ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based

搜了一圈,在这个GitHub上有人做了解答

https://github.com/onnx/onnx/issues/4376

就是用python3.9就不行,用python3.8就行了。

据说是onnx目前最高版本只支持python3.8。

我后来重新建立了一个环境,安装的是python3.8,就可以了。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/493169
推荐阅读
相关标签
  

闽ICP备14008679号