Skip to content Skip to sidebar Skip to footer

Installed OpenCV But No Module Found "cv2" In IDLE

I have been trying to install OpenCV for ages now and finally I succeeded using this tutorial: http://www.pyimagesearch.com/2016/12/05/macos-install-opencv-3-and-python-3-5/. Howev

Solution 1:

ok i found the answer! after you activate the virtual environment with:

work on cv

type this on the terminal to open the IDLE with the current virtual environment

python -c "from idlelib.PyShell import main; main()"

or

python -m idlelib

and it will do the trick!


Solution 2:

Dumb approach but does your IDLE run the same python environment as your terminal?


Post a Comment for "Installed OpenCV But No Module Found "cv2" In IDLE"