conda create --name pytorch


activate pytorch


conda install pytorch cuda92 -c pytorch

After Pytorch and all the necessary packages were downloaded and the transaction was succesfully executed,
i did the following:

ipython


import torch

<ipython-input-1-eb42ca6e4af3> in <module>()
----> 1 import torch
ModuleNotFoundError: No module named 'torch'