Segmentation fault(core dumped) error while importing torch

You did follow this link to install Pytorch: