your installed openblas needs, but cannot find gfortran.
Is there a reason you installed openblas, instead of recommend MKL?
Did you follow instructions from: https://github.com/pytorch/pytorch#from-source 194