Unable to import 'cv2'pylint(import-error) code example
Example 1: unable to import flask pylint
Go to Command Palette using Ctrl + Shift + P. select python:select interpreter and then choose your appropriate virtualenv.
Example 2: pylint no name in module opencv
"python.linting.pylintArgs":["--extension-pkg-whitelist=cv2"]