问题 When I am running this piece of code on ipython (MacOS /python 2.7.13) cv2.startWindowThread() cv2.imshow('img', img) cv2.waitKey() cv2.destroyAllWindows() the kernel crashes. When the image appears, the only button that I can press is minimise (the one in the middle and when I press any key then the spinning wheel shows up and the only thing I can do is force quit. P.S. I have downloaded the latest python version through home-brew . 回答1: Do you just want to look at the image? I'm not sure