Ask Your Question

Revision history [back]

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

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