Solved by albanD in post #2 
              
              
                Hi, 
Did you installed pytorch the same way your did for python 2.7? Make sure there is no old version of pytorch present before installing a new one.