Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

python uses # for comments , not // (this will throw a lot of other errors later)

so, your import statements have to look like:

import numpy as np
import cv2

python uses # for comments , not // (this will throw a lot of other errors later)

so, your import statements have to look like:

import numpy as np
import cv2

also: " and numpy is downloaded in directory C:"

this is the wrong place. numpy has to go into python/Lib/site-packages (same as the cv2.pyd)