File “C:/Users/CT/Desktop/TIAN/VasNet-pytorch-code/src/train-new_dataloader.py”, line 2, in
import torch
ModuleNotFoundError: No module named ‘torch’
!
File “C:/Users/CT/Desktop/TIAN/VasNet-pytorch-code/src/train-new_dataloader.py”, line 2, in
import torch
ModuleNotFoundError: No module named ‘torch’
!
Most likely you are starting spyder
in another environment than the one which is used in your terminal.
Make sure the env is correctly activated before starting the IDE.