I installed OpenCV3.2 + python3.6.1 from [this installation guide](http://www.pyimagesearch.com/2016/12/05/macos-install-opencv-3-and-python-3-5/). (For the paths needed in guide I typed:

---

**Edit**: I'm not sure, but I guess that I should install opencv under 3.6, not 3.6.1, please don't use my paths for your installation!

---

```
/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin/libpython3.6.dylib

```

and

```
ls -d /usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/)

```

My testing code is completely the same as [the tutorial of OpenCV 3.2 documentation](http://docs.opencv.org/3.2.0/dc/d2e/tutorial_py_image_display.html), but the output screen show nothing but a title:

```
import numpy as np
import cv2

img = cv2.imread('1.jpg',0)
cv2.imshow('image', img)
cv2.waitKey(0)

```

The result:

[![OpenCV empty image window](https://i.stack.imgur.com/DxsAq.png)](https://i.stack.imgur.com/DxsAq.png)
As the picture shown the content of the image is missing.

and it seems that it has something to do with my python, the icon is broken:

[![broken python icon](https://i.stack.imgur.com/ic4mm.png)](https://i.stack.imgur.com/ic4mm.png)

Please help me! I just want to use opencv for my school project...

---