Getting Kernel death please help in resolving the error

When i was trying to code in jupyter notebook , the code below

image, label = dataset[0]
plt.imshow(image, cmap=‘gray’)
print(‘Label:’, label)

I am getting the error message as “The Kernel appears to have died. It will restart automatically.” Kindly help me in rectifying the error.