Solved by Anshumaan_Dash in post #2 
              
              
                Try to get the pytorch installation instruction from https://pytorch.org/ 
The pytorch libraries you have might not be compatible with your system.