Oct-12-2020, 04:45 PM
(This post was last modified: Oct-12-2020, 04:55 PM by ErnestTBass.)
I am getting the error message in my python program.
The original code can be seen in the error message.
My operating system is Windows 10 Professional.
Yet, I am still getting this error.
How do I fix this?
Any help appreciated. Thanks in advance.
Respectfully,
ErnestTBass
ModuleNotFoundError Traceback (most recent call last) <ipython-input-5-2940563e030c> in <module> ----> 1 import torch 2 # Check GPU Device 3 if IN_COLAB: 4 print(torch.cuda.get_device_name(0)) ModuleNotFoundError: No module named 'torch'I have installed pytorch 1.6.0 and torchvision 0.7.0 and I have python 3.7.6.
The original code can be seen in the error message.
My operating system is Windows 10 Professional.
Yet, I am still getting this error.
How do I fix this?
Any help appreciated. Thanks in advance.
Respectfully,
ErnestTBass