In Aws Juypter notebook not working cv2.imshow command

Not able to use one of the OpenCV command cv2.imshow to view the video in the Aws juypter notebook as that command open a new window in which the output video is shown. It shows error kernel dead please restart the kernal. Please help it is one of the important task done in computer vision and i am using aws jypter notebook for that please suggest some solution.