First of all, we have install python in our system then install OpenCV using this command
Install the OpenCV package using:
pip install opencv-python
if doesn't work try this one
pip install opencv-contrib-python
still doesn't work try this one
python -m pip install opencv-python
Now here we have downloaded OpenCV for python you can download it for other languages also.
Read Full Blog from Here