cv2.imread getting none, cannot import cv2 on spyder(anaconda), but can import on terminal

asked 2018-02-03 06:42:45 -0600

import cv2

print cv2.imread('/Users/gauravjain/Desktop/Computer\ Vision/Edge\ Detection/download.jpg ')

None

Also i cannot import cv2 in spyder, anaconda.

using python 2.7.13

opencv - 3.4.0

mac os high sierra 10.13.3 - 64bit

edit retag flag offensive close merge delete