I have installed Microsoft Build Tools from https://visualstudio.microsoft.com/visual-cpp-build-tools/ 127
I have checked all boxes regarding C++ section.
Before this I could only import torch from jupyter notebook but not from ipython or python shell. I don’t why that’s so but it works now.