title: display image in opencv with python
body: <p>i am learning openCv with python.i want to display image but the code is not working.. it is not displaying anything rather than errors i searched but problem still same.. i followed solution mentioned here</p>
  
  <p><a href="https://stackoverflow.com/questions/31903416/opencv-python-not-displaying-image">OpenCV-Python not displaying image</a></p>
  
  <pre><code>  import cv2
  img = cv2.imread("D:\\iki\\images.png", 0)
  if img is None:
    print ("The file does not exist")
  else:
    cv2.imshow("image", img)
  </code></pre>
  
  <p>but it didnt solve my problem..kindly point out where i am doing mistake would be grateful</p>
  
  <p>error: <code>Traceback (most recent call last):
    File "C:/Users/ATech/AppData/Local/Programs/Python/Python37-32/cc task/FYP_OpenCv/read_show_img.py", line 7, in &lt;module&gt;
      cv2.imshow("image", img)
  cv2.error: OpenCV(4.0.0) C:\projects\opencv-python\opencv\modules\highgui\src\window.cpp:625: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage'</code></p>