sharo$kirima:~$ sudo apt update
sharo$kirima:~$ sudo apt upgrade -y
sharo$kirima:~$ sudo apt install -y build-essential
Ref. https://docs.opencv.org/3.4/d2/de6/tutorial_py_setup_in_ubuntu.html
sharo$kirima:~$ sudo apt install -y python3-opencv
It changed to python3-opencv from python-opencv.
sharo@kirima:~$ python3
Python 3.8.2 (default, Apr 27 2020, 15:53:34)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2 as cv
>>> print(cv.__version__)
4.2.0
>>> exit()
tanx