Your python shell is python 3.6 (from the place where it loads torch in the error message). While you install the package for python 3.5.
So I guess your python 3.6 has an older pytorch binary installed and you reinstall the one for 3.5 (from the wheel name)?