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 <module>
import cv
ImportError: No module named cv
Can someone enlighten me?
Install OpenCV
https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_tutorials.html
It needs this package to function
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.