Open AvinashBaggam opened 5 years ago
i had the same issue too! how can i solve this?
For those having issues related to the above error 'from Computer_Vision.Gaussian_Smoothing.convolution import convolution ModuleNotFoundError: No module named 'Computer_Vision'', I have some suggestions that worked for me. My issue was that the 'from ...' commands at the top of every Python file did not import the required files.
To fix this, In each file of every folder, make the following modifications: import sys comment out the 'from ...' commands sys.path.insert('path to the name of the python file imported with the 'from ...' command'), e.g. "from .Computer_Vision.Sobel_Edge_Detection.convolution import convolution" becomes sys.path.insert(r'The path on your system where you saved the computer_vision folder'\Computer_Vision\Sobel_Edge_Detection\convolution') and add 'import convolution' To call the functions like gaussian_blur and convolution, do gaussian_smoothing.gaussian_blur and convolution.convolution
issue