Could install pytorch,My pip is python 3.10
The pip wheels are built for Python 3.6 - 3.9 so you would need to downgrade to any of these versions.
Many thanks for ur reply.It can be installed now