title: How can I solve "process finished with exit code 139 (interrupted by signal 11: SIGSEGV)" in opencv - cv2 ( Pycharm & macOS)?
body: <p>I am learning OpenCV but I meet some difficulties, cv2 import is fine but it got error with <code>cv2.imshow</code></p>
  <pre><code>from cv2 import cv2
  
  img = cv2.imread('image.jpg', 0)
  
  cv2.imshow('1', img)
  
  cv2.waitKey(100)
  
  cv2.destroyAllWindows()
  </code></pre>
  <p>And it will get the result:</p>
  <pre><code>Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
  </code></pre>
  <p>My trace tree is too long so I put it in the link below:
  <a href="https://justpaste.it/1tf4q" rel="nofollow noreferrer">https://justpaste.it/1tf4q</a></p>