I\'m using opencv 2.4.2, python 2.7
The following simple code created a window of the correct name, but its content is just blank and doesn\'t show the image:
I also had a -215 error. I thought imshow was the issue, but when I changed imread to read in a non-existent file I got no error there. So I put the image file in the working folder and added cv2.waitKey(0) and it worked.