Download and Install python 3.+ version x64
Open cmd paste : pip install opencv-contrib-python
To run python file in Vscode download python extension by microsoft
#Open your working folder in Vscode in terminal > pylint --generate-rcfile > .pylintrc
this will generate .pylintrc file in your working folder
open that file search for unsafe-load-anyextension=yes , extension-pkg-whitelist=opencv2
pip install pypng