[Solved] Could not find a version that satisfies the requirement onnx (from onnx-graphsurgeon0.2.6)

Could not find a version that satisfies the requirement onnx (from onnx-graphsurgeon0.2.6) (from versions: )
No matching distribution found for onnx (from onnx-graphsurgeon
0.2.6)
nvidia The official documentation gives the command sudo pip3 install onnx_graphsurgeon-0.2.6-py2.py3-none-any.whl
After many attempts it showed the above error. Finally I found out it was a permission problem. Changed the command to pip install onnx_graphsurgeon-0.2.6-py2.py3-none-any.whl and it installed

Read More: