Attribute error

1 import cv2 2 img = cv2.imread(‘images/charmender.jpg’) ----> 3 print(img.shape) AttributeError: ‘NoneType’ object has no attribute ‘shape’ how can I resolve this issue