Skip to content Skip to sidebar Skip to footer

Python ImportError: No Module Named Cv

Im just new to Python and trying to run a scripts online code here However one error occurred: File 'C:\Python27\track.py', line 1,in import cv ImportError: No modul

Solution 1:

Install OpenCV

https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_tutorials.html

It needs this package to function


Solution 2:

Look at here http://opencv.willowgarage.com/wiki/InstallGuide%20%3A%20Debian, 'Making Python work';

third option worked for me but there is a bug there, the correct line to add bashrc is

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages

this can vary according to your python installation though.


Post a Comment for "Python ImportError: No Module Named Cv"