For windows,goto:https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv to download the .whl file you want,and then setup it:
pip3 install xxx.whl
For Linux:
pip3 install opencv-python
For windows,goto:https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv to download the .whl file you want,and then setup it:
pip3 install xxx.whl
For Linux:
pip3 install opencv-python