If you are on Windows you have just to type py -m pip install opencv-python
.
If you are on a Linux distribution you should firstly install python-pip
or python3-pip
(via your package manager) and then type:
pip (or pip3) install opencv-python
(if you want to install it locally).
sudo pip (or pip3) install opencv-python
(if you want to install it globally).
You can find more information here.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…