Issue with installation pytorch 1.5.0/1.6.0

i want to install pytorch 1.5.0 or 1.6.0 for making engine with pytorch_yolo.

Please help me with installation

You can check these install instructions to get information about how to install older PyTorch releases.

I have tried but i am getting error

Please help me

The command is working for me:

pip install torch==1.5.0 torchvision==0.6.0
Collecting torch==1.5.0
  Downloading torch-1.5.0-cp36-cp36m-manylinux1_x86_64.whl (752.0 MB)
     |████████████████████████████████| 752.0 MB 13 kB/s 
Collecting torchvision==0.6.0
  Downloading torchvision-0.6.0-cp36-cp36m-manylinux1_x86_64.whl (6.6 MB)
     |████████████████████████████████| 6.6 MB 7.1 MB/s 
Collecting numpy
  Downloading numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl (14.8 MB)
     |████████████████████████████████| 14.8 MB 21.2 MB/s 
Collecting future
  Using cached future-0.18.2.tar.gz (829 kB)
Collecting pillow>=4.1.1
  Downloading Pillow-8.4.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
     |████████████████████████████████| 3.1 MB 12.9 MB/s 
Building wheels for collected packages: future
  Building wheel for future ( ... done

so maybe your pip is too old? If so, try to download the wheel manually and install it locally.

Btw. I would generally recommend to use the latest stable or nightly release to get the latest features and bug fixes.