You are getting those errors because opencv
and cv2
are not the python package names.
These are both included as part of the opencv-python
package available to install from pip.
If you are using python 2 you can install with pip:
pip install opencv-python
Or use the equivilent for python 3:
pip3 install opencv-python
After running the appropriate pip command your package should be available to use from python.