This is happening because you're using Python 3.13, which is not currently supported by PyTorch
Python 3.13
PyTorch
You should downgrade to Python 3.10 or Python 3.9, which are stable with PyTorch and all its associated packages.
Python 3.10
Python 3.9