windows下pip安装onnx编译出错,cmake编译 文件名或扩展名太长,求解?-灵析社区

CO_co

windows下pip安装onnx编译出错,cmake编译 文件名或扩展名太长 求解决方法 ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241008/a5e336ea586350475fc4c148fa174b66.png)

阅读量:213

点赞量:0

问AI
python 版本是多少...可以尝试升级或降级python尝试解决这个问题 或者尝试安装 onnx 的前置依赖包后再安装: "requirements-min.txt" (https://link.segmentfault.com/?enc=BdN3uear7UL4khbM%2BbYgpQ%3D%3D.7qAKJh3P4fJ%2B1kfpCEOGzvcNdvZUSzgwhBGkV7r31UbgAAEs7Yr9KgGIzvwAvExdwGGnIF%2B5PcrIK12etFcu5z0gevCcR57wrOZiSKlP6Is%3D) # Minimum package versions that ONNX supports protobuf==3.20.2; python_version="3.12" numpy==1.20.3; python_version="3.12" "requirements-release.txt" (https://link.segmentfault.com/?enc=Frg5%2BQqcuZ3JtYzNOfR4EQ%3D%3D.L8%2FeDqlpRSzqX1iORCyxx3mcMGuYDojUD%2FNoujK20uehLGKZxuehomy5CFQ6kL2PKz%2FRj8gB2igNLHdYztVz%2BuXSYeV9hQRY%2FSd6oe0f2hw%3D) build ipython nbval numpy==1.24.3; python_version="3.12" parameterized protobuf==4.21.12; python_version="3.12" pytest pytest-cov pytest-xdist setuptools twine wheel # Dependencies for the reference implementation. # -r requirements-reference.txt google-re2 Pillow