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