I'm trying to debug some python code using VS Code. I'm getting the following error about a module that I am sure is already installed.
Exception has occurred: ModuleNotFoundErrorNo module named 'SimpleITK' File "C:\Users\Mido\Desktop\ProstateX-project\src\01-preprocessing\03_resample_nifti.py", line 8, in <module> import SimpleITK as sitk
I installed the module using
sudo pip install SimpleITK
I know that it was installed because I was getting a similar error when I ran the code through the command line, and it was fixed by doing the above. I don't understand why VS code does not recognize that it's already installed.