(base) C:\Users\SALOME>python
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type “help”, “copyright”, “credits” or “license” for more information.
import torch
goes to next line
it runs fine on using the anaconda prompt but throws an error when i import it in Spyder