Visual Studio Code – Why vs code is giving 'ModuleNotFoundError: No module named 'torch' ' when I already Installed the module
So I was trying to install the pytorch module and like any sane person I did the following: python -m venv env source env/bin/activate Then I installed pytorch as given in the official documentation. pip3 install torch torchvision torchaudio --index-url…