No module named 'Pytorch'

Hello. Recently installed Anaconda(Win 64). Also, installed pytorch using the Anaconda prompt. When I run “conda list” from the prompt pytorch is installed.
However, when I attempt to import pytorch from within a jupyter notebook the following error message is received.
Any ideas how to resolve this issue? Thank you!


ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 import pytorch

ModuleNotFoundError: No module named ‘pytorch’

Should be:

import torch

@Diego Thank you! That worked.

1 Like