Hi,
If you successfully installed opencv in your system and still you are getting the same error, than try to add python environment variable in .bashrc file.
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
Check your python version and set accordingly.
To check python version, use the below given command.
$ python -V
Hope this will solve your error.